From first principles
Derive local probability balance from Schrödinger evolution
Take a spinless particle on a line with constant mass and a real local potential \(V(x,t)\). The inputs are the Schrödinger equation as a dynamical postulate and the Born rule \(\rho=|\psi|^2\) as the probability density. To see how probability moves, differentiate \(\psi^*\psi\) and substitute the time derivative of the state and its complex conjugate:
The potential terms cancel because \(V\) is real. The remaining difference is a spatial derivative: applying the product rule makes the two first-derivative cross terms cancel. This identifies the current and its sign:
Integrate over a detector interval \([a,b]\). The probability inside changes at rate \(j(a)-j(b)\), giving direct physical meaning to the local derivative. Vanishing exterior current conserves the total normalization. A complex absorbing potential would add a local sink and requires a different balance.
Background · State normalisation
For a normalisable one-dimensional state, squared modulus is probability per length. Stationary incoming scattering states require a flux or continuum normalisation.
Derivation and applications
Predict the minimum width of a freely propagating packet
Two spatial snapshots of a beam can differ even when no forces act. To calculate this spreading without evaluating a Fourier integral, work with the position and momentum operators for a free, nonrelativistic particle of mass \(m\). Assume motion along a line, a normalized state with finite second moments, and negligible interaction during flight. In the Heisenberg picture \(H=p^2/(2m)\) is constant, momentum is conserved and velocity is \(p/m\). Integrating the operator equations gives
Subtract the mean trajectory. The square of \(\delta x(t)=\delta x(0)+(t/m)\delta p(0)\) contains both product orders because position and momentum do not commute. Defining \(C_{xp}=\langle\delta x\,\delta p+\delta p\,\delta x\rangle/2\), the exact variance is
Now specialize to an unchirped Gaussian at release, with standard deviation \(s\) in position, constant mean phase gradient and no quadratic phase. Then \(C_{xp}=0\) and the momentum standard deviation is \(\hbar/(2s)\). Substitution gives
The characteristic time marks the point at which propagation and initial preparation contribute equally to the variance. A narrower launch has a larger momentum spread and reaches this crossover sooner. The general variance equation also shows why free evolution can initially narrow a correlated preparation with \(C_{xp}<0\).
Worked example
Predict an electron-beam width at the detector
Change the inputs and investigate this derivation.
Take \(m=9.109\times10^{-31}\) kg, \(s=20.0\) nm and \(\hbar=1.055\times10^{-34}\) J s. The spreading time is \(6.91\) ps. After \(10.0\) ps the width is
An overall boost translates the centroid while leaving this predicted width unchanged.
Second application
Choose the launch width for the smallest final spot
Change the inputs and investigate this derivation.
At fixed flight time \(t\), minimize \(s^2+(\hbar t/2m)^2/s^2\) over unchirped Gaussian preparations. Differentiating with respect to \(s^2\) gives \(s^2=\hbar t/(2m)\) at the minimum. For the same electron and \(10.0\) ps, the best launch width is \(24.1\) nm and the final width is \(\sqrt2\) times larger, \(34.0\) nm. Tightening the initial spot below that value makes this detector spot wider.
OneSimulation laboratory
Turn spatial eigenvalues into confinement energies
Start from this chapter. A hard wall sets the wavefunction to zero. Ask which stationary spatial modes satisfy this condition on a polygon, and how changing the length scale changes their quantum energies.
Compare recorded OneSimulation runs on this page. To test your own inputs, download the notebook and model files and run the model in an activated OneSimulation environment.
The isospectral drums notebook solves the Dirichlet eigenproblem on two polygons. It reports lam, the dimensionless squared wave number \(\lambda_n=k_n^2\ell^2\). Its length unit is 0.1 m for the drum. To interpret a geometrically similar quantum well, assign that unit a quantum length \(\ell\) in metres. Read the shapes and eigenvalues from the spatial solve; quantum time evolution and measurement probabilities for a chosen state follow analytically. Dirichlet spectra for two different outlines.
Run through the notebook’s results, then add this cell. It converts all ten computed eigenvalues into electron energies. sizes[-1] selects the supplied 0.005 m mesh.
from scipy.constants import hbar, electron_mass, electron_volt
def energies_eV(shape, length_unit_m):
lam = runs[shape, sizes[-1]]["lam"]
k_squared = lam / length_unit_m**2 # 1/m²
return hbar**2 * k_squared / (2 * electron_mass * electron_volt)
print(energies_eV("drum A", 1e-9))
print(energies_eV("drum B", 1e-9))
print(energies_eV("drum A", 2e-9))
- Baseline. Assign 1 nm to the length unit in shape A. Check that the lowest dimensionless value agrees with 2.537944 within 0.01%, giving \(E_1\) near 0.09670 eV. The 1 nm unit sets the geometric scale of the polygon.
- Change the outline. Select shape B at the same scale. Compare the ground energies within 0.01% and inspect the first-mode maps. Equal eigenvalues can coexist with different spatial distributions.
- Change the confinement length. Keep shape A and set its quantum length unit to 2 nm. Check \(E_1(2\,\mathrm{nm})/E_1(1\,\mathrm{nm})=1/4\) and verify the ratio for an excited state. No new mesh is required for this exact uniform scaling.
| Quantum well | Lowest eigenvalue λ₁ | Mapped energy (eV) |
|---|---|---|
| Shape A, 1 nm unit | 2.537961 | 0.09669586 |
| Shape B, 1 nm unit | 2.537966 | 0.09669606 |
| Shape A, 2 nm unit | 2.537961 | 0.02417397 |

