QuantumDots-Lab: quantum dot lab - box + harmonic shells, Coulomb blockade, Brus emission. Sim only!
130
Quantum Dot Confinement + Charging Lab — by Darion Kellar
Educational quantum-dot lab in ONE pure-Python file: a particle in a 1D/3D box with the exact E ∝ n²/L² spectrum, 2D/3D harmonic (Fock–Darwin, B = 0) shells with the magic numbers 2, 6, 12, 20 asserted, the constant-interaction model of Coulomb blockade (E_C = e²/C from SI constants, addition-energy sawtooth 2.00 meV inside a shell and 5.00 meV at shell closures, a stability-window table in gate voltage), the Brus equation for confinement-shifted CdSe emission (R = 2 nm → 487.8 nm, R = 6 nm → 689.6 nm, bulk 712.6 nm), a two-electron singlet/triplet toy built from Slater–Condon rules in miniature with a from-scratch Jacobi CI diagonalization, and a from-scratch kNN regime classifier whose labels come from the lab's own regime model.
Pure Python standard library. Zero dependencies. Zero network. Honest scope: every parameter is a LABELLED textbook-class teaching value (GaAs m* = 0.067, CdSe gap 1.74 eV, C = 80 aF, ℏω = 3 meV) — NOT measured device data, and no output is a device specification. The Brus model is a strong-confinement estimate that ignores finite barriers and surface states, and says so. Every fabrication / device / product / qubit claim is a permanent HOLD gate (14 total).
docker pull credkellar/quantumdots-lab:latest
docker run --rm credkellar/quantumdots-lab:latest
The default command runs the full demo plus the built-in self-checks (CHECKS 64/64).
Run a specific command instead:
docker run --rm credkellar/quantumdots-lab:latest python3 main.py checks # CHECKS 64/64
docker run --rm credkellar/quantumdots-lab:latest python3 main.py box # box levels + 1/L^2 law
docker run --rm credkellar/quantumdots-lab:latest python3 main.py shells # harmonic shells + magic numbers
docker run --rm credkellar/quantumdots-lab:latest python3 main.py blockade # E_C, addition sawtooth, stability windows
docker run --rm credkellar/quantumdots-lab:latest python3 main.py emission # Brus gap + wavelength vs radius
docker run --rm credkellar/quantumdots-lab:latest python3 main.py exchange # singlet/triplet + CI toy
docker run --rm credkellar/quantumdots-lab:latest python3 main.py classify # kNN regime classifier report
docker run --rm credkellar/quantumdots-lab:latest python3 main.py holds # 14 HOLD gates
python:3.12-slimScience · Developer tools · Machine learning & AI
credkellar/quantumdots-lab:latestdocker pull credkellar/quantumdots-lab:latest