Two moments, one spectrum.

Two brief reflections from a thin film leave stripes in the light’s frequency spectrum. Can we recover the time between them?

Read an archived spectrum

Predicted stripe spacing
1.00 THz
Lower-band delay fit
980 fs
Upper-band delay fit
578 fs

Share of the remaining spectral variation explained by each fit

34%
6%

The frequency window matters

The lower band recovered the recorded separation within 5% in 12 of 14 settings. Its median error was 3.1%. The two bands’ independent estimates differed by a median 40.7% of the recorded separation. The upper band explained little of the residual variation even at its own best fit.

The original study reported clearer stripes on the low-frequency side. This check measures how much that difference matters when estimating an unknown separation from either side.

Set the windows to coincide. The algorithm still returns a number in each band because it searches for a best fit. A strong experiment needs to check the fit against a control, as well as watch for repeatable results across settings.

Where these numbers come from

Tirole and colleagues used two short changes in the reflectivity of indium tin oxide. For two equal, coherent windows, a frequency component acquires a relative phase of 2πfΔt. Neighboring bright fringes are separated by 1/Δt. At 1,000 fs that gives 1 THz.

I used all 14 recorded settings with at least four nominal cycles in each six-THz comparison band, plus the zero-delay row. The delay selector keeps the authors’ signed labels. Predicted stripe spacing depends on the magnitude of the delay.

The analysis subtracts a quadratic baseline from the signed detector counts and fits one sinusoid at each trial separation from 450 to 1,550 fs. The fit sees the frequency and intensity columns, with each delay label reserved for comparison. The two bands are portions of the same scans.

In exploratory checks, shifting the lower window by up to half a terahertz yielded median errors of 2.9–3.3%. None of the 14 upper-band estimates fell within 5% of the recorded setting. This comparison covers one instrument and one archived set of scans.

Tirole and colleagues’ paper · Authors’ source data, CC BY 4.0 · Run the check · See all fitted estimates · See the window sensitivity

Use interference to factor 15

Powers of 2 leave remainders 1, 2, 4 and 8 when divided by 15. Then they repeat. This idealized 16-bin example keeps the four exponents with remainder 2. A Fourier transform converts their spacing into peaks.

Chance the bin directly gives period four
50%
Probability by Fourier measurement bin
BinProbability
025%
425%
825%
1225%
The other 12 bins combined0%

Bins 4 and 12 give the fractions 1/4 and 3/4. With the period known, 2² − 1 and 2² + 1 share the factors 3 and 5 with 15. The randomized control can land on the same bins by chance. The coherent pattern makes those outcomes four times as likely in this example.

Shor’s original algorithm · Gidney’s 2,048-bit hardware estimate