Gate Set Tomography
Every characterization of a quantum gate seems to demand a paradox. To learn what a gate does you feed it known states and read it out with known measurements — but on real hardware the states you prepare and the measurements you make are themselves flawed, and flawed by roughly as much as the gate you are trying to pin down. Calibrating the preparations needs trustworthy gates; calibrating those gates needs trustworthy preparations; and round the circle goes. Standard quantum process tomography cuts the knot by assuming perfect state preparation and measurement, which quietly stamps the very errors it ignores onto the gate it reports. Gate set tomography, GST, refuses that assumption: it treats the preparation, the whole family of gates, and the measurement as one jointly unknown object and demands nothing of the data except internal self-consistency. This is the deep-tier synthesis of the characterization thread, taking the CPTP structure of aq-qci-cptp-maps-quantum-operations, the operator-sum language of aq-qci-kraus-representation-q9, and the noise vocabulary of aq-qci-pauli-bit-phase-flip-channels and aq-qci-decoherence, and assembling from them the most rigorous self-calibrating protocol in the toolbox. Three ideas organize everything below. First, self-consistency has a price: the reconstruction is fixed only up to a gauge, an invisible similarity transformation that reshuffles the matrices without touching any measurable probability, so only gauge-invariant figures of merit are physical. Second, the estimate lives in the Pauli transfer matrix picture, where states are real vectors, measurements real covectors, and gates real matrices that multiply. Third, by repeating short "germ" circuits deep, GST amplifies coherent errors linearly in depth and reaches a precision that scales like 1/L — the hallmark of Heisenberg-limited estimation.
- Gate set tomography characterizes a complete set of operations — state preparation, gates, and measurement (SPAM) — self-consistently, treating every element as unknown rather than trusting a perfect reference frame.
- The obstruction it must live with is the gauge freedom: a similarity transformation on all gate matrices, the state, and the effect leaves every observable probability invariant, so absolute process matrices carry no meaning.
- Circuit outcome probabilities are bilinear, , in the Pauli transfer matrix representation of CPTP maps.
- Long-sequence GST repeats germ circuits to depth , amplifying a coherent per-gate error into a signal and reaching precision , far past the of naive tomography.
- It reports gauge-invariant quantities only — fidelity, diamond norm, process eigenvalues — cleanly separating coherent from stochastic errors, and because it overfits a Markovian model its goodness-of-fit statistic doubles as a detector of non-Markovian, drifting, or context-dependent errors.
- Key idea: treat preparation, gates, and measurement as jointly unknown, fit them to circuit frequencies up to an unobservable gauge similarity, report only gauge-invariant figures of merit, and use deep germ-power circuits to reach 1/L precision on coherent errors.
Treat preparation, gates, and measurement as jointly unknown; fit them to circuit outcome frequencies up to an unobservable gauge similarity, then report only gauge-invariant figures of merit, using deep germ-power circuits to amplify coherent errors and reach estimation precision.
Where this lives today
Gate set tomography is the most rigorous single-tool answer to "how good, and how, is this gate?", and it runs on real hardware through the Sandia pyGSTi package, which trapped-ion, superconducting, and spin-qubit teams use to turn raw circuit counts into gauge-invariant error reports. Its distinctive output — a physically constrained gate set plus a diamond-norm bound and a coherent-versus-stochastic breakdown — lets a calibration engineer decide whether a bad gate needs a pulse-phase tweak (coherent, correctable) or a better qubit (stochastic, not). It is prized for what it adds to cheaper tools: randomized benchmarking returns one error rate fast but averages away structure, and the depolarizing rate GST extracts should match the RB decay constant — when they disagree, GST exposes the gate-dependent or non-Markovian error RB could not see. That model-violation test is a first-class result: a large goodness-of-fit statistic is a principled alarm for drift, crosstalk, leakage, or bath memory, tying device characterization to the study of open and non-Markovian systems. The main frontier is scale — circuit count and fit cost grow steeply with qubit number — so full GST remains mostly a one- and two-qubit instrument, with active work on scalable and crosstalk-aware variants for the many-qubit devices fault tolerance will demand.
The physical picture
Imagine you must measure the lengths of several rulers with no trusted reference — no metre stick, only the ability to lay one ruler against another. You can determine every relative length perfectly: this ruler is 1.07 times that one, that one 0.94 times a third. What you can never fix is a global rescaling of the whole set, because multiplying every ruler by the same factor changes no measured ratio. Gate set tomography is exactly this predicament. The unmeasurable rescaling — really a similarity transformation of the operational frame — is the gauge, and only relationships among gates, states, and effects are physical. A raw process matrix out of the fit is like a single ruler's "absolute" length: no operational content until you fix the frame. Now watch a small error grow. A coherent over-rotation is like a constant clock drift: a tiny per-gate angle is invisible in one shot, but applied times it accumulates to , a large, easily read rotation. GST is built to ride that amplification, layering short germ circuits — sequences whose repetition amplifies one kind of error — between preparation and measurement fiducial subcircuits, and repeating each germ many times. The first figure shows the anatomy of one such circuit and the amplification it buys: a 0.02 rad over-rotation, hopeless to see directly, becomes a 1.28 rad swing after only 64 repetitions.
Not every error amplifies the same way. A coherent error — an over-rotation, an axis tilt, a miscalibrated phase — rotates the signal, so its imprint grows linearly with depth and can be driven to arbitrarily small uncertainty by going deeper. A stochastic error — depolarization, dephasing, energy loss — instead damps the signal as , capping how deep it is worth going. GST is built to tell these apart, because one is a calibration mistake you can fix in software and the other is decoherence you cannot. The second figure is the payoff: the precision on a coherent angle falls like 1/L along the germ-power staircase, plunging below the flat shot-noise floor that depth-blind tomography can never leave.
The core equations
The whole machine runs in one representation, so start there. The Pauli transfer matrix (PTM) picture expands every state, effect, and channel in the normalized Pauli basis, turning density matrices into real vectors and channels into real matrices. This is what makes "compose two gates" become "multiply two matrices."
where: — normalized Pauli basis, , with ; — Hilbert-space dimension ( for qubits); — real Hilbert–Schmidt vector encoding the prepared state; — covector encoding a POVM effect; — real transfer matrix of the channel . Reading it: the Born rule becomes an inner product , and channel composition becomes ordinary matrix multiplication. Every GST experiment is a circuit predicting one number, an outcome probability. In the PTM picture that number is a bilinear form — covector, product of matrices, vector — the structural fact from which everything else, including the gauge, follows.
where: — probability of effect given preparation and gate sequence ; — transfer matrix of the -th gate; — circuit depth. Because the unknowns (, the , and ) appear as a product, the estimation problem is fundamentally nonlinear, and the freedom to insert an invertible factor between any two of them is the gauge. That freedom cannot be removed: any invertible acting on all elements at once produces an indistinguishable gate set. This is the defining feature of GST and why it never reports a raw process matrix.
where: — any invertible matrix (the gauge), constrained by so trace is preserved; — estimated gate transfer matrix. The transformation is a similarity on the gates flanked by matched on the state and on the effect — precisely the pattern that will telescope away inside equation (2). To turn data into an estimate, the earliest and simplest method is linear inversion. Choose informationally complete fiducials, collect the empty-circuit overlaps and the single-gate-sandwiched probabilities, and read the gate off by a matrix inverse.
where: — Gram matrix of fiducial overlaps (preparation read by effect ); — single-gate probabilities; — linear-inversion estimate of gate in the fiducials' natural gauge. The empty circuit gives , depth-one circuits give , and cancels the unknown fiducial content — up to gauge, only approximately CPTP, so it seeds a nonlinear physical fit. The gauge-fixed estimate is then compared to the ideal target through gauge-invariant figures of merit. The workhorse is the average gate fidelity, tied to the process (entanglement) fidelity — a normalized transfer-matrix overlap.
where: — ideal target unitary channel; — process fidelity, a normalized overlap of transfer matrices (with real orthogonal, ); — average gate fidelity, the uniform-input average of the state fidelity. The infidelity is . Fidelity is an average, and averages hide worst cases. The diamond norm supplies the worst-case operational distance — the quantity that actually enters fault-tolerance threshold theorems — and the eigenvalues of the error transfer matrix split that distance into its coherent and stochastic parts.
where: — diamond (completely bounded trace) norm, maximized over states of the system plus an equal-dimension ancilla; — identity channel on the ancilla; — error transfer matrix; — eigenphases (coherent over-rotations), — eigenvalue magnitudes below one (stochastic decay). For a purely coherent single-qubit over-rotation by , , while the infidelity is only — the two differ by a factor .
The goal is to prove the single most important structural fact about gate set tomography: the gauge transformation of equation (3) leaves every measurable circuit probability exactly unchanged, so no experiment can ever fix the gauge and any figure of merit must be gauge-invariant or computed only after a gauge is explicitly imposed. We take a generic depth- circuit, apply the gauge to each factor, and watch the inserted matrices annihilate by telescoping — the cancellation that makes "convert to inches, convert back to centimetres" leave a length untouched.
Step 1. In the probability of equation (2), replace every element by its gauge image from (3): the effect becomes , each gate , the state . Why: the gauge acts on all objects at once, so this is not a new experiment but the same one in a rescaled frame.
Step 2. Concatenate: . Between every adjacent pair sits , and the ends cancel too. Why: the inserted factors pair off like nested parentheses and every internal pair collapses to the identity — the telescoping.
Step 3. What survives is , for every invertible with . Why: the data depend only on gauge-invariant combinations, so a fit determines the gate set no finer than the orbit of — the absolute matrices are unobservable in principle.
Step 4. Consequence: because and compare the estimate to a fixed target they change under , so one first chooses the bringing the estimate closest to the target under CPTP constraints. Why: skipping this gauge optimization is the classic GST blunder — an adversarial can make the same gate set look perfect or broken. *Verified: pure similarity algebra; keeps states normalized, and the telescoping holds at any depth.*
Go deeper · Derivation B · 1 minHeisenberg-limited estimation of a coherent over-rotation
This derivation is the metrological heart of long-sequence GST: why repeating a germ to depth makes the uncertainty on a coherent error scale as rather than the of ordinary tomography, and why decoherence caps how deep it is worth going. We model a gate meant to rotate by about but actually rotating by , run it times between fiducials that turn the accumulated phase into an oscillating probability, and propagate binomial shot noise through the measured slope.
Step 1. Repeat the germ times; each application adds , so the sequence implements a rotation by . Why: coherent errors add in amplitude, so copies multiply the signal by — a systematic drift is easiest to catch after many ticks.
Step 2. With suitable fiducials the outcome probability is , oscillating in at frequency ( absorbs fiducial phases). Why: the fiducials turn an inaccessible angle into an accessible population, and depth becomes the fringe frequency in .
Step 3. Differentiate: , whose magnitude grows linearly in . Why: a steeper response carries more information per shot — the slope is the amplification made quantitative.
Step 4. Propagate binomial noise: , while decoherence damps the fringe as , saturating the useful depth near . Why: a fixed shot-noise numerator over an slope gives scaling until contrast loss at depth stops the gain — the trade-off in the second figure. *Verified: elementary algebra; at , at and at , matching the plotted line.*
Go deeper · Derivation C · 1 minReading coherent and stochastic error out of the process eigenvalues
The aim is to show that the eigenvalues of the estimated gate's transfer matrix cleanly separate the two physically distinct kinds of error — coherent over-rotations, which turn eigenvalues in phase, and stochastic decoherence, which shrinks their magnitude — and to derive the leading-order infidelity each contributes. We factor the estimate into the ideal target composed with an error channel, diagonalize the error, and expand the fidelity to second order. The coefficients matter: a widely-copied version overcounts them by a factor of .
Step 1. Factor out the target. Since is real orthogonal, isolates the error, and . Why: comparing to the ideal is the same as looking at the residual channel, whose deviation from the identity is the whole error.
Step 2. Diagonalize, : eigenphases are coherent rotations, magnitudes are stochastic decay. Why: a unitary error keeps eigenvalues on the unit circle and only turns them; an incoherent error pulls them inward — phase versus radius is the split.
Step 3. Expand , so to second order . Why: makes the coherent piece quadratic while enters linearly — why over-rotations are quiet in infidelity yet loud in the worst case.
Step 4. With : and . Why: at a over-rotation gives and depolarizing strength gives — classic results reproduced only by the normalization, not . *Verified: the over-rotation gives () and depolarizing gives , both matching the boxed coefficients.*
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| Single gate, perfect SPAM | GST standard process tomography | with trusted the self-consistency problem vanishes and GST reduces to ordinary QPT of one channel. |
| Short circuits only () | linear GST is only shot-noise limited; the metrological advantage needs long germ-power sequences. | |
| Long-sequence regime | germ repetition amplifies coherent errors, so precision improves linearly with maximum depth (Heisenberg-like). | |
| Purely coherent error | worst-case (diamond) error dwarfs the average infidelity; over-rotations hide from fidelity. | |
| Non-Markovian / drifting gates | model-violation tests reject the time-stationary CPTP model; the reconstruction becomes untrustworthy. | |
| Gate-dependent SPAM | GST assumes fixed preparation and measurement; SPAM correlated with the applied gate biases the fit and must be modeled. |
Worked examples
1 · A coherent over-rotation: infidelity versus worst case (fully worked)
GST reconstructs a single-qubit gate and, after gauge optimization, finds the error channel is a pure coherent over-rotation of rad () about a fixed axis, with no measurable stochastic decay. Report the process fidelity, the average gate infidelity, and the diamond-norm error, and say which one a fault-tolerance budget should use.
Step 1. Process fidelity. A unitary over-rotation by has , so and . The error is entirely in the eigenphases — the two nontrivial eigenvalues sit at on the unit circle, none pulled inward, confirming a purely coherent error.
Step 2. Average gate infidelity. With and : , so , matching the small-angle rule . This is the number RB would report — reassuringly tiny.
Step 3. Diamond-norm error. For a coherent rotation the worst-case distance is . That is times the average infidelity — exactly the factor from comparing with .
Step 4. Which to trust. Threshold theorems are stated in the diamond norm, so a fault-tolerance budget must use , not the 150-times-smaller infidelity. A gate that RB calls " good" can carry a worst-case error of — right at a typical surface-code threshold — precisely because coherent errors accumulate as , and separating them out is what GST is for.
2 · How deep must GST go to resolve that over-rotation?
Take the same rad over-rotation and shots per circuit. Compare the precision of depth-one tomography with long-sequence GST at germ depth , and check the estimate is significant.
Step 1. Depth-one precision. At the fringe slope is at most , so rad. Larger than the rad signal — depth-one tomography cannot even confirm the error exists.
Step 2. Long-sequence precision. Depth multiplies the slope by , so rad. A single depth increase buys a precision gain at the same shots per circuit.
Step 3. Significance and the decoherence ceiling. The estimate now stands at standard deviations — an unambiguous detection. At stochastic rate the fringe contrast is still at , safely below the ceiling . The payoff is real but bounded: precision falls as until decoherence flattens it near .
Physics of the portrait
Gate set tomography is less the work of one person than the resolution of a paradox that undermined quantum characterization for two decades — calibrating a ruler with no reference ruler — so its portrait is best drawn as the idea itself, with the people who forced it into rigorous form.
Origins · 1 mingate set tomography and how this was discovered
Gate set tomography began as an answer to an embarrassment. Quantum process tomography, formalized by Chuang and Nielsen and independently by Poyatos, Cirac, and Zoller in 1997, promised to reconstruct any quantum operation from data — but it did so by trusting the very preparations and measurements it should have distrusted, silently attributing SPAM errors to the gate. For years the field knew its answers were only as good as the assumed reference frame, with no principled fix. The turn came in 2013. Seth Merkel and collaborators at IBM introduced "self-consistent quantum process tomography," dropping the perfect-SPAM assumption and fitting states, gates, and effects together; the same year, Robin Blume-Kohout and colleagues at Sandia introduced long-sequence gate set tomography, adding the two ideas that made it rigorous — the recognition that the reconstruction is defined only up to a gauge, and the use of deep germ-power circuits to amplify coherent errors to Heisenberg-limited precision. Their 2017 demonstration certified single-qubit trapped-ion gates below a rigorous fault-tolerance threshold, the first such claim made honestly because it reported gauge-invariant diamond-norm bounds, not fidelities alone. The framework was consolidated by Erik Nielsen, John King Gamble, Kenneth Rudinger, Kevin Young, and the Sandia group in the open-source pyGSTi package and a comprehensive 2021 review. Its lasting lesson is subtle: when nothing is trusted, only relationships are knowable, and the gauge is the precise statement of that humility.
Going further
Texts. Nielsen and Chuang, Quantum Computation and Quantum Information, Ch. 8 (quantum operations) and §8.4.2 (process tomography) · Preskill, Lecture Notes on Quantum Computation, Ch. 3 (channels, fidelity, and distance measures) · Watrous, The Theory of Quantum Information, Ch. 2 and 3 (superoperators and the diamond norm) · Wilde, Quantum Information Theory, Ch. 4 and 9 (channels and distinguishability) · Kitaev, Shen, and Vyalyi, Classical and Quantum Computation (the superoperator formalism and the diamond norm).
Provenance. A verifier should reproduce: (1) the telescoping proof of gauge invariance directly from the bilinear probability of equation (2); (2) the precision from binomial error propagation on , giving at and at for ; (3) the fidelity relation and, for a coherent single-qubit over-rotation of , against the diamond error ; (4) the corrected eigenvalue coefficients and , checked against the depolarizing result at . All quantities are dimension-general textbook identities; no device-specific numbers are asserted as measured.
Prerequisites. Quantum Operations and CPTP Maps · Kraus Representation of Quantum Channels · Pauli and Bit/Phase-Flip Channels · Decoherence. Leads to. Diamond Norm and Channel Distinguishability · Markovian versus Non-Markovian Dynamics · Depolarizing Channel · Lindblad / GKSL Master Equation.
Ask the tutor: Ask me to telescope the gauge out of a specific circuit, to turn a measured over-rotation into its infidelity and diamond error, or to explain how germs and fiducials are chosen for a given gate set.
What exactly is the gauge, and why can't I just measure it away?
The gauge is an invertible similarity acting on all elements at once — , , — and it leaves every circuit probability unchanged because the and telescope out. That invariance is a mathematical identity, not a measurement limit you could beat with more data, so no experiment can distinguish two gate sets related by a gauge. The consequence is that raw matrix elements are meaningless: you must quote gauge-invariant quantities (eigenvalues, unitarity, entanglement fidelity to the target after gauge-fixing) or first pin the gauge by a CPTP-constrained optimization toward the target. The rulers-with-no-reference picture is exact — relative facts are knowable, the absolute frame is not.
How is GST different from randomized benchmarking?
They answer different questions at different costs. Randomized benchmarking runs random Clifford sequences and fits one exponential decay to a single gauge-independent error rate — cheap, robust, blind to structure. GST reconstructs the entire gate set: process matrices (up to gauge), a diamond-norm worst-case bound, and a coherent-versus-stochastic split, at much greater cost. They are complementary: the depolarizing rate GST extracts should match the RB decay constant, and a mismatch flags gate-dependent or non-Markovian errors RB averages away. Use RB to track a number over time; use GST when you need to know what kind of error you have and how bad the worst case is.
Why does long-sequence GST beat the standard 1/√N precision?
Because it converts a small static error into a large one before measuring it. A per-gate over-rotation accumulates to after repetitions, and with the right fiducials the outcome probability oscillates in at frequency . Its derivative in grows as , so dividing the fixed binomial shot noise by an slope gives — depth 64 sharpens the estimate 64-fold at the same shots per circuit. The catch is decoherence: stochastic errors damp the fringe contrast as , so the gain flattens once nears , and the best experiment balances amplification against signal loss.
Why report the diamond norm when the fidelity is already so small?
Because fidelity is an average and fault tolerance cares about the worst case. For a coherent over-rotation the average infidelity is but the diamond error is , larger by — a hundredfold for of a few milliradians. Threshold theorems are stated in the diamond norm precisely because coherent errors add in amplitude, accumulating quadratically worse than their infidelity suggests. A gate a benchmark calls " good" may carry a worst-case error of , right at a typical surface-code threshold. Separating the coherent part and bounding the diamond norm is what makes GST's error budgets honest.
What are germs and fiducials, and why are they built the way they are?
Fiducials are short subcircuits that dress the native preparation and measurement so that together they prepare an informationally complete set of input states and read out an informationally complete set of effects — enough to span the -dimensional space and make the inverse in equation (4) well defined. Germs are the circuits placed between the fiducials and repeated; each is chosen so its repetition amplifies a particular combination of gate errors to first order in the number of repetitions. A good germ set is amplificationally complete: every gauge-invariant parameter is amplified by at least one germ, so nothing important stays stuck at precision. pyGSTi ships standard fiducial and germ sets for common gate sets.
When does GST fail, and how would I know?
GST assumes the gates are Markovian, time-stationary, and described by a fixed SPAM — no memory, no drift, no dependence on context. When those assumptions break the reconstruction is not just noisy but wrong. Its saving grace is that it overdetermines its model, so it detects its own failure: the goodness-of-fit statistic (a log-likelihood ratio, asymptotically ) is compared to its expected value, and a significant excess is a model violation saying the Markovian CPTP picture cannot fit the data. Common culprits are slow calibration drift over the hours-long run, crosstalk from neighbours, leakage out of the computational subspace, and non-Markovian bath memory. A large model violation is a verdict to trust more than any fidelity the fit still prints — and it is why full GST remains largely a one- and two-qubit instrument, since both the circuit count and the fit cost over matrices grow steeply with qubit number.