Units
Choose a reference mass and length. These units apply to controls, axes and CSV. The double-well mass ratio is fixed at one.
Q009 · Shape / prepare / measure
Drag the walls, prepare bound levels and collect an energy spectrum. Design a gap, then estimate it from separate energy records of the lowest two prepared states.
SIMULATED INDEPENDENT PREPARATIONS
Blue bars are recorded energies. The separate lower ruler marks model levels. The gap estimate subtracts sample means from the two known preparations, with one standard error; it never reads the model gap. The mixture has no hidden level labels in its records.
Measured lowest gap
Model bound states / displayed states
Selected-state edge probability
Basis and boundary checks
Finite and curved wells use a numerical box extending eight units beyond each wall. Weak bound states can shift or be missed. Only below-threshold states qualify, and only the lowest eight are available for preparation. The infinite-well box is physical. A matrix residual alone does not establish continuum accuracy.
Sources: MIT 8.04 · 11 · Feynman III · 8
Physics tutorial
BackgroundConfinement changes the allowed spatial states.
Why it mattersConnect a potential you can change to records you can actually estimate from.
Start with the essentials
Choose a reference mass and length. These units apply to controls, axes and CSV. The double-well mass ratio is fixed at one.
All retained sine modes evolve. Potential integrals are analytic; the displayed matrix residual measures the eigensolver, not basis or boundary error.
The energy origin is the well bottom. Only eigenvalues below the exterior potential qualify as bound. The outer numerical box extends eight units beyond each wall; near-threshold states require a domain check.
Here the hard walls are physical and the sine basis is exact for the displayed low levels. Widening the well lowers energies; increasing mass also lowers them. Index zero denotes the ground state.
Continuity of the wavefunction and its derivative gives even and odd branches. These continuum equations independently test the numerical spectrum.
The prepared level is known in a selected-state run. An equal incoherent mixture samples the lowest four available states but records no hidden level identity. Readout noise is an explicit ideal detector model, not a natural linewidth.
At least two records from each known preparation are required. This standard error excludes numerical and calibration errors. The design goal is a gap of 0.70 within five percent.
Typical misconceptionEvery discrete computed energy is a bound state.
Better mental modelA finite well only binds states below the exterior threshold; compare basis and domain separately.
Typical misconceptionSampling noise is the only source of error.
Better mental modelFinite basis, artificial boundaries and omitted detector physics need separate checks.
Drag the walls and compare finite, infinite and curved wells.
What to observe: Level spacings and tails respond differently.Measure the lowest pair and collect a mixed-state spectrum.
What to observe: Known preparations permit a gap estimate without hidden labels.Select a high state and compare a larger basis.
What to observe: Sharp boundaries can need substantially more modes.