Skip to content
Snippets Groups Projects
Commit a4897538 authored by Joseph Weston's avatar Joseph Weston
Browse files

add note about magnetic field units to "discretize_landau"

Closes #305.
parent 8d71370f
No related merge requests found
Pipeline #21676 passed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment