Skip to main content
Sandbox Physics

Q020 · Phase accumulation and spectroscopy

Ramsey Frequency Measurement

Can a longer wait reveal a smaller frequency difference? Yes. During a longer dark interval the same frequency difference builds up more phase, so the fringes narrow and sensitivity rises; doubling the wait halves the fringe spacing. The cost is a smaller range you can read without ambiguity, and decoherence fades the fringe contrast.

Record Ramsey spectra and phase counts, then test a clock correction at several dark times and effective densities, with the cavity phase in both directions. Infer the zero-density frequency from the recorded atoms, and see how aliases, weak contrast, a bad density calibration and a nonlinear collision law can mislead it.

Interactive modelRamsey Frequency Measurement
Model positive probability—\text{—}
Positive / negative / rejected—\text{—}
Current-setting trials—\text{—}
Acquired positive fraction—\text{—}
95% Wilson interval—\text{—}
Output-state purity—\text{—}
Model fringe spacing—\text{—}

Simulated acquisition

Make a prediction, then collect the evidence.

No acquired record yet.

Inference from acquired counts

Acquire a scan to estimate the signal.

—\text{—}
Density matrix and count conventions
ρ=I+r⋅σ2\rho=\frac{I+\boldsymbol r\cdot\boldsymbol\sigma}{2}

Latest raw events · full record in CSV
EventSettingOutcome

Scientific basis: Feynman III.6 · MIT 8.05 · NIST Ramsey

Q020 · Count records and systematic shifts

A narrow fringe can still be biased.

Take independent phase scans over several dark times, effective densities and both settings of the reversible phase. The fit uses only the counts, the scan coordinates and the stated calibration.

This protocol is separate and runs on a scale of seconds. The state-space replay above still shows the original millisecond experiment. Cavity geometry, the fountain trajectory and the clock servo are not simulated.

Generator and independent calibration settings

Generator settings change future simulated records. Calibration and search range are assumptions of the analysis. Editing any setting starts a new sample. The middle effective density is halfway between the low and high settings; atom counts do not calibrate this ratio.

No protocol record yet.

Zero-density offset · counts only

—\text{—}

Count standard uncertainty

—\text{—}

Separate density-calibration uncertainty

—\text{—}

Measured density slope

—\text{—}

Even cavity phase · joint branch

—\text{—}

Reversible phase · modulo a half turn

—\text{—}

The correction needs complete counts that pin down every fitted parameter.

Latest completed phase scan: excited fraction and 95% Wilson intervals. Lines join acquired values only.
The frequency comes from how the phase changes with dark time, then is extrapolated in density. Error bars are standard uncertainties from the counts. The zero-density point is an extrapolation.
Phase record and retained atoms
DensityTime / sReversalPhase estimate / radContrast

Latest settings: every atom, excited or ground, stays in the denominator for its setting. The CSV has every event in order.

CellExcitedGroundTrials
Separate generator reference and model limits
δf0=0.18 Hz\delta f_0=0.18\,\mathrm{Hz}

The even phase is fixed across dark times; the odd phase changes sign exactly. These are prescribed reduced-model assumptions. A real distributed cavity phase shift depends on fields, trajectories and detection weighting; simple reversal does not remove every component. Density ratios require independent preparation calibration with a common collision coefficient. A wrong ratio can bias a perfectly straight fit.

The search interval limits the total atomic detuning, including the density shift. It is an outside assumption, not something the data prove. The reversible phase is half the wrapped phase difference, modulo a half turn. The even phase is reported modulo a full turn, given that principal branch of the odd phase. Adding a half turn to both phases leaves both reversal responses unchanged, and this joint ambiguity is not resolved. No true-phase label is used to pick the branch. Count uncertainties use a large-sample delta approximation and assume independent atoms. Calibration uncertainty is treated separately, to first order. Oscillator noise, finite pulse sensitivity, drift and long-term Allan stability are omitted.

Equations and primary sources
Pe=12[1+C(T)cos⁡(Φ−φ)]P_e=\tfrac12[1+C(T)\cos(\Phi-\varphi)]
Φ=2π(δf0+kn+qn2)T+ϕe+sϕo\Phi=2\pi(\delta f_0+kn+qn^2)T+\phi_{\rm e}+s\phi_{\rm o}
C(T)=0.9e−T/T2,s∈{−1,+1}C(T)=0.9e^{-T/T_2},\quad s\in\{-1,+1\}
ν0=νL−rνH1−r\nu_0=\frac{\nu_{\rm L}-r\nu_{\rm H}}{1-r}

The last identity describes the two-density linear limit; this workbench fits three densities and tests a residual. Linewidth, count error, systematic bias and long-term stability are separate quantities.

Weyers et al. 2011 · Hoth et al. 2022 / NIST · Pereira Dos Santos et al. 2002

Physics tutorial

Trade waiting time against coherence

