Leakage out of the Computational Subspace
A physical qubit is almost never a true two-level system. Superconducting transmons, trapped-ion and neutral-atom qubits, and semiconductor spins all carry a ladder of energy levels, of which only two are anointed as the computational states and . The rest — the leakage subspace — are nominally idle, but control fields, residual couplings, and thermal processes keep pushing population into them. The moment population leaves the computational subspace , the tidy abstraction of a "qubit channel" quietly fails. Leakage is qualitatively unlike the noise channels built for genuine two-level systems. An amplitude-damping or depolarizing channel maps qubit density operators to qubit density operators; leakage instead ships the qubit block of the density matrix into a larger space, so its restriction to is trace-decreasing. This is exactly what breaks quantum error correction. Stabilizer measurement decomposes errors into Pauli operators acting within the code's registers — but a leaked qubit carries no well-defined logical value, corrupts its neighbours through the very couplings meant to entangle them, and is invisible to a naive decoder. It is a silent error that accumulates round after round and can defeat the threshold theorem unless handled explicitly. Two regimes deserve separation. Coherent leakage comes from unitary control imperfections — chiefly off-resonant driving of the transition during single-qubit gates, set by the anharmonicity, and the deliberate use of higher levels in two-qubit gates (the controlled-phase gate rides the avoided crossing). It is reversible in principle and can be engineered away with DRAG pulse shaping. Incoherent leakage comes from the environment — thermal excitation, heating, photon-assisted transitions — and lives in the Lindblad framework. This article quantifies both, derives the off-resonant leakage of a driven anharmonic qubit, and proves the DRAG cancellation condition.
- Real qubits are the lowest two rungs of a multi-level ladder (a weakly anharmonic transmon, or hyperfine manifolds in ions and atoms); population that escapes the chosen span into auxiliary levels such as is leakage.
- Leakage is fundamentally not a Pauli error: the lost population is not described by any channel acting inside the qubit Hilbert space, so it violates the assumptions of stabilizer error correction and is invisible as an ordinary , , or flip.
- The dominant coherent mechanism in weakly anharmonic qubits is off-resonant drive of the transition, governed by the anharmonicity ; leakage scales as , so faster gates leak more — a speed-versus-leakage tradeoff.
- DRAG (Derivative Removal by Adiabatic Gate) suppresses coherent leakage to leading order by adding a quadrature drive plus a dynamic detuning .
- Formally, leakage is a CPTP map on the full multi-level space whose restriction to the qubit block is trace-decreasing; the leakage rate (out per operation) and seepage rate (back in) are the figures of merit, and incoherent residual leakage is managed by leakage-reduction units (LRUs) and reset that pump population from back into the qubit subspace.
- Key idea: Leakage is not an error inside the qubit channel — it is the failure of the channel to stay inside the qubit Hilbert space. Quantify it by a leakage rate and a seepage rate , and engineer control so falls faster than the gate's speed demands.
Leakage is not an error inside the qubit channel — it is the failure of the channel to stay inside the qubit Hilbert space. Quantify it by a leakage rate (population out per gate) and a seepage rate (population back in), and engineer control so is suppressed faster than the gate's speed demands.
Where this lives today
Leakage control is now load-bearing infrastructure in every serious quantum-computing roadmap. On single-qubit gates, DRAG-shaped pulses are universal across transmon processors: the in-phase envelope drives the rotation while and hold coherent leakage below the decoherence-limited error, enabling ~20–30 ns gates at single-qubit fidelities beyond 99.9%. On two-qubit gates the physics inverts: the controlled-phase gate pushes near resonance with to harvest a conditional phase, deliberately visiting the leakage level, and net-zero or adiabatic flux pulses are shaped to return the population coherently since residual occupation is the dominant two-qubit leakage channel. At the system level, surface-code experiments from Google and others interleave leakage-reduction units — reset or swap operations that flush leaked population each cycle — because otherwise leakage accumulates and caps the logical error rate; the 2023 "below threshold" results depend on it. For simulation, the Pauli-twirling approximation replaces residual post-reduction leakage with an effective depolarizing channel, tractable inside stabilizer simulators. Leakage-aware decoders using analog readout to flag leaked qubits, and the leakage budget of fluxonium architectures, remain active fronts.
The physical picture
Picture the qubit as the bottom two rungs of a slightly uneven ladder. To flip you push at the rung-spacing frequency . But the next rung sits at , only slightly detuned because the anharmonicity is small. A short, hard push has a broad frequency spectrum that inevitably rattles the rung as well — that spilled population is leakage, and the faster the gate the worse the spill. The first figure fixes the geometry: the ladder, the two nearby transition frequencies, and the detuning that is the only thing keeping population out of .
DRAG is the trick of pushing partly sideways. By adding a control quadrature shaped like the time-derivative of the main pulse, the spurious amplitude that would have climbed to is made to interfere destructively with itself and return to the qubit subspace by the end of the gate — a coherent cancellation, exact only to leading order in . Distinguish leakage from seepage the way you distinguish evaporation from condensation: leakage is the rate probability evaporates out of the qubit subspace per operation, seepage the rate it condenses back in. A passive process with detailed balance has both; an active LRU drives toward a known state so error correction can proceed. The second figure is the number an experimentalist lives with — how much an unshaped pulse leaks, and how slow it must be to hit a fault-tolerant target.
Why error correction hates leakage: a stabilizer code asks "which Pauli happened?" A leaked qubit answers with a shrug — its state is not in the question's domain. Worse, the residual couplings the code uses to compute syndromes let a leaked qubit corrupt its neighbours every cycle, so a single leakage event spreads. The remedy is to convert the leakage back into a legitimate (if erroneous) qubit state the decoder can handle as an ordinary error.
The core equations
The starting point decomposes the full Hilbert space: only the first two levels are computational, everything above is leakage, and every quantity below is bookkeeping about how population crosses between the two blocks.
where: — computational (qubit) subspace, dimension ; — leakage subspace, spanned by , dimension . The device lives in ; the algorithm only ever intends to use . The two blocks are picked out by orthogonal projectors that measure "how much population is where" independent of any particular state.
where: — projector onto the qubit subspace; — projector onto the leakage subspace. The resolution of identity , inserted inside a channel, exposes the leakage cross-terms. The average leakage rate is the fraction of population an operation ejects from the qubit block, computed from a maximally mixed qubit input so it does not depend on the starting logical state. This is the Wood–Gambetta definition.
where: — CPTP map of the gate on the full Hilbert space; ; — average fraction of qubit population lost to per operation. Feed in , project the output back onto , and is whatever trace went missing. Seepage is the mirror image: the fraction of leakage-subspace population an operation returns to the qubit block, from a maximally mixed input on . A leakage-reduction unit is engineered to make large.
where: — average fraction of leakage-subspace population returned to per operation; — dimension of the leakage subspace; — maximally mixed state on . Together and are the transition rates of a two-compartment population model, related by detailed balance in a passive device. For the coherent mechanism we need the driven Hamiltonian. In the frame rotating at the qubit frequency, a resonant drive couples and , and the auxiliary level sits detuned by exactly the anharmonicity.
where: — complex drive envelope (Rabi frequency, ); — bosonic enhancement of the matrix element; — anharmonicity, the static detuning of (negative for transmons). The single small parameter controls everything — leakage exists because is not infinite. DRAG cancels the leading leakage amplitude with a quadrature drive proportional to minus the derivative of the in-phase envelope, plus a dynamic detuning that repairs the phase.
where: — in-phase (target) envelope; — quadrature (DRAG) envelope; — its time derivative; — dynamic frequency shift compensating the AC-Stark pull from the virtual excursion. Shape the derivative into the orthogonal channel and the population climbing toward comes back down. Incoherent leakage — the part control cannot fix — obeys a GKSL master equation with jump operators moving population up and down the rung at thermally set rates.
where: — GKSL dissipator; — seepage (relaxation ); — thermal leakage (excitation ). Even with perfect control, finite temperature keeps — a residual leakage floor.
The goal is to prove the structural fact that makes leakage special: a channel perfectly trace-preserving on the full multi-level Hilbert space is nonetheless trace-decreasing when restricted to the qubit block, and the deficit is exactly the leakage rate . We start from the Kraus form of a CPTP map, insert the resolution of identity to split each Kraus operator into a part that stays in and a part that escapes to , and read off why no Pauli channel can reproduce the result — the formal statement behind "leakage is invisible to a stabilizer decoder."
Step 1. Write the gate as a CPTP map with Kraus operators obeying the completeness relation on the full space. Why: completeness on is trace preservation on — the channel loses nothing overall; the question is only where the population ends up.
Step 2. Feed in the maximally mixed qubit state and compute the surviving qubit-block trace . Since the input stays in the block, but the output can land in either. Why: the cross-terms are exactly the amplitude leaving the qubit subspace.
Step 3. The population that fails to return is , so , and by definition (3) that second term is exactly . Why: the qubit-block trace drops by — the restricted channel is trace-decreasing whenever any Kraus operator has a component.
Step 4. A trace-decreasing qubit map has no Pauli-mixture representation, since every Pauli channel is trace-preserving on . No syndrome can account for the missing population, so restoring trace preservation requires seepage — an LRU or reset pumping back down as in definition (4). Why: this is the precise reason leakage must be converted, not merely decoded.
Go deeper · Derivation B · 1 minOff-resonant leakage of a driven anharmonic qubit
The goal is to compute how much population a resonant single-qubit pulse pumps into as a function of drive strength and anharmonicity , recovering the central scaling that makes leakage the dominant coherent error in fast transmon gates. We reduce the three-level dynamics to the block, treat it as an off-resonant two-level Rabi problem with detuning , and expand for weak driving. The payoff is the quantitative origin of the speed-versus-leakage tradeoff — the target DRAG must beat.
Step 1. Isolate the leaky transition. While the drive rotates , the same envelope couples with Rabi frequency and fixed detuning , read straight from the bottom-right corner of . Why: near the problem is a textbook driven two-level system off-resonant by , so standard Rabi physics applies.
Step 2. Apply the off-resonant Rabi formula. The population reaching oscillates as
where the prefactor caps the maximum transferable population and the generalized Rabi frequency sets the oscillation. Why: a detuned drive can never fully invert; the detuning throttles both the amplitude and the speed of the excursion to .
Step 3. Expand for weak driving. When the detuning dominates the generalized Rabi frequency, the prefactor becomes , and the peak leakage is
Why: in the regime every real qubit operates in, the peak leakage is set purely by the ratio of drive amplitude to anharmonicity, with no dependence on pulse details.
Step 4. Read off the tradeoff. Leakage grows quadratically with ; a square π-pulse has , so — halving the gate time quadruples the leakage. Why: this is the exact curve plotted in the second figure and the quantitative pressure that DRAG is engineered to relieve. *As a quick check: with MHz and ns, one has MHz and , and the formula correctly gives as .*
Go deeper · Derivation C · 1 minDRAG cancellation to leading order
The goal is to show that adding a quadrature envelope cancels the leading leakage amplitude, and that a companion detuning repairs the phase the correction disturbs. The strategy is an adiabatic frame transformation that dresses with a small admixture of set by the instantaneous drive; the frame change generates a geometric term against which the physical quadrature control is tuned to interfere destructively. This turns the previous derivation's speed-versus-leakage wall into a soft one.
Step 1. Adiabatically eliminate . Define a time-dependent unitary that diagonalizes the instantaneous coupling to , dressing with an admixture so the fast virtual excursion is absorbed into the effective qubit states. Why: leakage is a real transition riding on a virtual excursion; the frame change separates the reversible virtual part from the irreversible leaked part.
Step 2. Track the residual transition amplitude. Because is time dependent, transforming the generator produces a geometric contribution , and the net drive becomes
The physical control supplies ; the frame supplies ; their sum is the leftover leakage drive. Why: the derivative term is unavoidable geometry, so the only lever is to feed in a quadrature that exactly opposes it.
Step 3. Impose cancellation. Setting the bracket to zero gives the leading-order DRAG condition , which zeroes the leakage amplitude over the whole pulse rather than only on average. Why: shaping the quadrature as minus the in-phase derivative makes the induced and geometric amplitudes cancel instant by instant, not just at the endpoints.
Step 4. Repair the phase. The virtual excursion also pushes down by a second-order AC-Stark shift , mistuning the intended rotation. Compensate it with the dynamic detuning . With both corrections the residual leakage falls to or higher, buying roughly a factor of a few in gate speed at fixed leakage. Why: cancelling leakage without fixing the induced phase would trade a leakage error for a coherent over/under-rotation — DRAG must do both to be useful.
Limiting cases
Leakage severity is fixed by the interplay of anharmonicity, gate speed, and temperature; the four corners below bracket every real device.
| Case | Result | Meaning |
|---|---|---|
| Large anharmonicity (ideal qubit) | When the anharmonicity dwarfs the drive amplitude, the transition is far off-resonant and leakage is negligible — the two-level approximation is excellent (ions, atoms). | |
| Weakly anharmonic transmon | Off-resonant leakage scales as the squared drive-to-anharmonicity ratio; with to MHz this forces either slow gates or DRAG. | |
| Fast (broadband) gate limit | If the gate time approaches the inverse anharmonicity, the pulse bandwidth blankets and leakage becomes order unity — the hard speed limit for unshaped pulses. | |
| Thermal (incoherent) limit | Detailed balance fixes thermal excitation into relative to relaxation out; leakage persists even with perfect control whenever . |
Worked examples
1 · Leakage of an unshaped fast gate (fully worked)
A transmon has anharmonicity . You drive a single-qubit rotation with an unshaped square pulse of duration . Estimate the peak leakage into . Then find how slow the gate must be to reach the fault-tolerant target , and how much DRAG buys you.
Step 1. Fix the drive amplitude. A square -pulse has , so and the small parameter is .
Step 2. Apply the scaling from Derivation 2: . An unshaped 20 ns gate leaks about 0.8% per operation — two orders of magnitude above the fault-tolerant target.
Step 3. Invert for the target. Setting gives , so and — roughly 9× slower than the shaped gate.
Step 4. Compare with DRAG. By cancelling the leading amplitude, DRAG makes residual leakage scale as instead of ; at that is , in practice below at the same 20 ns. The shaped pulse hits at 20 ns the target the unshaped pulse cannot reach before 177 ns — the value proposition of DRAG in one comparison.
2 · The thermal leakage floor (detailed balance)
The same transmon has , so the transition sits at . In a dilution refrigerator at , and with perfect coherent control, what is the residual thermal population of relative to ?
Step 1. Thermal energy scale: , so at , .
Step 2. By detailed balance (equation 7), .
Step 3. Evaluate: . Thermal physics alone parks about one part in of any population in — a hard floor no pulse shaping can remove. Leakage has an irreducible incoherent component set by temperature, which is why reset and LRUs, not just DRAG, are needed, and why a higher qubit frequency or colder fridge lowers the floor.
Physics of the portrait
Leakage control is where the abstract theory of quantum channels meets the concrete engineering of a microwave pulse. Its lineage runs from the weakly anharmonic transmon, through the derivative-quadrature trick, to the modern definitions of leakage and seepage.
Origins · 1 minDRAG pulse shaping and how this was discovered
DRAG — Derivative Removal by Adiabatic Gate — is the pulse-shaping idea that made fast, low-leakage single-qubit gates possible, and its story is inseparable from the transmon. In 2007 Jens Koch and collaborators at Yale introduced the transmon, which traded charge-noise sensitivity for a shrunken anharmonicity of a few hundred megahertz, so the transition sat dangerously close to the qubit frequency and every fast gate flirted with leakage. In 2009 Felix Motzoi, Jay Gambetta, Patrick Rebentrost, and Frank Wilhelm published the resolution: driving the orthogonal quadrature with makes the virtual excursion to close on itself, cancelling the leading-order leakage amplitude, while repairs the induced AC-Stark phase. Gambetta and coworkers extended the framework in 2011 to higher order. A decade later Christopher Wood and Jay Gambetta defined the average leakage and seepage rates as gauge-invariant channel quantities — the and of this article. Today DRAG is the default single-qubit waveform on essentially every transmon platform.
Going further
Texts and papers. Nielsen & Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Ch. 8 (quantum operations, CPTP maps) and Ch. 7 (driven two-level dynamics) · Preskill, Lecture Notes for Physics 219, Ch. 3 (quantum channels) · Wilde, Quantum Information Theory, 2nd ed. (channels and Kraus representations) · Watrous, The Theory of Quantum Information (completely positive maps) · Kitaev, Shen & Vyalyi, Classical and Quantum Computation (fault tolerance) · Koch et al., PRA 76, 042319 (2007) — the transmon and its anharmonicity · Motzoi, Gambetta, Rebentrost & Wilhelm, PRL 103, 110501 (2009) — DRAG · Gambetta et al., PRA 83, 012308 (2011) — analytic leakage control · Wood & Gambetta, PRA 97, 032306 (2018) — leakage and seepage rate definitions. The key worked numbers throughout this article are: ns with MHz gives MHz and ; reaching the fault-tolerance target unshaped requires ns; and the 20 mK thermal leakage floor for GHz is .
Prerequisites. Open Quantum Systems and Reduced Dynamics · Quantum Operations and CPTP Maps · Kraus Representation of Quantum Channels · Lindblad / GKSL Master Equation. Leads to. Depolarizing Channel · Amplitude Damping Channel · Markovian vs Non-Markovian Dynamics.
Ask the tutor: Want me to walk through how DRAG's derivative pulse actually closes the virtual excursion to , or how a surface-code decoder turns a leaked qubit into a correctable erasure?
Is leakage the same thing as decoherence?
No, though they often occur together. Decoherence (dephasing and relaxation) acts within the qubit subspace — it scrambles the relative phase or damps toward , but the population stays in and the qubit map stays trace-preserving. Leakage moves population out of the qubit subspace, so the restricted map is trace-decreasing and qubit-channel language fails. A relaxation event () is a legitimate error a decoder can handle; a leakage event is silent until seepage or an LRU brings the population back. The cures differ too: decoherence is fought with better materials and dynamical decoupling, leakage with pulse shaping and active reset.
Why does the anharmonicity carry a minus sign for transmons?
The transmon is a slightly anharmonic oscillator whose levels bunch together as you climb, so the spacing is smaller than the spacing. With that makes negative, typically to MHz. The sign matters for DRAG, since and both flip with it. But the magnitude of leakage is set by — a larger gap in either direction pushes the leakage transition further off-resonance and suppresses the spill.
Why is there a √2 in the driven three-level Hamiltonian?
Because the transmon is nearly a bosonic mode, and a charge or dipole drive couples adjacent levels through the ladder operator , with matrix elements . For that factor is , but for it is — so the leakage transition is driven more strongly than the computational one at the same amplitude. This is why leakage is worse than a naive two-level estimate, and it shows up squared (a factor of 2) in .
Do trapped ions and neutral atoms leak too?
Yes, but usually far less from the coherent channel. Ion and atom qubits are encoded in hyperfine or optical levels whose nearest unwanted transition is detuned enormously compared with the Rabi frequency, so off-resonant leakage is tiny. Their leakage is instead incoherent: off-resonant scattering into other hyperfine states, spontaneous emission, or imperfect optical pumping shelves population outside the qubit subspace. The formalism is identical — a trace-decreasing map with rates and — but the dominant mechanism shifts from control bandwidth (transmons) to photon scattering (atoms and ions).
How does a decoder actually cope with residual leakage?
Two complementary tricks. First, conversion: an LRU or reset each cycle pumps population back into the qubit subspace, turning a silent leakage error into an ordinary Pauli-like error the decoder understands and bounding how far it spreads. Second, approximation: whatever survives between reductions is Pauli-twirled into an effective depolarizing channel the decoder treats as extra noise. Advanced schemes use analog readout to flag likely-leaked qubits, feeding the decoder an erasure — easier to correct than an unknown Pauli. The seepage rate sets how quickly conversion restores the qubit picture.
Can leakage ever be useful rather than just harmful?
Yes — two-qubit gates on transmons rely on it. The controlled-phase gate tunes into near-resonance with , letting the pair swap virtually and pick up a conditional phase; the whole gate is a controlled visit to the leakage subspace. The challenge is to make the visit return — net-zero and adiabatic flux pulses shape the trajectory so population that climbed to comes back to , leaving only the desired phase. Higher levels are simultaneously the resource behind fast entangling gates and the liability that makes two-qubit leakage the dominant error when the pulse is imperfect.