kwant.continuum.to_landau_basis#
- kwant.continuum.to_landau_basis(hamiltonian, momenta=None)[source]#
Replace two momenta by Landau level ladder operators.
Replaces:
k_0 -> sqrt(B/2) * (a + a^dagger) k_1 -> 1j * sqrt(B/2) * (a - a^dagger)
- Parameters:
hamiltonian (str or sympy expression) – The Hamiltonian to which to apply the Landau level transformation.
momenta (sequence of str (optional)) – The momenta to replace with Landau level ladder operators. If not provided, ‘k_x’ and ‘k_y’ are used
- Returns:
hamiltonian (sympy expression)
momenta (sequence of sympy atoms) – The momentum operators that have been replaced by ladder operators.
normal_coordinate (sympy atom) – The remaining position coordinate. May or may not be present in ‘hamiltonian’.