Quantum Wavefunction Measurement Simulation
Teach me
i

📊 About This Simulation

Physics: The particle is prepared in a Gaussian wavefunction ψ(x). Measurement outcomes follow the Born rule, so the position probability density is |ψ(x)|². Repeated measurements on identically prepared states reproduce the theoretical distribution.

Simulation visuals: The top plot shows the theoretical wavefunction view (probability, real part, imaginary part, or both real/imaginary). The bottom plot shows measured outcomes as a normalized histogram, overlaid with the theoretical |ψ(x)|² curve for comparison.

Controls: Run single-shot or batch measurements, enable auto-measurement and set its rate, adjust animation speed, switch view mode, and reset measurements. The Statistics panel reports total count, mean position, measured standard deviation, theoretical σ, and convergence.

Theoretical Function |ψ(x)|²
|ψ(x)|²
Re(ψ)
Im(ψ)
Measurement Results 0 measurements
Histogram (Normalized)
Theoretical |ψ(x)|²

Guided Inquiry

1 · The prepared state

Here’s the set-up. Before every measurement, the particle is prepared in the same Gaussian state ψ(x), of width σ. The upper plot draws that state — either its probability density |ψ(x)|² or its real and imaginary parts. The lower plot collects the positions your measurements actually return, as a normalized histogram against the theoretical |ψ(x)|².

2 · Identical preparations

Let’s start with the classical view. Each measurement acts on a freshly prepared copy of the same state. What do you think classical physics would predict for the record of a hundred position measurements?

3 · A wave that dips below zero

Let’s look at the wave itself. The upper plot now draws Re(ψ), which swings above and below the axis as the phase turns. At an instant when the whole curve lies below the axis, where do you think the particle is most likely to be found?

4 · A thousand more

Time for more data. About a hundred measurements now sit on the lower plot, and we’re about to add a thousand more. What do you think happens to the height of the central bars?

5 · While the phase turns

One last experiment. The upper plot now shows Re(ψ) and Im(ψ) together, with the phase turning quickly, and the histogram has been cleared. What do you think the next thousand measurements will build?

Listen
Measurement Controls
20/s
Wavefunction Settings
1.0x
⟨p⟩ = 0 (Zero Average Momentum)
Statistics
Total Measurements 0
Mean Position —
Measured Std Dev —
Theoretical σ 50.0
Convergence to theoretical σ
Keyboard Shortcuts
Space — Measure
A — Toggle Auto
R — Reset