HUB
Sign inSign up
quantumtunnel-x logo

credkellar/quantumtunnel-x

By credkellar

•Updated 17 days ago

QuantumTunnel-X — exact tunnelin T(E), WKB errors, Gamow alpha decay, STM + resonant tunnelin lab!

Image
Machine learning & AI
Developer tools
Data science
1

196

credkellar/quantumtunnel-x repository overview

⁠QuantumTunnel-X 🌌⚛️

Quantum Tunneling Physics Lab — by Darion Kellar

Educational quantum tunneling lab in ONE pure-Python file: the EXACT rectangular-barrier transmission coefficient, the WKB approximation with its error quantified against the exact answer, a Gaussian wave-packet average, a Gamow-factor alpha-decay model that reproduces real half-lives and the Geiger–Nuttall law, STM current vs gap, a labelled TOY tunnel-diode band model, resonant tunneling computed exactly by transfer matrix, and Fowler–Nordheim field emission.

Pure Python standard library. Zero dependencies. Zero network. Honest scope: tunneling is NOT teleportation and NOT faster than light; the diode is a labelled toy model, the nuclei are labelled models, and every live-hardware / experiment / claim action is a permanent HOLD gate (14 total).

⁠🐳 Quick start

docker pull credkellar/quantumtunnel-x:latest docker run --rm credkellar/quantumtunnel-x:latest

The default command runs the full demo plus the built-in self-checks (CHECKS 50/50).

Run a specific command instead:

docker run --rm credkellar/quantumtunnel-x:latest python3 main.py checks # CHECKS 50/50 docker run --rm credkellar/quantumtunnel-x:latest python3 main.py barrier # exact T vs WKB docker run --rm credkellar/quantumtunnel-x:latest python3 main.py alpha # Gamow half-lives (JSON) docker run --rm credkellar/quantumtunnel-x:latest python3 main.py stm # STM current vs gap docker run --rm credkellar/quantumtunnel-x:latest python3 main.py resonance # resonant tunneling scan docker run --rm credkellar/quantumtunnel-x:latest python3 main.py holds # 14 HOLD gates

⁠🔬 What's inside

  • Exact barrier — T(E) closed form below / at / above V0; electron at half height, 1 nm, 2 eV barrier: T = 1.42e-4; above the barrier T = 1 exactly at k2·a = nπ.
  • WKB graded — exact/WKB = 4.00 at E = V0/2 (the 16·E·(V0−E)/V0² prefactor), and WKB overestimates ×3.9 near the top. Failure regions named.
  • Wave packet — Gaussian energy spread averaged over exact T(E) by quadrature: σ = 0.30 eV lifts T from 1.42e-4 to 6.38e-4.
  • Gamow alpha decay — labelled models: U-238-like 4.63e9 yr (real ≈ 4.5e9), Ra-226-like 1,065 yr (real ≈ 1,600), Po-212-like 1.66e-7 s (real ≈ 3.0e-7); Geiger–Nuttall fit r = 0.99996; +1 MeV of Q shrinks t½ ×3.26e5.
  • STM — κ = 11.456 /nm at φ = 5.0 eV; ×9.89 current per ångström; 0.43 pm per 1% current change.
  • Tunnel diode (TOY) — band-overlap toy: peak 1.017 mA @ 0.10 V, NDR region (dI/dV < 0), valley 0.249 mA @ 0.52 V, peak/valley 4.09.
  • Resonant tunneling — transfer-matrix exact: T = 0.9999 at E = 0.9467 eV through a barrier/well/barrier stack vs 7.2e-3 for one solid barrier of the same total width.
  • Field emission — Fowler–Nordheim with standard constants; FN slope identity verified exactly.
  • TinyML kNN classifier — tunneling-dominant / mixed / classical-over-barrier from (E/V0, width, mass) features.
  • Advisory seats — Gemini Carbon 4 DECIDER (names-only, tighten-only, sha256 trace), Muse advisor (can never override HOLD), Google Flow plan-only (rendered = False, live = 0).

⁠✅ Verified

  • pytest: 41 passed
  • Built-in checks: CHECKS 50/50
  • Deterministic: double-run byte-identical
  • Base image: python:3.12-slim

⁠🏷️ Categories

Science · Developer tools · Machine learning & AI

  • License: MIT © 2026 Darion Kellar
  • Image: credkellar/quantumtunnel-x:latest
Tag summary
Recent tags
Content type
Image
Digest
sha256:e769a6313…
Size
41.8 MB
Last updated
17 days ago
docker pull credkellar/quantumtunnel-x:latest