Ask a quantum hardware team how good their gates are and you will usually get a number like 99.9 percent fidelity. That figure sounds precise, almost boastful. The surprising part is how it is earned. Engineers do not simply run a gate once, read the qubit, and compare. They bury the operation they care about inside a long, deliberately scrambled sequence of random gates and then measure how quickly the whole thing falls apart. The method is called randomized benchmarking, and for more than a decade it has been the field's favorite way to put a hard number on a fuzzy thing.
Why one clean measurement lies
The naive approach runs into a wall almost immediately. To measure the error of a single gate, you have to prepare the qubit in a known state, apply the gate, and read the result. But state preparation is imperfect, and readout is noisier still. Those two steps, lumped together as SPAM error (state preparation and measurement), can be larger than the gate error you are trying to see. You end up measuring your ruler instead of the thing you want to weigh.
Randomized benchmarking sidesteps the problem with a clever structure. You apply a sequence of random gates drawn from a special set called the Clifford group, then append one final gate computed to undo everything that came before. If every gate were perfect, the qubit would land back in exactly the state it started from, every single time. SPAM errors still blur the start and the finish, but they are the same blur no matter how long the sequence is. The gate errors are what accumulate as the chain grows.
Watching the answer decay
The experiment runs sequences of increasing length. A chain of 10 random gates, then 50, then 200, then a thousand. For each length you run many different random sequences and record the probability that the qubit returns home. Short sequences come back reliably. Long ones drift into noise. Plot that survival probability against sequence length and you get a decaying curve that falls off like an exponential.
The rate of that decay is the prize. Fit the curve, extract the decay constant, and a little algebra converts it into the average error per gate. Because the SPAM errors only shift the top and bottom of the curve rather than its slope, they drop out of the final answer. That is the whole point. The number you walk away with describes the gates, not the measurement apparatus wrapped around them.
Variants for sharper questions
Plain randomized benchmarking gives an average over the whole Clifford set. Often that is not specific enough, so the method has sprouted relatives.
- Interleaved benchmarking alternates a target gate with random ones, then compares the decay to a baseline run without it. The difference isolates the error of that one gate, say a particular two-qubit entangler.
- Simultaneous benchmarking runs the routine on several qubits at once and on each alone. If the error gets worse when neighbors are active, you have measured crosstalk, the unwanted chatter between qubits that single-qubit tests never reveal.
- Cycle benchmarking adapts the idea to the dense, parallel layers of gates that real algorithms actually use, which matters as processors grow past a handful of qubits.
What the number does and does not tell you
Randomized benchmarking is popular because it is cheap, robust, and scalable in a way that full characterization is not. Mapping every detail of a gate through a technique like gate set tomography is enormously expensive in measurement time. Benchmarking trades that completeness for a single, trustworthy headline figure.
The trade has sharp edges worth knowing. The method reports an average error, not a worst case. A gate can have a low average fidelity by this test and still fail badly on the specific inputs an algorithm throws at it, especially if the error is coherent, meaning it pushes the qubit in a consistent direction rather than randomly. The math also assumes the noise does not change much from gate to gate, an assumption that bends under real drift and temperature swings. And the standard version only works with Clifford gates, which are not a universal set on their own, so the gates that give quantum computers their power are characterized indirectly.
None of that has knocked it off its pedestal. When a company claims two-qubit fidelity above 99.9 percent, or when a lab reports that a new coupler cut crosstalk in half, the evidence almost always comes from some flavor of this random gauntlet. It is the closest thing the field has to a common yardstick, a way to compare a trapped-ion machine in one country against a superconducting chip in another. In a technology where almost nothing can be measured directly, scrambling the question until the noise cancels out turns out to be the honest way to get an answer.