How T1 and T2 are measured: T1 decay, Ramsey, echo and Rabi

The four standard experiments, the formulas behind them, and how the lab fits simulated data.

9 min read · reviewed December 2026

The four experiments

The four basic experiments.
ExperimentPulse sequenceWhat it measuresP(reading 1)
T1 decayπ, wait t, readEnergy relaxation time T1e^(−t/T1)
Ramseyπ/2, wait t, π/2, readDephasing time T2* and the qubit frequency½(1 − e^(−t/T2*) cos δt)
Spin echoπ/2, wait, π, wait, π/2T2 with slow frequency drift cancelled½(1 − e^(−t/T2))
Rabidrive for t, readPulse calibration; decay of the oscillation½(1 − e^(−t/T) cos Ωt) in this lab’s model

Why each is done

  • T1 decay measures how long energy lasts.
  • Ramsey measures how long phase stays coherent in a single run, including slow drifts, and finds the qubit frequency from the oscillation.
  • Spin echo cancels slow drifts and gives T2.
  • Rabi drives are used to calibrate the pulse that makes a π or π/2 rotation.

Shot noise

Each run ends in 0 or 1, so each data point is an average over many shots. With n shots the scatter of a probability p is about √(p(1−p)/n). The lab lets you change the shots per point and re-run to see how the fitted time scatters around the true value. In a test of 30 random seeds on the T1 experiment, 4000 shots per point gave fits within 1 percent of the true value, while 20 shots gave a typical error of about 4 percent and a worst case of about 14 percent.

Fitting

The lab fits by trying a grid of about 600 trial decay times and keeping the one with the smallest sum of squared differences. Real labs use nonlinear least-squares fits with more parameters, including offsets and amplitude, because real readout is imperfect. This lab’s data are ideal, so the simple fit is enough.

The Rabi curve here is a simple decaying cosine, used as a model. Real Rabi decay can have a different shape.

Try it

Questions

Why does the Ramsey curve oscillate?

The drive is slightly off the qubit’s frequency. During the wait, the qubit’s phase advances relative to the drive, and the second π/2 pulse converts that phase into a population.

Why does the echo help?

The π pulse in the middle reverses the phase accumulated so far, so any constant frequency error cancels at the end.

How many points are needed?

A few dozen points spread over a few times T1 or T2 are usual. The lab uses 40.

Read next

Sources and further reading

Check the original sources for exact citations.