arXiv · 2311.18726
HofstadterTools: A Python package for analyzing the Hofstadter model
Abstract
The Hofstadter model successfully describes the behavior of non-interacting quantum particles hopping on a lattice coupled to a gauge field, and hence is ubiquitous in many fields of research, including condensed matter, optical, and atomic physics. Motivated by this, we introduce HofstadterTools (https://hofstadter.tools), a Python package that can be used to analyze the energy spectrum of a generalized Hofstadter model, with any combination of hoppings on any regular Euclidean lattice. The package can be applied to compute key properties of the band structure, such as quantum geometry and topology, as well as plot Hofstadter butterflies and Wannier diagrams that are colored according to their Chern numbers.
Explore related subjects
Keep this discovery
Bartholomew Andrews. 2023-11-30. HofstadterTools: A Python package for analyzing the Hofstadter model. https://doi.org/10.21105/joss.06356
Cite the original work for its findings. Save a collection to share your selection of sources.