T1 in Energy Relaxation Characterization#

The T1 measurement determines a qubit’s energy relaxation time: how long it can maintain its excited state before decaying to the ground state through interaction with its environment. T1 is a fundamental coherence limit on quantum computing applications, so this node also repeats the measurement several times to give a sense of its run-to-run spread, not just a single-shot estimate.

Code structure#

Class: T1#

The T1 class sets up the delay sweep for every qubit. It is an ExternalParameterFixedScheduleQubitNode: the same compiled schedule (delay sweep, per-point hardware averaging, and the automatic calibration-points block) is executed independently t1_repetitions times, each execution tagged with its own t1_repetitions coordinate — sweep data and calibration points alike.

Class: T1Measurement#

The measurement class responsible for executing the delay sweep.

Method: point_schedule / schedule_function#

For each delay, the qubit is reset, excited to \(|1\rangle\), and measured after that delay (implemented as a readout holdoff time), hardware-averaged over repetitions shots (bin_mode="average_append"). That averaging is expressed as an explicit loop register rather than the schedule’s top-level repetitions argument, which BaseNode.precompile requires to stay at 1 for nodes that opt into the automatic calibration-points block (append_calibration_points = True, as T1 does).

Class: T1Analysis#

The analysis class that fits the T1 decay of a single qubit, repeated independently t1_repetitions times. Every delay point is a single hardware-averaged value — the repetitions averaging collapses into it before this analysis ever sees the data, so it is not a coordinate available to combine over here. Each of the t1_repetitions independent sweeps is instead projected onto the \(|0\rangle\)–\(|1\rangle\) calibration axis using its own calibration points (never averaged across repeats) and fit separately to an ExponentialDecayModel. Fits without a valid covariance (e.g. parameters pinned at their physical bounds, as happens for non-decaying data) are rejected and excluded.

Method: compute_qoi#

The reported t1 is the mean of the per-repeat fitted values, and t1_error is the plain (population) standard deviation across those repeats — not a fit-parameter standard error, since the per-point hardware averaging (repetitions) isn’t a coordinate this analysis has access to. offset/amplitude (and their errors) are computed the same way. The figure’s ±1σ error band comes from re-evaluating the mean fit curve with only T1 varied to t1 ± t1_error (offset and amplitude held at their mean).

Output: xarray.Dataset#

The dataset holds, per qubit, the calibrated (or raw, if no calibration points are available) signal at each delay, tagged by the t1_repetitions coordinate for the independent repeats, plus the automatic calibration-points block for each repeat.

Class: T1Parameters#

The T1Parameters class encapsulates the parameters for T1 characterization. All fields are currently acquisition fields (baked into the hardware sweep — changing one requires re-running on hardware); see Parameter field categories.

Acquisition fields#

  • delays: list[float] — delays between excitation and readout, in seconds. Default a linear sweep from 0 to 360 µs in 31 points (12 µs steps); must stay a true evenly spaced sweep, since the schedule expresses it as a single hardware loop domain.

  • repetitions: int = 1024 — number of hardware-averaged shots per delay point.

  • t1_repetitions: int = 3 — number of independent repeats of the full delay sweep (and its own calibration points). T1 is fitted separately per repeat; the reported t1 is the mean across repeats and t1_error is their standard deviation.

Class: T1QOI#

  • t1 / t1_error: the fitted relaxation time (µs) and its run-to-run spread.

  • offset / offset_error, amplitude / amplitude_error: the exponential decay’s fit parameters, averaged the same way.

T1 is a characterization quantity, not a calibration knob — there is no device-model attribute to write back, so to_dict() returns an empty mapping. Results are written to Redis only, under t1, t1_offset, and t1_amplitude.