Skip to main content
Sandbox Physics

Q021 · Refocusing / noise correlations

Spin Echo & Noise Spectroscopy

Watch phase arrows spread, flip and come together. Compare the same steady detunings with and without a pulse, predict the result, then test it with simulated counts. Open the full experiment to explore fluctuating noise and spectrum inference.

Interactive modelSpin Echo & Noise Spectroscopy
Your sequence · alignment100%100\%
No pulse · alignment100%100\%

The prepared state is ready. Move time forward to see the change.

Clock hands are illustrative transverse components in a rotating analysis frame; they are not measured spins. Bars use the ensemble model, not the six displayed examples.

Endpoint model and acquisition readouts
Model refocused coherence—\text{—}
Ideal-pulse reference—\text{—}
Numerical probability error—\text{—}
Acquired positive / negative—\text{—}
95% Wilson fraction interval—\text{—}
Explore the evidence · counts, fits and raw data

SIMULATED ACQUISITION

Follow the evidence through the noise.

Predict whether the selected inversions beat Ramsey. Acquire both time records, then inspect the conditional noise fit. Dashed curves are model references; colored points and bars are acquired fractions and 95% Wilson intervals.

No acquired record yet.

Inference from acquired counts

—\text{—}
Current counts and 95% intervals
BasisPositive / total95% Wilson interval
Model density matrix · not reconstructed data
ρ=I+r⋅σ2\rho=\frac{I+\boldsymbol r\cdot\boldsymbol\sigma}{2}
Latest raw events · full record in CSV
Event / runProtocol / basisDuration (ms)Outcome

Scientific basis: Hahn 1950 · Álvarez & Suter 2011

Physics tutorial

Ask what an echo reverses

BackgroundA prepared transverse state loses ensemble coherence when different members accumulate different phases. An inversion changes the sign of subsequent phase accumulation.

Why it mattersA refocusing experiment identifies timing and correlation structure. It does not reverse every physical source of information loss.

Start with the essentials

Focus question
When do more inversion pulses preserve less coherence?
One-sentence intuition
Compare the selected sequence and an independently acquired Ramsey baseline. Slow detuning is refocused; fast changes, irreversible dephasing and pulse area error remain.

Core mathematical model

Gaussian detuning model

Cf(u)=σf2e−∣u∣/τc,H/ℏ=πδf(t)σzC_f(u)=\sigma_f^2e^{-|u|/\tau_c},\quad H/\hbar=\pi\delta f(t)\sigma_z

The OU process is stationary with zero mean. Detuning is in kHz and time in ms; a separate static mode holds one Gaussian detuning fixed during each preparation.

Ideal-pulse coherence

W(T)=e−ΓφT−(2π)22∫0T ⁣∫0Ty(t)y(s)Cf(t−s) dt dsW(T)=e^{-\Gamma_\varphi T-\frac{(2\pi)^2}{2}\int_0^T\!\int_0^T y(t)y(s)C_f(t-s)\,dt\,ds}

The switching function changes sign at each instantaneous inversion. This exact Gaussian expression applies only to ideal pulse areas.

Quasi-static Hahn limit

W(T)=e−ΓφT−2π2σf2T2(2η−1)2W(T)=e^{-\Gamma_\varphi T-2\pi^2\sigma_f^2T^2(2\eta-1)^2}

A centered single inversion refocuses the static distribution exactly; moving it away from the midpoint leaves a residual signed time.

Declared OU spectrum

Sf(ω)=2σf2τc1+ω2τc2,Var⁡Φ=(2π)2∫−∞∞dω2πSf(ω)∣Y(ω)∣2S_f(\omega)=\frac{2\sigma_f^2\tau_c}{1+\omega^2\tau_c^2},\quad \operatorname{Var}\Phi=(2\pi)^2\int_{-\infty}^{\infty}\frac{d\omega}{2\pi}S_f(\omega)|Y(\omega)|^2

The lower plot shows model PSD and filter weight, each normalized for display. It is a diagnostic, not a spectrum reconstructed from measured counts.

Common difficulties

Coherence is not energy

Typical misconceptionEvery lost transverse vector means energy was lost.

Better mental modelThis experiment contains dephasing and rotations, with no energy-relaxation bath. An imperfect rotation can change population without thermal relaxation.

A finite filter is not a narrow spectral point

Typical misconceptionOne decay curve identifies the whole noise spectrum.

Better mental modelThe filter has finite width and side lobes. The two-parameter OU fit is conditional on the chosen family, scan window and independently known Markov rate.

Trajectory spread is not counted data

Typical misconceptionThe small dots are simultaneously measured individual spin directions.

Better mental modelThey are latent simulation trajectories, displayed in a toggling analysis frame. Individual acquired records contain only binary outcomes; the density matrix averages unobserved noise.

Run the experiment

  1. 01

    Recover a static ensemble

    Choose Exact static refocusing. Replay the protocol, then acquire a time scan.

    What to observe: The selected Hahn counts remain close to certainty while the independent Ramsey record decays. The short vector is an ensemble density matrix.
  2. 02

    Break the timing

    Drag the orange inversion marker away from the midpoint and reacquire.

    What to observe: A residual phase spread returns. Keyboard sliders set the same timing; camera movement changes neither physics nor counts.
  3. 03

    Probe finite memory

    Choose Hahn echo, acquire the two decay records, then choose Four-pulse train and repeat.

    What to observe: The count-only likelihood fit assumes an OU family and a known Markov rate. Broad or boundary-touching parameter ranges report limited identifiability.
  4. 04

    Expose a failed inference

    Choose Imperfect inversions, compare the selected counts with the dashed ideal reference, then choose Fast noise.

    What to observe: The ideal-pulse spectrum fit is disabled when area error is present. A separate trajectory integration error never becomes a shot confidence interval.