🌫️ Quantum Delocalisation: How a Wave Packet Is "Everywhere" at Once
The science
Free particle, 1D: i hbar dpsi/dt = -(hbar^2/2m) d2psi/dx2, solved with the split-step Fourier method (hbar = m = 1, grid 1024 points, periodic box of length 400).
A Gaussian packet keeps its shape and its width grows as sigma(t) = sigma0 sqrt(1 + (hbar t / (2 m sigma0^2))^2). The simulation compares the numerical width with this closed form live.
Heisenberg: sigma_x sigma_p >= hbar/2. A free Gaussian starts at the minimum (1/2 in these units) and the product grows with time.
Honest simplification: "being everywhere" here means only that the probability density spreads over a growing region. A quantum particle is not literally in all places or able to influence everything; a measurement always finds it at one place, drawn from |psi|^2. Collapse is modelled as a restart from a narrow packet (a simplified projective measurement of finite resolution).
Controls
Sharper start (small sigma0) means faster spreading: the uncertainty principle at work. Press Measure to collapse the particle to a point sampled from |psi|^2 and watch it delocalise again.