Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Randomized benchmarking

Randomized benchmarking estimates an average error property of an operation set from the decay of outcomes across randomized circuit sequences under a specified protocol.

Edition released Coverage: Overview · Technical · Research
On this page

Explanation and significance

The method aims to reduce sensitivity to fixed state-preparation and measurement imperfections by extracting a decay parameter rather than interpreting one raw success probability. Randomization averages many error directions. The result is a useful diagnostic but not a complete model of worst-case, coherent, correlated or leakage errors. Protocol details and fitting assumptions determine the meaning of the reported number.

Mechanism and mathematical structure

In a standard idealized Clifford protocol, survival is modeled as F(m)=A p^m+B, with sequence length m, decay p and nuisance parameters A,B. For a d-dimensional depolarizing interpretation, average error per Clifford is r=(d-1)(1-p)/d. This is not generally error per native gate; compiling a Clifford into several physical gates requires additional assumptions for conversion. Gate dependence, drift and leakage can produce deviations from the simple model.

Fully worked reference example

For a single qubit, d=2. If p=0.998, then r=(1-0.998)/2=0.001, or 0.1% average error per Clifford under the model. With A=0.45 and B=0.5, the predicted survival at m=100 is 0.45×0.998^100+0.5≈0.868355. The initial survival F(0)=0.95 is lower than one because A and B include preparation and readout effects; it does not imply a 5% gate error. A two-qubit d=4 protocol with the same p would instead give r=3(0.002)/4=0.0015.

Limits and misconceptions

An isolated-gate benchmark can miss errors during simultaneous operations. Small average infidelity can coexist with larger worst-case coherent error. Confidence intervals must include variation across random sequences and temporal drift, not just shot noise. Interleaved and simultaneous variants have their own assumptions and should not be silently treated as identical protocols.

Scientific relationships

Is a benchmarking method. Uses randomized operation sequences and statistical fitting. Is distinct from process tomography and application-level time-to-solution benchmarking.

Historical context

The cited scalable randomized-benchmarking paper appeared in Physical Review Letters on May 6, 2011, after a September 2010 preprint.

Sequence sampling and shot sampling contribute different uncertainty

At a fixed sequence length, let each random circuit have its own survival probability p_j. Measuring many shots of one circuit estimates that p_j accurately, but does not remove variation across circuits. If K circuits each receive S independent shots, the variance of their mean is Var(p_j)/K+E[p_j(1-p_j)]/(KS), assuming circuits are independent draws from a stationary ensemble.

For mean survival 0.90, between-circuit standard deviation 0.05, K=20, and S=1,000, Var(p_j)=0.0025 and E[p_j(1-p_j)]=0.0875. The total variance is 0.000125+0.000004375=0.000129375, giving standard deviation about 0.01137. Treating all twenty thousand shots as identical Bernoulli trials would instead give about 0.00212. That smaller number ignores the ensemble variation the benchmark is designed to average.

Increasing shots per sequence mainly reduces the second term. Increasing independently sampled sequences reduces both. Drift or reused sequence structures can violate the independence assumptions and require a different uncertainty model. A reported confidence interval should therefore identify its unit of resampling rather than simply listing the total shot count.

Slow drift can create a mixture of exponentials

Suppose half the acquisition occurs with decay parameter p1=0.990 and half with p2=0.999, with ideal nuisance parameters A=0.5 and B=0.5. The averaged survival is F(m)=0.5+0.25[p1^m+p2^m]. This is not generally equal to 0.5+0.5[(p1+p2)/2]^m. The longer sequences increasingly emphasize the better-performing component because the faster-decaying component has already approached its baseline.

At m=100, the mixture gives survival approximately 0.8177, while substituting the mean decay parameter gives approximately 0.7880. A single-exponential fit can therefore return a value dependent on which lengths are included and how they are weighted. The residual curvature is evidence against the simplest stationary model, not merely a nuisance to be removed by selecting a preferred fitting interval.

Leakage can also produce multiple decay modes, but a multiexponential curve alone does not identify its cause. Gate dependence, slow drift, coherent structure, and population outside the computational space can have overlapping signatures. Additional measurements or a physically motivated model are needed to assign a mechanism. Randomized benchmarking is a diagnostic with assumptions, not an automatic microscopic noise reconstruction.

Converting error per Clifford requires a compilation model

Assume, only for illustration, that every native gate contributes the same depolarizing decay factor p_g and that a compiled Clifford contains N such gates. Its factor is p_g^N. Averaging over compilations gives E[p_g^N], which is not generally p_g raised to E[N]. If half the Cliffords use one gate and half use three, with p_g=0.99, the average is (0.99+0.99³)/2=0.9801495. Using the mean gate count two gives 0.9801.

The difference is small here but is exact under the declared model. Real compilations use several gate types with different errors, duration-dependent idles, and context dependence. Dividing an error per Clifford by an average native-gate count is therefore a first-order approximation under additional assumptions. It should not be presented as an independently measured native-gate fidelity.

The final inversion Clifford can also have a different compiled structure, and state preparation and measurement contribute nuisance parameters. Standard protocols are designed to separate selected fixed effects from the decay, but they do not make every gate-dependent or time-dependent contribution disappear. The target operation set and compilation strategy must remain part of the benchmark record.

Randomization changes how coherent errors are sampled

Conjugating a fixed small error by different Clifford operations changes its direction in the logical frame. Ensemble averaging can turn coherent accumulation into an approximately depolarizing decay parameter. This is useful for estimating an average property, but it does not imply that the same physical error will accumulate identically in an unrandomized application circuit.

A circuit repeatedly using a sensitive axis or a particular simultaneous gate context can have a different failure pattern. Conversely, an application compiled with deliberate randomization can make the benchmark's effective model more relevant. The connection is an explicit protocol choice, not a universal inference from one small randomized-benchmarking number.

Benchmark comparisons should also retain whether gates ran in isolation, concurrently with neighboring gates, or during measurement activity elsewhere. Shared control lines and residual interactions can make those contexts materially different. A performance claim should name the workload context instead of assuming an isolated calibration represents the whole processor.

The baseline must be identified by the data or a justified model

In F(m)=A p^m+B, changes in A, p, and B can compensate over a short range of lengths. If no measured length approaches the asymptotic region, an unconstrained baseline can be poorly identified. Fixing B to one-half may improve numerical stability for a suitable qubit depolarizing model, but is an assumption that leakage or biased steady populations can violate. Fit precision should therefore reflect parameter covariance and the physical justification for any fixed nuisance values.

Sources

  • Easwar Magesan; J. M. Gambetta; Joseph Emerson · · Research paper · Peer-reviewed publication recorded · journals.aps.org
    Verification scope

    Citation identity checked ·

    Average-error interpretation is conditional on protocol and noise assumptions.