In this section, we will start with the discussion of the more well-known magnetic translation operator and generalize it to other spatial symmetries such as rotations.
To be more specific, consider the Hamiltonian of a quantum particle (with charge
and mass
) in a magnetic field explicitly depends on the magnetic vector potential
, where
:
.
For a uniform magnetic field
, the ordinary translation operator
does not commute with the Hamiltonian even when
because
![{\displaystyle T({\bf {a}})^{-1}[{\bf {p}}-q{\bf {A}}({\bf {r}})]T({\bf {a}})={\bf {p}}-q{\bf {A}}({\bf {r+a}})={\bf {p}}-q{\bf {A}}({\bf {r}})-q[{\bf {A}}({\bf {r+a}})-{\bf {A}}({\bf {r}})]={\bf {p}}-q{\bf {A}}({\bf {r}})-q\nabla \chi _{\bf {a}}({\bf {r}}).}](https://wikimedia.org/api/rest_v1/media/math/render/svg/059229eefc890472ebda91619c824a1409075227)
In the third equality, one writes
using the fact that
![{\displaystyle \nabla \times \left[{\bf {A}}({\bf {r+a}})-{\bf {A}}({\bf {r}})\right]={\bf {B}}({\bf {r+a}})-{\bf {B}}({\bf {r}})=0.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/1bb4e704d372b4f93c8a0248f7b9b6692fbdffed)
For a uniform magnetic field, this has a solution (which can be identified through vector calculus identities):

Here, the line integral should be taken along a straight line. The failure of
to commute with the Hamiltonian is due to the
term. One could remedy this by multiplying
by an appropriate phase factor:

then commutes with the Hamiltonian for any
. In particular, the translation along
and
satisfy
.
But they fail to commute with each other in general; instead, they satisfy

Thus the failure of the commutativity of two translations is captured by the flux
through the rectangle enclosed by the two translations. In particular, the two magnetic translations commute whenever this flux is an integer multiple of the flux quantum 
i.e.,
.
The magnetic translation operators
and
now form a set of commuting symmetry operators.