BackgroundThe first pulse creates transverse coherence. A phase builds up during the dark time, and the second pulse turns that phase into population.

Why it mattersRamsey's method underlies precision spectroscopy. Fringe contrast, aliases and systematic shifts limit what a finite set of measurements can show.

Start with the essentials

Focus question
Does doubling the dark time improve every frequency measurement?
One-sentence intuition
A longer dark time packs the fringes closer and makes the phase more sensitive, but it narrows the range of frequencies you can identify without ambiguity and lowers the contrast.

Core mathematical model

Phase built up during the dark time

Φ=2π δf T\Phi=2\pi\,\delta f\,T

The phase grows in proportion to both the frequency offset and the dark time.

Ramsey fringe with ideal half-flip pulses

Pe=12[1+e−T/T2cos⁡(Φ−φ2)]P_e=\tfrac12[1+e^{-T/T_2}\cos(\Phi-\varphi_2)]

With instantaneous half-flip pulses and pure dephasing, the excited population oscillates with the accumulated phase, and the fringe contrast fades as the dark time grows.

One phase fits many frequencies

δf=Φ+2πk2πT,k∈Z\delta f=\frac{\Phi+2\pi k}{2\pi T},\quad k\in\mathbb Z

A measured phase fixes the frequency offset only up to whole multiples of the inverse dark time.

Common difficulties

Linewidth is not accuracy

Typical misconceptionA narrow fringe in the simulation proves the atomic clock is accurate.

Better mental modelThe original phase scan leaves out systematic shifts. The separate clock protocol includes a set cavity phase and a density shift, but it leaves out oscillator noise and long-term drift. A correction from counts that holds only under these assumptions does not certify accuracy or stability.

Long waits create aliases

Typical misconceptionThe estimate in the principal interval is the only possible frequency.

Better mental modelAdding any whole multiple of the inverse dark time gives the same phase. A second, independent interrogation time or a prior frequency range is needed to pick the right one.

Run the experiment

  1. 01

    Acquire both scans

    Choose Sensitive slope and acquire a scan. Compare the spectrum with the phase scan.

    What to observe: The spectrum is plotted against the known frequency settings. The frequency estimate uses only the first harmonic of the phase counts.
  2. 02

    Lengthen the dark time

    Double the dark interval and acquire again.

    What to observe: The fringe spacing halves. The frequency is now known only up to multiples of the new inverse dark time.
  3. 03

    Test the estimate with weak contrast

    Choose Lost contrast and acquire a scan. Then increase the shots or shorten the wait.

    What to observe: When the contrast cannot be resolved, no frequency is reported. More shots reduce projection noise, but they cannot bring back lost coherence.
  4. 04

    Move the working point

    Change the second-pulse phase and the pulse-area error, then replay the sequence.

    What to observe: The second pulse now reads out a different quadrature. Pulse errors change the contrast and the baseline of the simulated evolution.
  5. 05

    Separate phase from frequency

    In the seconds-scale clock panel, choose Cavity bias and acquire the complete protocol.

    What to observe: The phase intercept changes when the cavity phase is reversed. The frequency comes from the slope of the count-derived phase across three dark times, and the estimate never sees the offset used to generate the data.
  6. 06

    Test the density correction

    Compare the Wrong calibration, Curved density law and One dark time presets.

    What to observe: A wrong density ratio gives a fit that still looks straight but is biased. Curvature, unresolved aliases or too few dark times stop the Lab from reporting a zero-density correction.

Related experiments and articles

Quantum evidence · Reading path

Clocks, traps and single-quantum control

Articles on this path that use this experiment, followed by the other experiments they suggest.

  1. ArticleHow Ramsey and ion traps gave atoms more time
  2. LabTrapped-Ion Sideband SpectroscopyCompare the motional sidebands of a trapped ion
  3. ArticleReading a cavity phase error in an atomic fountain
  4. ArticleCounting the quantum noise left by a perfect detector
  5. LabQuantum State & Born MeasurementMeasure one qubit along more than one direction
  6. ArticleFollowing a fountain clock’s extrapolation to zero density
  7. LabRabi Pulse CalibrationCalibrate a pulse that moves atoms between levels
  8. ArticleHow one trapped ion switches its fluorescence off and on
  9. LabFluorescence & Quantum JumpsCount simulated fluorescence clicks from one atom
  10. ArticleLet a second ion read out a narrow transition
  11. LabTwo-Ion Quantum Logic SpectroscopyRead one ion through the simulated fluorescence of its partner
  12. LabQuantum State & Process TomographyFind out which measurements test coherence
  13. ArticleCounting stored photons one atom at a time
  14. LabCavity Photon Counting & FeedbackAccumulate probe-atom outcomes and infer cavity photon number
  15. LabDecoherence Channels & Information LossDistinguish information gain from coherence preservation
FeedbackSomething broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy