Hofstadter's butterfly of a tight-binding flake, from the tbkit gallery

tbkit

One tight-binding model, from band structure to device transport.

pip install tbkit

The problem

Tight-binding models are the workhorse of condensed-matter physics, but the tools are split. One package computes bands and Berry phases on a Bloch mesh, another computes transport through a finite device, and the same lattice has to be defined twice, in two APIs.

What tbkit does

In tbkit one model definition serves every calculation:

The documentation follows the history of the field, with chapters on models, fields, topology, response, interactions and driven systems, and each breakthrough has a runnable gallery example.

Results

My role

I wrote tbkit. It grew out of tbee, a tight-binding package I started in 2015 during my postdoc at Lancaster University.

Get started

pip install tbkit
# or
conda install -c conda-forge tbkit

Cite a release through its Zenodo record.