Variational bench
Drop a trial wave into a one-dimensional well and lower its energy until it sits on the ground state.
H = −½ d²/dx² + V(x)ℏ = m = 1. ω is the expectation ⟨ψ|H|ψ⟩.
Measuring the ground state
Solving the well on a 361-point grid.