functions.models.BasicTriangularHamiltonian
- BasicTriangularHamiltonian(t, p, q, k, period)[source]
The basic triangular lattice Hofstadter Hamiltonian.
The Hofstadter Hamiltonian for the triangular lattice with nearest-neighbor hopping.
Note
We have hardcoded this Hamiltonian because it is commonly used and this function is faster than calling the generic Hamiltonian method.
- Parameters:
- Returns:
Hamiltonian – The Hofstadter Hamiltonian matrix of dimension \(q \times q\).
- Return type:
ndarray