Constructing Tight-Binding Matrices Numerically
A tight-binding implementation starts from orbitals, directed hopping amplitudes, and boundary conditions. Its real-space and Bloch forms must represent the same operator. Here we construct and test both forms; tight-binding models explains their physical assumptions and material interpretation.
Hopping dictionary and Hermiticity
Section titled “Hopping dictionary and Hermiticity”Let annihilate orbital in cell . Define
Hermiticity requires . Store either the complete directed set or an independent half-set with explicit conjugate completion; do not apply both conventions simultaneously.
In a finite open system, omit bonds whose destination is outside the sample. With periodic boundaries, wrap cells and apply any boundary twist exactly once. Keep lattice geometry separate from orbital indexing.
Using gives the cell-periodic convention
If orbital positions are included in the Fourier phase, extra factors involving their intracell coordinates appear. Spectra agree after the appropriate unitary transformation, but eigenvectors, derivatives, and boundary sewing must follow the selected convention.
Dimerized-chain example
Section titled “Dimerized-chain example”For two orbitals per cell, intracell hopping and intercell hopping , choose
For real hoppings the bands are
At , each cell is an isolated dimer with energies . At , the two bands touch at . These checks expose bond-counting errors, but the cosine dispersion alone cannot distinguish from .
For periodic cells, diagonalize the real-space matrix and compare its spectrum with the union of the two-band eigenvalues at . This is a stringent real-space/Bloch consistency check. It is stronger than checking Hermiticity alone.
To test the Fourier convention itself, retain the momentum labels and compare matrix blocks, not only the combined spectrum. The displayed model corresponds to and , together with their Hermitian partners. Form the Fourier embedding
Then must have block at the declared , with all off-block entries zero. Choose complex, unequal for this test. An overall Fourier-sign mistake can permute the blocks and leave the entire unordered spectrum unchanged, while changing the momentum associated with an eigenvector or current.
Phases, flux, and gauge tests
Section titled “Phases, flux, and gauge tests”A site-dependent basis change gives when the same Hamiltonian is written in the primed operators. It redistributes hopping phases while leaving oriented loop products and spectra invariant. Test this invariance with random phases. A phase on an isolated bond is removable; a nonzero sum around a loop can be physical.
For magnetic fields, a Peierls phase depends on the directed path and charge convention. Verify the accumulated phase around an elementary loop against the intended flux. Reversing a bond must complex-conjugate its amplitude.
Do not infer a topological index from a finite open-chain spectrum alone. Edge levels depend on termination and finite-size hybridization. Bulk geometry requires eigenvector-consistent algorithms such as Wilson loops.
Numerical error controls
Section titled “Numerical error controls”For a finite-orbital lattice model there is no grid-spacing limit unless it approximates a continuum system. Increase sample size for finite-size effects and refine the momentum mesh for Brillouin-zone integrals. These are different convergence parameters.
Track the basis convention in saved hopping files. Comparing two eigenvector arrays without orbital order, phase convention, or positions is not meaningful, even if the eigenvalues match.
Exercise
Section titled “Exercise”For a one-orbital chain with real nearest-neighbor hopping and onsite energy , derive the periodic dispersion.
Solution
The hopping dictionary has and , so . A finite ring of cells samples . Counting both directed bonds and then adding their adjoints again incorrectly doubles the cosine term.
References
Section titled “References”- Groth, C. W., Wimmer, M., Akhmerov, A. R., and Waintal, X., “Kwant: a software package for quantum transport,” New Journal of Physics 16, 063065 (2014), doi:10.1088/1367-2630/16/6/063065.
- Kwant developers, “First steps: setting up a simple system and computing conductance”, Kwant documentation — sites, directed hoppings, and finite systems.