⚛️ Quantum Superposition Collapse — 3D Multi-Well Simulator
A particle dropped into one well of a ring of coupled quantum wells doesn't stay put: real tight-binding Schrödinger dynamics let it tunnel into a genuine superposition spread across every well at once — until you measure it and the Born rule collapses it back to one.
Each of the N wells holds a complex probability amplitude cn(t). They evolve under the discrete (tight-binding) Schrödinger equation i·dcn/dt = Encn − J·(cn−1+cn+1), integrated with 4th-order Runge–Kutta at every frame and periodically renormalized so Σ|cn|² stays at 1 (the on-screen unitarity check). J is the tunneling coupling between neighboring wells; a nonzero energy tilt ΔE turns the ring into a Stark ladder and biases how the wavepacket spreads. Pillar height encodes |cn|² (occupation probability), pillar hue encodes the phase arg(cn), and the arcs between wells fade with the phase coherence between neighbors — so you're watching interference, not just probability. Pressing Measure performs an actual Born-rule sample: a random well is chosen with probability |cn|², the state collapses fully onto it, and the outcome is tallied so repeated measurements can be checked against the displayed probabilities.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install