Choose the Landau gauge
It preserves translation invariance in the -direction, so is conserved. With , magnetic minimal coupling gives
where
This is a quantum harmonic oscillator, so the Landau levels are
independent of .
The periodic boundary condition in quantizes . Requiring the guiding centre to lie in a strip of width gives a -interval of width . The number of allowed integers is therefore approximately
the degeneracy of a Landau level, up to boundary corrections.
With the magnetic minimal coupling convention for charge ,
Here , , and
Therefore in Cartesian coordinates
In cylindrical coordinates this is
This choice of is the symmetric gauge.