Schrödinger Lab · solve anything

Sculpt a potential. Set ψ loose.

This is a live numerical solver for the time-dependent Schrödinger equation — the same iħ ∂ψ/∂t = Ĥψ that runs the universe's small print. Pick a landscape V(x) or draw your own directly on the canvas, aim a wave packet, and watch it scatter, tunnel, slosh, and interfere with itself. Every readout is computed from ψ, live.

|ψ|² probability Re ψ potential V(x) Drag on the canvas to sculpt V(x) with a soft brush — the wave reacts immediately. Edges of the world absorb whatever reaches them.
⟨x⟩ mean position
–
⟨p⟩ mean momentum
–ħ
Δx·Δp
–ħ
⟨E⟩ energy
–
Norm surviving
–%

⟨x⟩ against time — the quantum particle's "trajectory" (Ehrenfest's theorem: it obeys Newton on average)

Things worth trying: give the harmonic trap a packet with p₀ ≈ 2 — ⟨x⟩ swings in a perfect sine, exactly like a classical marble, while the packet breathes. Fire at the step with E just above the ledge and watch part of the wave reflect anyway — classically impossible. In the double well, park a slow packet in one side and wait: it leaks through to the other and back. And in free space, draw two small bumps yourself and fire a fast packet — you can build your own interferometer.

drawingdrag to raise V(x) toward the cursor height; drawing below the baseline digs attractive wells. ✕ Flatten V resets the landscape.
unitsnatural units, ħ = m = 1. Energy readout is in the same scale as the V axis; the dashed line marks ⟨E⟩ against the landscape.
⟨x⟩, ⟨p⟩, Δx·Δpexpectation values over |ψ|²; ⟨p⟩ and ⟨E⟩ are computed in momentum space via FFT. Δx·Δp can grow, but never dips below ħ/2.
norm survivingprobability not yet swallowed by the absorbing edges — a proxy for "the particle is still in the lab".
methodsplit-step Fourier (Strang splitting): kick with V for dt/2, drift with the exact kinetic phase in k-space, kick again. Unconditionally stable, unitary to machine precision.