topo_2bands is a program for calculating typical topological invariants based on minimum two-band tight-binding models. It computes Berry phase, winding number, Chern number, and Z2 invariant, as well as edge states and Fermi arc states…
topo_2bands is a program for calculating typical topological invariants based on minimum two-band tight-binding models. It computes Berry phase, winding number, Chern number, and Z2 invariant, as well as edge states and Fermi arc states in 2D and 3D gapless systems.
Reference papers are not yet linked for this code.
topo_2bands is a program for calculating typical topological invariants based on minimum two-band tight-binding models. It computes Berry phase, winding number, Chern number, and Z2 invariant, as well as edge states and Fermi arc states in 2D and 3D gapless systems.
Scientific domain: Topological band theory, tight-binding models, topological invariants Target user community: Researchers and students learning topological band theory with model Hamiltonians
Sources: GitHub repository
Input formats:
Output data types:
git clone https://github.com/jameclear/topo_2bands.git
cd topo_2bands
# Follow installation instructions
# Example: Calculate Chern number for two-band model
from topo_2bands import chern_number, edge_states
# Define model parameters
params = {
'm': 1.0, # Mass term
't': 1.0, # Hopping
'lambda_so': 0.5 # SOC
}
# Calculate Chern number
C = chern_number(params, nk=100)
print(f"Chern number: {C}")
# Calculate edge states
E_edge, k_edge = edge_states(params, Ly=50)
Primary sources:
Confidence: VERIFIED
Verification status: ✅ VERIFIED