Evolve a quantum wave packet with the time-dependent Schroedinger equation (split-step FFT), then run time backwards by complex conjugation and watch the packet re-assemble, unless a small perturbation ruins the echo. Free, barrier, step, harmonic and double-well potentials.
The science
The solver integrates i dpsi/dt = [-(1/2) d²/dx² + V(x)] psi in units hbar = m = 1 with a second-order symmetric split-step Fourier method: half a potential kick exp(-iV dt/2), a full kinetic step exp(-i k² dt/2) in momentum space, and another half kick. It is unitary, so the norm is conserved to rounding error.
A free Gaussian packet of initial width s0 spreads as s(t) = s0 sqrt(1 + (t/(2 s0²))²): the position-momentum uncertainty relation in action. A coherent state in V = w²x²/2 keeps its width and its centre swings as x0 cos(wt). Over a barrier of height V0 with packet energy E=k0²/2 part of the packet tunnels even when E < V0.
Time reversal. For a real potential, complex conjugation maps a solution of the Schroedinger equation to a solution running backwards: evolving psi*(x,t) forward for a time t returns psi*(x,0). The displayed clock therefore counts down after the reversal. This is a mathematical symmetry of the isolated wave equation. A perturbation of strength eps (smooth random phase applied at the moment of reversal) mimics an imperfect environment and lowers the echo fidelity |<psi0|psi>|²: the arrow of time re-emerges from small imperfections.
Simplifications: one particle in 1D, no measurement, no decoherence; the box is periodic (length 60), so a packet leaving one edge re-enters at the other and the evolution stays exactly unitary, which is what makes a perfect echo possible; this is not a statement about real time travel and the 'time reversal' is only possible because we hold the exact wave function.