Randomized benchmarking is a protocol that estimates the average error rate of quantum gates by applying random sequences of gates of increasing length and measuring how quickly the probability of returning to the starting state decays. In quantum computing, and particularly in quantum hardware characterization, it is the standard way to report single-qubit and two-qubit gate quality because it is insensitive to state preparation and measurement errors.
The method condenses the complex, gate-dependent noise of a device into a single number per gate type, the average error per Clifford, which engineers use to compare calibrations, processors and vendors. It complements whole-system metrics such as quantum volume and cross-entropy benchmarking, which test circuits rather than isolated gates.
How randomized benchmarking isolates gate error
Randomized benchmarking works by twirling the noise of a gate set into a simple depolarizing channel and reading its strength from an exponential decay curve. The experiment prepares a qubit in a known state, applies a sequence of m gates drawn uniformly at random from the Clifford group, and then appends one final recovery gate that inverts the whole sequence, so an ideal device would return exactly to the starting state.
Because every random sequence ends with its inverse, any deviation from the starting state comes from accumulated errors. Averaging over many random sequences at each length produces a survival probability that follows the model P(m) = A·p^m + B, where p is the depolarizing parameter, and A and B absorb state preparation and measurement imperfections. This separation is why the method is robust: SPAM errors change only A and B, not the decay rate.
The fitted parameter p converts into the average error per Clifford, r = (d − 1)(1 − p)/d, where d is the Hilbert space dimension (2 for one qubit, 4 for two qubits). The following table summarizes the elements of a standard experiment.
| Element | Role | Typical setting |
|---|---|---|
| Sequence length m | Controls accumulated error | 1 to several thousand gates |
| Random sequences per length | Averages out gate dependence | 20 to 100 sequences |
| Shots per sequence | Estimates survival probability | 100 to 1,000 shots |
| Recovery gate | Inverts the full sequence | One computed Clifford |
| Fit model | Extracts decay parameter p | A·p^m + B |
Variants of the protocol
Several variants of randomized benchmarking target different error questions, from the quality of one specific gate to leakage and crosstalk. Standard RB reports an average over the whole Clifford group, which is useful for tracking a device but hides which individual gate is weak.
| Variant | What it measures | Typical use |
|---|---|---|
| Standard Clifford RB | Average error per Clifford | Baseline device characterization |
| Interleaved RB | Error of one specific gate | Validating a CNOT or CZ gate |
| Simultaneous RB | Errors with neighbors active | Detecting crosstalk |
| Leakage RB | Population lost outside qubit space | Transmon and ion leakage studies |
| Character and cycle benchmarking | Errors of non-Clifford or layered cycles | Multi-qubit gate layers |
| Direct and mirror RB | Errors on many qubits at once | Scalable processor benchmarking |
Interleaved randomized benchmarking inserts the target gate after every random Clifford and compares the resulting decay with a standard reference run. The ratio of the two decay parameters yields an estimate of that gate’s error, although the estimate comes with systematic bounds that can be wide when the reference error is large.
Randomized benchmarking compared with other metrics
Randomized benchmarking measures component-level gate fidelity, whereas metrics such as quantum volume, cross-entropy benchmarking and CLOPS measure system-level performance on whole circuits. Each answers a different question, and a credible hardware report combines several of them.
| Metric | Level | Main output | Key limitation |
|---|---|---|---|
| Randomized benchmarking | Gates | Average error per gate | Averages over coherent errors |
| Quantum process tomography | Gates | Full process matrix | Sensitive to SPAM errors |
| Gate set tomography | Gates | Self-consistent gate models | High experimental cost |
| Cross-entropy benchmarking | Circuits | Circuit fidelity estimate | Needs classical simulation |
| Quantum volume | System | Largest reliable square circuit | Single summary number |
Compared with quantum process tomography, randomized benchmarking needs far fewer measurements and scales polynomially in the number of qubits for a fixed gate set. The price is less information: it reports one average number rather than a complete description of the error channel.
Running and interpreting an experiment
A well-designed randomized benchmarking run chooses sequence lengths that span the decay, from very short sequences to lengths where survival approaches its asymptote. Laboratories typically use logarithmically spaced lengths so that the fit constrains both the curve shape and its baseline.
Reported numbers must state their normalization. An error per Clifford is not the same as an error per physical gate, because a single-qubit Clifford compiles on average into about 1.875 native gates on many superconducting platforms. Two-qubit Cliffords contain on average about 1.5 CNOT gates, so careless conversion can misstate quality by a factor of two.
| Gate type | Superconducting qubits | Trapped ions |
|---|---|---|
| Single-qubit gate | About 1e-4 to 1e-3 | About 1e-5 to 1e-4 |
| Two-qubit gate | About 1e-3 to 1e-2 | About 5e-4 to 3e-3 |
These ranges vary with device generation, calibration state and qubit pair, so a median over the chip is more informative than a single best pair. Results also drift over hours as two-level-system defects move, which is why calibration pipelines often repeat RB automatically alongside routine qubit calibration.
Limitations and common misinterpretations
Randomized benchmarking rests on assumptions that real hardware only approximately satisfies, and the most common mistakes come from overreading a single average number.
- Gate-dependent noise can make the decay non-exponential, and the fitted rate then differs from the true average gate infidelity.
- Coherent errors such as over-rotations add up quadratically in real algorithms, yet RB averages them as if they were random, so it can understate worst-case error.
- Leakage to non-computational states distorts the baseline B and must be measured separately.
- Non-Markovian noise, including slow drift, violates the independence assumption behind the simple fit.
- RB says nothing directly about readout fidelity, because it deliberately removes measurement errors from the decay.
For these reasons, a low RB error is necessary but not sufficient for good algorithm performance. Fault-tolerance thresholds in quantum error correction depend on worst-case and correlated errors, which call for additional diagnostics such as gate set tomography and crosstalk studies.
The short version
Randomized benchmarking checks how often a quantum computer makes mistakes. It runs a random chain of operations and then the exact reverse. If nothing went wrong, the qubit lands back where it started. Each operation adds a small chance of error.
Longer chains fail more often. By watching how fast success drops as the chain grows, engineers get the average error of one operation. A useful comparison is a long game of telephone: the more people pass the message, the more it changes. The rate of change shows how reliable each person is.
Where it makes a difference
A team operating a superconducting quantum processor recalibrates its two-qubit CZ gates every morning. After a firmware change to the control pulses, the team runs interleaved randomized benchmarking on each qubit pair, using lengths from 1 to 200 Cliffords, 50 random sequences per length and 500 shots per sequence.
The reference decay gives an error per two-qubit Clifford of about 1.2 percent, and the interleaved run attributes about 0.6 percent error to the CZ gate on most pairs. One pair, however, shows 2.4 percent error and a non-exponential curve. Simultaneous RB reveals that the problem appears only when a neighboring qubit is driven, which points to microwave crosstalk.
The engineers adjust the drive frequency of the neighbor and rerun the benchmark. The faulty pair returns to 0.7 percent error, and the team publishes the median chip value instead of the best pair, giving users a realistic picture of the processor.