---
title: "Optical Lattice Clock Interactive Lab | Sandbox Physics"
description: "What turns a narrow atomic line into a working clock?"
canonical_url: "https://sandboxphysics.com/labs/optical-lattice-clock/"
language: "en"
page_type: "lab"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/labs/optical-lattice-clock/"
last_modified: "2026-11-12"
---

IN35 · Ask atoms which way to tune

# Optical Lattice Clock

**What turns a narrow atomic line into a working clock?** Atoms tell a laser which way to tune when successive probes on either side of a resonance excite different fractions. Feedback keeps the laser near the line centre. Independent measurements of environmental shifts are still needed to connect that centre to an unperturbed atomic frequency.

Interrogate trapped atoms on both sides of a resonance, retain classified atom counts and servo commands, and calibrate one thermal shift.

> Interactive simulation: open this page in a web browser to change the parameters and run the model.

### Which way should the laser move?

Drag the gold frequency dial. A changed pulse needs matching standards.

Servo command **$0\,\mathrm{Hz}$**

Atomic error estimate **$0\,\mathrm{Hz}$**

Calibrated static thermal shift **$0\,\mathrm{Hz}$**

Shift-corrected command **$0\,\mathrm{Hz}$**

Probe duration $T/\mathrm{s}$ $0.18$ Feedback gain $g$ $0.55$ Atoms per probe $N$ $400$ Initial frequency command $u_0/\mathrm{Hz}$ $1.4$

Environment, noise and simulation

Measured enclosure temperature $T_{\mathrm{env}}/\mathrm{K}$ $300$ Dead time per probe $t_d/\mathrm{s}$ $0.12$ LO frequency noise per probe $\sigma_{\mathrm{LO}}/\mathrm{Hz}$ $0.12$ Classification error probability $\epsilon$ $0.015$ Simulated unperturbed offset $\delta_{\mathrm{sim}}/\mathrm{Hz}$ $0.9$ Acquisition seed $n$ $3501$

The simulated offset generates the atoms only. Inference receives classified counts, frequency commands and independently acquired standards.

Model assumptions

Coherent two-level square pi pulses interrogate separately prepared finite ensembles. Readout records classified atom numbers, not fluorescence photon counts. Projection noise, symmetric classification error and independent shot-constant Gaussian local-oscillator frequency noise are declared. Preparation, readout and dead time are retained; no continuous laser-noise spectrum or Dick-effect calculation is supplied. A coarse prior must place the line in its central capture neighbourhood; insufficient central-line signal is rejected. Independent known detunings calibrate a local two-side discriminator; a withheld check is excluded. A separate synthetic frequency reference and measured homogeneous-enclosure temperatures calibrate a static fourth-power thermal shift over 280–320 kelvin. The coefficient is Sr-like teaching data; dynamic BBR, lattice, Zeeman, density, gravity and other shifts are omitted. The shift correction is conditional on these inputs, not a real clock uncertainty. Allan deviation uses overlapping averages of the latter half of retained servo-command offsets divided by an external nominal carrier. It measures command stability with the stated cycle sampling and no dead-time correction, not actual continuous optical output, absolute accuracy or a realized optical second. Atom size, lattice spacing and marker speeds are schematic; up to 36 markers represent the finite ensemble.

### Retained two-side clock cycles

Cycle counts, calibration and timing

Last eight retained probe pairs; classified atoms, not photons

| Pair | Low excited / total | High excited / total | Before / after (Hz) | Start (s) |
| --- | --- | --- | --- | --- |

