Leakage & Non-Ideal Two-Level Systems
Anharmonicity, leakage out of the qubit subspace, and DRAG pulses.
A transmon is not a two-level system. It is a ladder whose rung spacing shrinks by only a few percent per step, so a fast pulse aimed at also tickles . This lesson quantifies that leakage, explains why it is worse than an ordinary error, and derives DRAG, the pulse-shaping trick that cancels it to leading order.
What you’ll learn
- Model a transmon as a weakly anharmonic (Kerr) ladder and state the asymptotic trade-off between anharmonicity and charge dispersion.
- Estimate leakage from the spectrum of the pulse envelope at the detuning, and explain the accompanying phase errors.
- Derive the first-order DRAG condition and show that it leaves the qubit rotation unchanged.
- Explain why leakage is especially damaging for error correction, and how it is measured (, ) and removed.
A ladder, not a pair
A transmon is an LC oscillator whose inductor is a Josephson junction. Expanding the junction's cosine potential beyond quadratic order gives, to leading order, a Kerr (Duffing) oscillator:
A transmon has . Using the asymptotic formula, what is the magnitude of its relative anharmonicity , in percent?
Show the answer
5 %
. At GHz that is MHz: the line sits only MHz below the qubit line.
Leakage: the spectral picture
Drive at and move to the rotating frame, keeping three levels. With complex envelope , the RWA Hamiltonian is
First-order perturbation theory in the coupling, in the interaction picture with respect to .
For an estimate, treat as an constant: leakage is set by the envelope's spectral weight at the leakage detuning.
A Gaussian of rotation angle (area) has .
With MHz and ns, and the suppression factor is only : a short π pulse leaks badly. At ns the factor is below . Real pulses are truncated, which adds spectral tails, so practical gates use plus the corrections below.
Why is leakage more harmful to error correction than a bit flip of the same probability?
- It only happens when the qubit is idle
- A leaked qubit is outside the code space: syndrome circuits misbehave, it can persist for many rounds, and it spreads correlated errors to its neighbors
- It always causes an immediate logical error
- It cannot be detected, even in principle
Show the answer
B. A leaked qubit is outside the code space: syndrome circuits misbehave, it can persist for many rounds, and it spreads correlated errors to its neighbors
Codes are built for errors that act within the qubit space, where syndrome measurements digitize them into Pauli errors. A transmon in makes the stabilizer circuits around it behave erratically. It lives for about , and through two-qubit gates it generates correlated errors, which codes handle poorly. Hence leakage-reduction units and multi-level reset.
DRAG: cancelling the leakage line
Integrate by parts; the boundary terms vanish because the envelope does.
Transform the complex envelope with the DRAG quadrature.
The spectrum has an exact zero at the leakage line. The qubit line () still sees area , and the quadrature has no net area, so there is no extra rotation.
The spectral argument freezes . The systematic derivation uses a time-dependent frame that dresses the qubit levels with order by order in ; it confirms the quadrature and supplies the detuning correction. First-order variants that target leakage or phase errors differ in the quadrature coefficient by about a factor of two, so experiments write and calibrate .
import numpy as np
def drag_pulse(t, t0, sigma, theta, alpha, beta=1.0):
"""Gaussian in-phase envelope of area theta, plus the DRAG quadrature."""
A = theta / (sigma * np.sqrt(2 * np.pi))
omega_x = A * np.exp(-((t - t0) ** 2) / (2 * sigma**2))
domega_x = -(t - t0) / sigma**2 * omega_x
omega_y = -beta * domega_x / alpha
return omega_x, omega_y # rad/ns when t, sigma are in ns and alpha in rad/ns
t = np.linspace(0.0, 20.0, 401) # a 20 ns gate, sigma = 5 ns
ox, oy = drag_pulse(t, t0=10.0, sigma=5.0, theta=np.pi, alpha=-2 * np.pi * 0.25)A DRAG π pulse for a transmon with MHz. The quadrature is an antisymmetric "derivative" lobe. Truncating at leaves edge jumps of about of the peak (), so real waveforms subtract that offset, making the envelope start and end at zero as the derivation assumes.
Measuring and managing leakage
Leakage randomized benchmarking tracks the population outside after random gates and fits it to a two-state Markov model. Per gate, population leaks out with probability and seeps back with probability (Wood & Gambetta, 2018):
| Non-ideality | Origin | Typical mitigation |
|---|---|---|
| Leakage to | weak anharmonicity; fast or strong pulses | DRAG, longer pulses, leakage-reduction units, reset |
| Charge dispersion | offset-charge dependence of levels, | large (the transmon regime) |
| Two-level-system defects | microscopic defects in amorphous oxides couple resonantly to the qubit; fluctuates in time and frequency | materials and fabrication, frequency tuning away from defects |
| Static coupling | repulsion between and in coupled transmons | tunable couplers, echo sequences |
| Quasiparticles and radiation | broken Cooper pairs; high-energy impacts cause correlated error bursts | shielding, phonon and quasiparticle traps |
Key takeaways
- A transmon is a weakly anharmonic ladder: with , a few percent of . Large buys exponential charge-noise immunity at an algebraic cost in anharmonicity.
- Leakage is driven by the envelope's spectral weight at the detuning, roughly for Gaussians, and AC Stark phase errors accompany it. Speed and leakage trade off.
- First-order DRAG, , puts a spectral zero at while preserving the rotation; a detuning correction handles the phase error, and is calibrated in practice.
- Leakage takes qubits outside the code space and causes long-lived, correlated errors. It is measured with leakage RB (, ) and removed with leakage-reduction units and reset.
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
A transmon has GHz and MHz. What is the transition frequency?
- 5.25 GHz
- 4.75 GHz
- 4.5 GHz
- 9.75 GHz
Show the answer
B. 4.75 GHz
, so GHz. A drive at 5 GHz is detuned from it by only 250 MHz, 5% of the qubit frequency.
What does the DRAG quadrature do to the spectrum of the complex envelope ?
- It narrows the whole spectrum
- It shifts the spectrum by
- It places a zero at the leakage detuning while keeping the pulse area at
- It removes the counter-rotating terms
Show the answer
C. It places a zero at the leakage detuning while keeping the pulse area at
: a zero exactly at , unchanged weight at .
In the leakage model with leakage rate and seepage rate per gate, what fraction of the population is leaked after very many gates?
Show the answer
D.
The update has fixed point , approached geometrically as .
Raising a transmon's from 50 to 100 has roughly what effect?
- It reduces the relative anharmonicity by about and suppresses charge dispersion by more than three orders of magnitude
- It halves both the anharmonicity and the charge dispersion
- It increases the anharmonicity
- It leaves the charge dispersion unchanged
Show the answer
A. It reduces the relative anharmonicity by about and suppresses charge dispersion by more than three orders of magnitude
falls from 5% to about 3.5%. The exponent grows from 20 to about 28.3, so drops by , partly offset by a slowly growing prefactor.
Further reading
- J. Koch, T. M. Yu, J. Gambetta, A. A. Houck, D. I. Schuster, J. Majer, A. Blais, M. H. Devoret, S. M. Girvin & R. J. Schoelkopf, Charge-insensitive qubit design derived from the Cooper pair box, Physical Review A (2007).
- F. Motzoi, J. M. Gambetta, P. Rebentrost & F. K. Wilhelm, Simple pulses for elimination of leakage in weakly nonlinear qubits, Physical Review Letters (2009).
- J. M. Gambetta, F. Motzoi, S. T. Merkel & F. K. Wilhelm, Analytic control methods for high-fidelity unitary operations in a weakly nonlinear oscillator, Physical Review A (2011).
- C. J. Wood & J. M. Gambetta, Quantification and characterization of leakage errors, Physical Review A (2018).
- P. Aliferis & B. M. Terhal, Fault-tolerant quantum computation for local leakage faults, Quantum Information & Computation (2007).