isospectral_drums.ipynb in a local OneSimulation environment.
Problem sheet 6 · Which energy change really establishes a length change?
Specify a preparation
Prepare many independent particles of the same mass in the same one-dimensional state and record one position from each preparation. The frequencies in small position bins reveal a probability density. Quantum theory assigns a complex wavefunction \(\psi(x,t)\) to a pure state. The probability to record a particle in an interval and the normalisation of the preparation are
The density \(|\psi|^2\) has units of inverse length and can numerically exceed one. Integrating it over a position interval gives a dimensionless probability between zero and one.
A single position histogram fixes the modulus of the wavefunction but contains no direct information about its phase. A global phase is unobservable, whereas a phase that varies across space changes the momentum distribution and subsequent evolution. Two preparations with the same initial histogram can reach a detector at different times. To predict how probability moves we need the phase information together with an equation of motion.
Obtain a continuity equation
For a particle in a real scalar potential \(V(x,t)\), the Schrödinger equation is
Multiply by \(\psi^*\), subtract the conjugate equation multiplied by \(\psi\) and use the product rule. The two potential terms cancel because \(V\) is real. The result takes the conservative form
Integrated between two fixed points, the rate of change of probability inside equals the inward current at the left minus the outward current at the right. In this one-dimensional normalisation \(j\) has units of inverse seconds. Vanishing current at both infinities ensures that a normalised state stays normalised even if the shape of its density changes appreciably.
Writing \(\psi=\sqrt\rho\,e^{i\varphi}\) gives \(j=(\hbar/m)\rho\,\partial_x\varphi\) where the phase is regular. For an initially real packet the current vanishes at that instant. A spatial phase ramp \(e^{ikx}\) leaves \(\rho\) unchanged yet gives current \(\hbar k\rho/m\). Current is a signed net flux. Interpreting every crossing of a point as a first arrival requires additional information about the detector and possible returns.
Background · Does a common phase leave every measurement unchanged?
Multiplying a wavefunction by a spatially constant phase preserves the density and the current. Now prepare a second wavepacket with the spatial phase ramp \(\exp(ik_0x)\) in a region free of vector potentials. Both packets give the same position histogram at the preparation time. The derivative in the probability current also differentiates the ramp.
After free expansion the second packet's centroid has the added speed \(\hbar k_0/m\). A spatial phase gradient is measurable through a later position histogram even when the initial density is identical. For a charged particle in a magnetic vector potential the mechanical current includes that potential too. A joint gauge change of wavefunction and vector potential leaves the physical current unchanged.
Count momenta as well as positions
Use the Fourier convention \(\psi(x)=(2\pi)^{-1/2}\int\tilde\psi(k)e^{ikx}dk\). Parseval’s identity preserves the normalisation. The probability in a wave-number interval is \(|\tilde\psi(k)|^2dk\), with momentum \(p=\hbar k\). A Gaussian packet having density variance \(\sigma_x^2\) at preparation can be written as
Fourier transforming this Gaussian gives mean momentum \(\hbar k_0\) and standard deviation \(\hbar/(2\sigma_x)\). Tighter initial localisation broadens the momentum distribution.
For a free particle the plane-wave components advance with \(\omega(k)=\hbar k^2/(2m)\). Different wave numbers give different group velocities. An initially minimal, unchirped Gaussian spreads to \(\sigma_x(t)=\sigma_x\sqrt{1+[\hbar t/(2m\sigma_x^2)]^2}\). Transferring this expression to an initially focused or phase-curved packet requires its position–momentum correlation as well as its initial width.
When does a wave packet follow Newton’s equation?
A position measurement on a single particle produces one draw from its distribution. Suppose we repeat the preparation at successive flight times. What determines the motion of the measured centroid? Write the ensemble mean of a Hermitian observable as \(\langle A\rangle=\langle\psi|A|\psi\rangle\). Differentiate both states and the operator. The Schrödinger equation gives \(|\dot\psi\rangle=-iH|\psi\rangle/\hbar\), while its adjoint gives the opposite sign on the bra. Thus
For a particle on a line let \(H=p^2/(2m)+V(x)\), with a real differentiable potential and states decaying sufficiently rapidly to drop boundary terms. Since \([p^2,x]=-2i\hbar p\) and \([V,p]=i\hbar V'(x)\), the first moment satisfies
A uniform force accelerates every part of the density equally. In a harmonic trap the force is linear, so averaging it gives the force at the centroid for a packet of any width. An anharmonic force samples higher moments. The centroid and width can then influence each other even when no external noise is present.
Consider a quartic trap \(V=\lambda x^4/4\) with \(\lambda=1.00\,\mathrm{meV\,nm^{-4}}\). At one instant the position density is Gaussian, centred at \(a=2.00\,\mathrm{nm}\) with standard deviation \(s=1.00\,\mathrm{nm}\). Writing \(x=a+\xi\) eliminates odd central moments, giving \(\langle x^3\rangle=a^3+3as^2=14.0\,\mathrm{nm^3}\). The mean force is therefore
Evaluating the force only at the centroid gives \(-8.00\,\mathrm{meV/nm}\). The high-force side of the distribution contributes disproportionately. As \(s/|a|\to0\) the fractional correction \(3s^2/a^2\) vanishes. This is an instantaneous prediction. Evolution in a quartic trap need not preserve a Gaussian shape.
Practise on sheet 1 · Infer a force from the motion of a centroid. Further reading · Rutgers University · Intermediate Quantum Mechanics · Lecture 9, The Ehrenfest Theorem.
Predict a free-flight measurement
An electron has initial width 100 nm and mean wave number \(1.0\times10^8\) m⁻¹. Its mean speed is \(\hbar k_0/m_e=1.16\times10^4\) m/s and its velocity spread is about 579 m/s. After 1.0 ns the centre has moved 11.6 µm. For the unchirped preparation the width grows to \(\sqrt{(0.100\,\mu\mathrm m)^2+(0.579\,\mu\mathrm m)^2}=0.588\) µm. The packet is well inside the nonrelativistic regime.
The solution predicts two independent observables: the motion of the centre and the broadening about that centre. Reversing the phase ramp reverses the former while leaving the latter unchanged. The initial position histograms for the two preparations are identical. A downstream record is needed to discriminate their motion.
One can measure spreading by repeating the preparation and recording the position distribution after several flight times. For an initially uncorrelated position and momentum, the free-particle variance is
This follows from the operator equation \(x(t)=x(0)+p(0)t/m\). A known initial position–momentum covariance adds a term linear in time and can even make the packet contract initially. Measuring a minimum downstream width alone therefore does not establish the width or the momentum uncertainty at release.
Infer current from two interfering momentum components
An interference pattern can make density strongly position dependent even when probability current is uniform. Put a free particle on a ring of circumference \(L\) and use periodic boundary conditions. Two states with wavenumbers \(+k\) and \(-k\), where \(k=2\pi n/L\) and \(n\) is a nonzero integer, have the same energy \(E=\hbar^2k^2/(2m)\). A normalized superposition has wavefunction \(\psi=[a e^{ikx}+be^{-ikx}]e^{-iEt/\hbar}/\sqrt L\) with \(|a|^2+|b|^2=1\). Integration around the ring makes the two opposite travelling waves orthogonal.
Squaring the amplitude gives a density containing a constant term and a spatial fringe,
To find current, differentiate \(\psi\) before taking the imaginary part of \(\psi^*\partial_x\psi\). The two diagonal products contribute with opposite signs. The cross terms in that product are real, so their contribution to current vanishes. Thus
The relative weights determine the net rate of passage past a fixed point; the relative phase shifts the fringe positions without changing that rate. Equal weights give a standing wave with stationary nodes and zero current. An unequal pair can have a stationary density pattern with nonzero circulating current, because every segment loses probability at one end at exactly the rate it gains it at the other.
Distinguish two preparations with one density pattern
Take an electron on an ideal ring of circumference \(1.00\) μm with \(n=2\), so \(k=1.257\times10^7\) m⁻¹. Choose \(a=\sqrt{0.80}\) and \(b=\sqrt{0.20}\) real. Fringe spacing is \(\pi/k=0.250\) μm and normalized density ranges from \(0.20/L\) to \(1.80/L\). The velocity scale is
The probability current is this speed times \(0.60/L\), or \(8.73\times10^8\) s⁻¹. These units describe crossings per unit time for a normalized one-dimensional state rather than probability density per metre.
Interchange the weights assigned to clockwise and anticlockwise components while keeping their relative phase fixed and real. Density everywhere on the ring is identical but current reverses sign. A position histogram alone therefore cannot resolve which preparation was made. A momentum measurement over repeated preparations would instead return the two momenta with swapped probabilities. For a physical charged particle, multiplication by its charge gives the circulating electric current, whose sign is also reversed relative to probability current for an electron. A weak magnetic probe couples to that circulation rather than to the fringe visibility.
A relative phase change offers another comparison. Multiplying the anticlockwise amplitude by \(e^{i\alpha}\) moves the density pattern around the ring by \(\alpha/(2k)\) with the sign fixed by the chosen wave convention. At \(\alpha=\pi\) a previous maximum becomes a minimum, yet neither the probabilities of the two momentum outcomes nor the current changes. Conversely replacing the coherent preparation by a random mixture with the same two momentum probabilities leaves the circulating current intact while removing the interference fringes. Current, momentum populations and position fringes are therefore independent pieces of information about even this simple state.
Follow a freely spreading wave packet
A freely evolving minimum-uncertainty Gaussian starts at rest with position width \(\sigma_0\). Its momentum spread is \(\hbar/(2\sigma_0)\). Free motion gives \(\sigma(t)^2=\sigma_0^2+[\hbar t/(2m\sigma_0)]^2\) in the absence of an initial position–momentum correlation.

Try it · Gaussian packet
Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.
Read values from the plot
| Position / initial rms width | t / spreading time = 0 | t / spreading time = 1 | t / spreading time = 3 |
|---|---|---|---|
| −7 | 9.1347e−12 | 1.3499e−6 | 0.010887 |
| −3.5 | 0.00087268 | 0.013194 | 0.068376 |
| 8.8818e−16 | 0.39894 | 0.28209 | 0.12616 |
| 3.5 | 0.00087268 | 0.013194 | 0.068376 |
| 7 | 9.1347e−12 | 1.3499e−6 | 0.010887 |
Study the full derivation
From two-path interference to the geometry of a quantum state · Quantum states, dynamics and measurement
Two preparations give the same counts at one analyser. Place a second analyser in a rotated basis and the counts separate. From this experiment develop amplitudes, phase, projective measurement, mixed states and the geometry of distinguishability.