The science
Particle in an infinite box. Energy eigenstates φn(x)=√(2/L) sin(nπx/L), energies En = n²π²ℏ²/(2mL²) (E1 = 0.376 eV for an electron in 1 nm).
Superposition. ψ(x,t) = Σ cn φn(x) e-iEnt/ℏ. Each state keeps its own phase rotation, so interference terms in |ψ|² oscillate at (Em-En)/ℏ and the probability sloshes from side to side: 〈x〉 = Σ cn* cm xnm ei(ωn-ωm)t with x12 = -16L/(9π²). A single eigenstate never moves (stationary).
Measurement (Born rule). An energy measurement returns En with probability |cn|² and leaves the particle in φn. A position measurement returns x with density |ψ(x)|² and leaves a narrow packet (Gaussian of width 0.04 L here, an idealised detector), which then spreads because it contains many energies.
Entanglement needs two or more particles and is not shown here; this page demonstrates single-particle superposition only. The time axis is slowed by about 1014 (femtoseconds per real second) so you can watch it. The basis is truncated at 64 states.