Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

HofstadterTools

hofstadter.tools

  • Free plan
  • Linux
7.1 Club score Visit hofstadter.tools

What the maker publishes

Assessment tools
No source
Authoring tools
No source
Band structure
The band_structure program evaluates the Hofstadter band structure at fixed flux density over a range of momenta. source
Band structure command
The band_structure program evaluates the band structure at a fixed rational flux density across a range of momenta. source
Butterfly coloring limitation
Butterfly coloring uses the Streda-Widom Diophantine relation and may sacrifice precision for efficiency, especially for non-rectangular lattices. source
Butterfly command
The butterfly program evaluates the energy spectrum at zero momentum across a range of rational flux densities. source
Butterfly spectrum
The butterfly program evaluates the energy spectrum at fixed momentum over a range of flux densities. source
Custom Hamiltonian performance
Constructing generalized Hofstadter Hamiltonians can be computationally expensive; common nearest-neighbor Hamiltonians are hardcoded for square, triangular, honeycomb, and kagome lattices. source
Custom lattice limit
Implementing custom lattices with more than one site per unit cell requires an advanced source installation. source
Custom lattice limitation
Implementing custom lattices with more than one site per unit cell requires installation from source. source
Delivery mode
desktop source
Free plan
Yes source
Install methods
The package can be installed with pip or conda, or installed from source for advanced use. source
Integrations
The documentation lists pip and conda-forge as package installation channels. source
Lattice types
The documentation describes square, triangular, Bravais, honeycomb, and kagome lattice options. source
Lesson library
No source
License
The GitHub repository identifies the project license as GPL-3.0. source
Physics calculations
It computes generalized Hofstadter band structures on regular Euclidean lattices and properties including quantum geometry and topology. source
Purpose
HofstadterTools is a set of Python programs and classes for analyzing the Hofstadter model and computing band structure, quantum geometry, and topology. source
Python requirement
The package is designed to work with Python 3.9 or later. source
Saved data plotting
The plot_band_structure and plot_butterfly programs can replot band structures and butterfly spectra saved to file. source
Security
The opened project pages provide no security or compliance claims. source
Security and compliance
The opened documentation pages do not state security or compliance commitments. source
Support
For support, the maintainers direct users to start a GitHub discussion; issues can be reported through GitHub, and other inquiries can be sent to Bart Andrews. source

Checked against the maker's pages on 9 Oct 2026.