QuantumMaterials-Lab: tight-binding bands, Dirac cones, SSH edge states, Hubbard dimer. Toy models!!
100
Quantum Materials Tight-Binding Lab — by Darion Kellar
Educational quantum-materials lab in ONE pure-Python file: tight-binding band structures computed exactly on toy lattices — a 1D chain (bandwidth 4t, DOS van Hove edge bins 1.0222 vs centre 0.1588), a 2D square lattice (bandwidth 8t, DOS saddle peak 0.3118 at E = 0), a graphene-style honeycomb whose structure factor vanishes at K (|f(K)| = 4.44e-16) with a fitted Dirac slope of 1.4814 against the labelled (3/2)ta Fermi velocity, an SSH chain whose winding (0 vs 1, by summed phase increments) decides whether a 40-site open chain hides two zero-energy edge states (4.99e-08) or none, and a Hubbard dimer solved exactly in a 6-determinant basis whose double occupancy drains 0.500000 → 0.052786 as U runs 0 → 8, matching the analytic anchors at every point. A from-scratch Jacobi eigensolver and a from-scratch kNN material-character classifier (metal / insulator / dirac-semimetal / topological) are included; every classifier training row is computed by the lab itself.
Pure Python standard library. Zero dependencies. Zero network. Honest scope: every hopping and lattice constant is a LABELLED toy value — nothing here predicts, fits, or measures any real material, and every real-material / discovery / superconductor / device / synthesis / battery / semiconductor / quantum-hardware claim is a permanent HOLD gate (14 total).
docker pull credkellar/quantummaterials-lab:latest
docker run --rm credkellar/quantummaterials-lab:latest
The default command runs the full demo plus the built-in self-checks (CHECKS 59/59).
Run a specific command instead:
docker run --rm credkellar/quantummaterials-lab:latest python3 main.py checks # CHECKS 59/59
docker run --rm credkellar/quantummaterials-lab:latest python3 main.py bands # 1D + 2D bands, DOS, van Hove bins
docker run --rm credkellar/quantummaterials-lab:latest python3 main.py graphene # Dirac points + fitted cone slope
docker run --rm credkellar/quantummaterials-lab:latest python3 main.py ssh # gap, winding, Zak phase, edge states
docker run --rm credkellar/quantummaterials-lab:latest python3 main.py hubbard # Hubbard dimer U-curve vs anchors
docker run --rm credkellar/quantummaterials-lab:latest python3 main.py classify # kNN character classifier report
docker run --rm credkellar/quantummaterials-lab:latest python3 main.py holds # 14 HOLD gates
python:3.12-slimScience · Developer tools · Machine learning & AI
credkellar/quantummaterials-lab:latestdocker pull credkellar/quantummaterials-lab:latest