Commit a4897538 authored by Joseph Weston's avatar Joseph Weston

add note about magnetic field units to "discretize_landau"

Closes #305.
parent 8d71370f
Pipeline #22582 failed with stages
in 3 minutes and 8 seconds
......@@ -95,6 +95,13 @@ def discretize_landau(hamiltonian, N, momenta=None, grid_spacing=1):
'hamiltonian' discretized in a basis of Landau levels in the plane
defined by 'momenta'. If a third coordinate is present in 'hamiltonian',
then this also has a translational symmetry in that coordinate direction.
The builder has a parameter 'B' in addition to any other parameters
present in the provided 'hamiltonian'.
Notes
-----
The units of magnetic field are :math:`ϕ₀ / 2 π a²` with :math:`ϕ₀ = h/e`
the magnetic flux quantum and :math:`a` the unit length.
"""
if N <= 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment