Idea. A Ramsey interferometer turns an unknown phase phi (from a magnetic field, a clock frequency offset, a gravitational potential) into the probability of finding an atom in state |+>: P(+) = (1 + V cos(k phi)) / 2. V is the fringe visibility (1 = perfect coherence). Estimating phi from repeated measurements has a statistical limit.
Independent atoms (k = 1): N atoms are measured separately. Each interrogation gives N independent binary results, the Fisher information is F = N V^2 sin^2(phi) / (1 - V^2 cos^2(phi)) and, by the Cramer-Rao bound, delta phi >= 1 / sqrt(nu F). At V = 1 and best operating point this is the standard quantum limit (shot noise) 1 / sqrt(nu N).
Entangled GHZ state (|00..0> + |11..1>)/sqrt(2): the N atoms accumulate phase together, the relative phase becomes N phi, and one parity measurement gives P(+) = (1 + V_N cos(N phi))/2. The Fisher information is F = N^2 V_N^2 sin^2(N phi) / (1 - V_N^2 cos^2(N phi)), which reaches delta phi = 1 / (N sqrt(nu)), the Heisenberg limit: a gain of sqrt(N) in precision for the same number of atoms and repetitions.
The catch (honest part). If each atom loses coherence independently, the GHZ contrast falls as V_N = V^N. For N = 32 and V = 0.95 it is only 0.19, which wipes out most of the gain; the sliders show this. Entangled states are also harder to prepare, take extra time, and the fringe repeats every 2 pi/N, so the phase must already be known to within one fringe. Quantum Fisher information (the Holevo-type bound for pure-state phase encoding) is N for product states and N^2 for GHZ; these formulas saturate it for the chosen measurements.
Independent checks. (1) The Fisher information from the formula is compared with a numerical derivative of the outcome probability. (2) With V = 1 at quadrature the ratio F_GHZ / F_independent must equal N. (3) The Monte Carlo experiment draws every Bernoulli outcome, inverts the fringe to estimate phi, repeats it 400 times and compares the standard deviation with the Cramer-Rao value (valid when nu F is at least about 30; finite-sample clipping causes small deviations otherwise).
Simplifications. Perfect pulses, independent dephasing only, no atom loss, no technical noise, ideal parity readout. Real GHZ-type states with tens of particles have been made in laboratories (check the literature for the current record); quoted numbers here are model values, not measurements.
Models and textures were made in Blender; the statistics run in Three.js r160 and plain JavaScript.