Continue with [Ramsey spectroscopy](https://sandboxphysics.com/labs/ramsey-frequency/) · [the optical frequency ruler](https://sandboxphysics.com/labs/optical-frequency-comb/)

Physics tutorial

## From atom counts to a frequency command

**Background** Lattice light confines the atoms. A separate clock laser probes whether they absorb light. A longer coherent pulse distinguishes closer frequencies.

**Why it matters** A low excitation fraction can occur on either side of a resonance. Two probes give the direction needed for feedback.

Start with the essentials

- **Focus question**: What turns a narrow atomic line into a working clock?
- **One-sentence intuition**: Measure the slope using known frequency offsets, then convert each pair of counted excitation fractions into a command update.

### Core mathematical model

#### Two readouts, one update

$$
e_k=\frac{p_{+,k}-p_{-,k}-b}{S},\qquad u_{k+1}=u_k-g e_k
$$

Subtract the calibrated intercept from the high-minus-low excitation fraction and divide by the measured local slope. Gain sets the fraction corrected per pair. Far from the line the discriminator loses direction.

#### Overlapping Allan variance of commands

$$
\sigma_{y,\mathrm{cmd}}^2(mT_c)=\frac{1}{2(N-2m+1)}\sum_{j=0}^{N-2m}\left(\bar y_{j+m}^{(m)}-\bar y_j^{(m)}\right)^2
$$

Use the uniformly spaced latter half of retained commands, normalized by the external nominal carrier. Differences between overlapping adjacent averages measure command fluctuations and cancel constant offsets. No confidence interval, dead-time correction or actual optical-output measurement is supplied.

#### A conditional thermal correction

$$
\Delta\nu_{\mathrm{th}}=a\left(\frac{T}{300\,\mathrm{K}}\right)^4,\qquad u_{\mathrm{corrected}}=u-\Delta\nu_{\mathrm{th}}
$$

Separate reference observations fit the fourth-power coefficient, excluding a withheld temperature. Apply the static correction only within the calibrated temperature interval and for a homogeneous enclosure.

### Common difficulties

#### Does low Allan deviation establish accuracy?

**Typical misconception** A quiet command trace proves an absolutely accurate atomic frequency.

**Better mental model** Differencing adjacent averages cancels constant errors. This statistic describes servo commands; continuous output and omitted shifts require independent measurements.

### Run the experiment

1. 01

   #### Follow the resonance

   Watch classified atom counts and the next command. Drag the gold frequency dial on the apparatus.

   **What to observe:** The excitation imbalance changes and feedback moves the command. Preview counts and atom colours update during the drag.

2. 02

   #### Reduce atom number

   Choose the few-atoms demonstration and compare excitation fractions and commands.

   **What to observe:** Binomial fluctuations increase when fewer atoms make each decision.

3. 03

   #### Change the pulse

   Lengthen the pulse, retain a mismatched record, then acquire matching standards.

   **What to observe:** The old calibration belongs to the old pulse. Inference rejects the mismatch and keeps the raw counts.

4. 04

   #### Separate stability from shift

   Warm the enclosure and inspect independent thermal references and the corrected command.

   **What to observe:** Temperature moves the whole resonance. Allan deviation is insensitive to a constant offset.

Physical conclusion

Atomic error, servo command and actual optical output are different quantities. An environmental shift needs its own calibration.

## Related experiments and articles

How physics instruments measure · Reading path

### How physics instruments measure

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

1. [Article **Keeping a laser in time with atoms**](https://sandboxphysics.com/stories/instruments/optical-lattice-clock/)

Fields & matter · Starter path

## From a field to an electron microscope

Map an electric field and steer a charged particle. Then find the electron's wavelength and use electron beams to see a crystal and a surface.

[Start here → **Make an Electric Field Visible** Move the probe around a dipole and check that the field always points downhill on the potential landscape. Observe · 8 min](https://sandboxphysics.com/labs/electric-field/)

1. [1 Make an Electric Field Visible](https://sandboxphysics.com/labs/electric-field/)
2. [2 A Charge Bending through Fields](https://sandboxphysics.com/labs/charged-particle/)
3. [3 Electron Wavelength & Voltage](https://sandboxphysics.com/labs/electron-wavelength/)
4. [4 Electron Diffraction & Reciprocal Space](https://sandboxphysics.com/labs/electron-diffraction/)
5. [5 TEM Bright Field, Dark Field & SAED](https://sandboxphysics.com/labs/tem-mode-selector/)
6. [6 SEM Secondary-Electron Topography](https://sandboxphysics.com/labs/sem-topography/)

[View the full path →](https://sandboxphysics.com/topics/fields-and-matter/#starter-path)
