Expand description
Tight-binding models on a Lattice and the matrices they produce on a Region.
A Model holds an on-site matrix per sublattice and a list of Hoppings
⟨(R, from)| H |(R + offset, to)⟩. Extra on-site terms that depend on the site (disorder,
potentials) are added through OnSite, and a magnetic field through Peierls phases
(see gauge). The model builds dense Hamiltonians of finite regions, Bloch Hamiltonians of
partially periodic systems and the blocks used by transport.
Re-exports§
pub use sparse::SparseMatrix;
Modules§
- continuum
- Continuum (k·p) Hamiltonians and their discretisation on a lattice, as Kwant’s
continuum.discretize. - gamma
- 4×4 matrices of the BHZ basis
(E1↑, H1↑, E1↓, H1↓), named as in the thesis codes (numbers.f90, 2014 and later). Withsthe spin andτthe E/H orbital Pauli matrices: - gauge
- Uniform magnetic fields
B ẑasPeierlsphases, forModel::with_peierls. - pauli
- Pauli matrices and Kronecker products, for spin and orbital degrees of freedom.
- presets
- Ready-made models.
- sparse
- Compressed sparse row (CSR) matrices for Hamiltonians of large regions: the operator of the kernel polynomial method and of Chebyshev time evolution on any geometry, and the format the GPU backends upload.
Structs§
- Bond
- A hopping block
⟨from| H |to'⟩of a region repeated periodically (Model::bonds):to'is the image of sitetoof the region that liesimagesperiods away (one count per period), atdisplacement = r_to' − r_from. Hopping terms and Peierls phases are included. - Hopping
- A hopping term:
⟨(R, from)| H |(R + offset, to)⟩ = matrix. Its Hermitian conjugate (the reverse hop) is added automatically. - Model
- Tight-binding model on a lattice.
Traits§
- Hopping
Term - Site-dependent hopping term (Kwant’s value functions for hoppings): the matrix
⟨(R, from)| H |(R + offset, to)⟩of a hopping between two given sites, from the model’s matrixt;Nonekeepst. The reverse hop is its conjugate, so the Hamiltonian stays Hermitian. Bond disorder, strain, spatially varying parameters. - Into
Matrix - A matrix argument of
Model: aCMat, or a number for a single orbital. - OnSite
- Site-dependent on-site term, added to the sublattice on-site matrix.
- Peierls
- Peierls phase of the hopping
⟨i| H |j⟩:φ(r_i, r_j) = ∫ A · dlfromr_jtor_i, in radians (charge and ħ absorbed inA). It must be antisymmetric:φ(a, b) = −φ(b, a).
Functions§
- combine
Σ_i c_i M_ifor small matrices of the same shape, with real or complex coefficients:combine(&[(4.0 * t, &s0()), (e_z, &sz())]).