Cycle Benchmarking
Cycle benchmarking measures the error of a scheduled layer of gates, idles, and simultaneous activity. It repeats a target Clifford layer while inserting random Pauli operations, then measures how selected Pauli expectations decay.
The central idea is to keep the layer of interest fixed while making its noise easier to analyze. The resulting fidelity refers to the dressed cycle, including the implemented randomizing operations. A fitted decay can measure a product of several Pauli responses, so converting it into a fidelity requires care.
Required background. Randomized benchmarking explains decay experiments; Pauli channels explains diagonal noise in a Pauli basis. Helpful background. Stabilizer formalism supplies efficient Clifford propagation.
A scheduled layer is the physical object
Section titled “A scheduled layer is the physical object”A controlled-Z gate applied alone and the same gate applied alongside several drives need not have the same error. Timing, spectators, idles, echo pulses, and frame updates affect the implemented channel. Cycle benchmarking includes this parallel context, rather than inferring a layer’s quality by multiplying isolated component fidelities.
The standard protocol uses a Clifford cycle , which maps every Pauli to another Pauli up to sign. The test remains classically trackable without a large random Clifford inversion. It does not directly characterize an arbitrary non-Clifford layer by the same formulas.
Random Pauli operations may be physical pulses, virtual changes of frame, or corrections absorbed into adjacent gates. Their noise and compilation matter. The ideal Pauli twirl describes a fixed error channel conjugated by perfect randomizers; physical implementations need additional assumptions to realize that model (Wallman and Emerson, 2016). The original cycle-benchmarking analysis assumes Markovian noise and gate-independent noise on the randomizing single-qubit cycles (Erhard and colleagues, 2019).
Pauli responses and process fidelity
Section titled “Pauli responses and process fidelity”For qubits, set . The effective implementation below includes the randomizing operations. In the tailored-noise model, use the convention
so is the relative error before the ideal cycle. Define its response to a Pauli by
For a Pauli channel, . A response near one preserves that Pauli expectation; a smaller response attenuates it.
The process fidelity, or entanglement fidelity relative to , is
This Pauli-average identity also holds for a general channel; diagonalization is needed for the simple repeated-cycle decay, not for the identity itself (Flammia and Liu, 2011). Trace preservation gives , even when the channel is not unital.
If a Pauli channel applies error with probability , then
where is for commuting Paulis and otherwise. In particular, : process infidelity is the nonidentity error probability in this effective Pauli model.
Average gate fidelity uses a different normalization:
Thus average infidelity is times process infidelity (Nielsen, 2002). This conversion does not turn a bound or an approximate estimate into an exact fidelity.
Why a controlled-Z experiment measures a product
Section titled “Why a controlled-Z experiment measures a product”Ignore known signs temporarily and write the Clifford permutation as :
Under stationary Pauli-diagonal noise, each step attenuates the current Pauli and then moves it to the next one. After correcting the known ideal signs, the selected signal has the form
The constant represents preparation, readout, and edge effects after the protocol isolates the chosen Pauli component.
For controlled-Z,
At even lengths, the measured Pauli returns to its initial form:
Writing this as identifies
assuming positive responses. It does not determine the two factors individually.
Two applications return the Pauli to its starting point and measure the product . Replacing both factors by leaves every even-length decay unchanged. The individual responses have different arithmetic means.
More generally, an orbit of length gives
Use lengths that return to the same ideal measurement procedure. Choosing multiples of the order of the Clifford channel is sufficient. Orbit-compatible lengths can also work when their output signs and measurement amplitudes are controlled.
Turning random measurements into a signal
Section titled “Turning random measurements into a signal”A practical experiment samples test Paulis, prepares suitable product-basis states, repeats the target with independent Pauli randomizers, and measures the predicted output Pauli. Stabilizer propagation supplies the ideal sign for every circuit. Multiply each recorded outcome by that sign before averaging.
For example, prepare and apply one uniformly random Pauli to an otherwise perfect qubit. The raw outcomes average to zero: preserve the sign while reverse it. Correcting the known sign makes every ideal result . Forgetting this step would mistake intentional randomization for noise.
The input and measurement randomization must also isolate the desired Pauli component. One useful ideal description uses the mixed eigenstates
They can be prepared as mixtures of product-basis eigenstates. Taking half the difference of their output Pauli expectations isolates the response to and cancels a constant additive readout offset. Implemented preparation and readout errors still require the protocol’s stability and sign-projection assumptions; an arbitrary raw expectation is not guaranteed to be a single exponential.
At two compatible lengths with the same nonzero amplitude,
For , , , and , the estimate is approximately . The ratio cancels a constant amplitude, not drift between the two measurements. A small denominator makes it unstable; noisy negative or zero signals should be handled by an appropriate likelihood rather than clipped before taking roots.
Use more than two lengths to test the assumed decay. Two points alone cannot reveal an additional mode, changing amplitude, or offset.
The aggregate is a lower bound in the positive-response model
Section titled “The aggregate is a lower bound in the positive-response model”Suppose the experiment samples individual nonidentity Paulis uniformly and assigns each its orbit rate . Define the population aggregate
For each orbit, the arithmetic–geometric mean inequality gives
Summing over Paulis, with each orbit weighted by its size, proves
This derivation assumes nonnegative responses and the stationary effective Pauli model. It is not a bound for arbitrary fitted decay curves. Negative responses can be hidden by even-length sampling, as Exercise 8 shows.
When and all errors are small, the orbit’s arithmetic mean exceeds its geometric mean by
The discrepancy begins at second order. This explains the accurate lower-bound interpretation in the regime of the original protocol. Equality holds when responses are constant within each orbit.
For instance, consider a physical two-qubit Pauli channel with , all nonidentity responses except and . The inverse Pauli transform gives nonnegative error probabilities. Then
A second physical channel replacing those two responses by their geometric mean has exactly the same controlled-Z orbit decays, but its true process fidelity equals . Thus the missing distinction is real, not merely uncertainty in the fit.
With finite data, replace the Pauli average by its sample mean and estimate each rate from repeated circuits. The resulting point estimate can fluctuate above the population bound and is generally biased by nonlinear ratios and roots. A confidence statement must account for these effects; the population inequality alone does not make every measured value a certified lower limit.
As a numerical conversion, a two-qubit population mean gives
Under the model this bounds the true average infidelity by . Calling the exact average infidelity would discard the orbit ambiguity.
What can and cannot be learned
Section titled “What can and cannot be learned”| Information | What the standard decay supplies |
|---|---|
| A Pauli fixed by the cycle | Its individual positive response |
| A nontrivial orbit | A product or geometric mean |
| Uniformly sampled Pauli directions | An aggregate fidelity bound |
| A complete Pauli error distribution | Additional information is needed |
For controlled-Z, , , and are fixed. The other twelve nonidentity Paulis form six two-element orbits. Sampling each orbit equally would overweight the fixed directions; sample Paulis uniformly or apply the correct orbit-size weights.
Related cycles and trusted operations can reveal more combinations. In the model studied by Chen and colleagues (2023), Clifford layers have Pauli noise, SPAM is uncertain, and single-qubit controls are ideal or absorbed into a suitable dressed-noise description. A graph of Pauli support patterns characterizes the identifiable products. Its cycles represent products that survive the SPAM ambiguity. This result does not say that one fixed target cycle reveals every response, or that arbitrary noisy controls satisfy the same assumptions.
The total dressed fidelity includes randomizer errors. Dividing it by a reference fidelity does not generally remove those errors. Even independent stochastic Pauli errors can cancel: two bit-flip channels with flip probability each have process fidelity , but their composition has fidelity , not . The ratio therefore overestimates the second channel’s fidelity.
Statistical cost and limits of the model
Section titled “Statistical cost and limits of the model”There are three sampling questions: which test Paulis were selected, which random circuits were drawn for each Pauli and length, and which outcomes appeared on repeated shots. More shots of existing circuits cannot remove uncertainty from the first two choices. Randomized benchmarking derives the circuit/shot variance and switching-cost tradeoff.
If the exact orbit rates lie in , independent uniformly sampled Paulis estimate their mean within with failure probability at most when
This elementary bound does not depend on the register dimension. It assumes access to the exact rates: finite-shot rate estimation, small preparation/readout contrast, and small decays add costs. Estimating all responses or rare error probabilities is a much larger task.
Compare several compatible length pairs, interleave their acquisition times, and check computational-space population. Leakage, drift, memory, and randomizer-dependent noise can spoil the stationary Pauli model. For an undressed workload, coherent accumulation can also differ from the averaged randomized experiment. These are physical limits of the inference, rather than problems cured by collecting more shots.
Exercises
Section titled “Exercises”1. Recover a Pauli error distribution
Section titled “1. Recover a Pauli error distribution”A qubit has , , and . Find all four error probabilities and both fidelity conventions.
Solution
The inverse transform gives
They are nonnegative and sum to one. Process fidelity is and average fidelity is .
2. Check the controlled-Z orbit
Section titled “2. Check the controlled-Z orbit”Verify . If a fitted positive rate is , what is determined?
Solution
Controlled-Z maps to and preserves . Applying it twice restores . The measured product is . One product does not fix both factors.
3. Arithmetic versus geometric means
Section titled “3. Arithmetic versus geometric means”For the figure’s two responses, calculate the aggregate fidelity gap. Why is the proposed two-qubit channel physical?
Solution
The orbit arithmetic mean is , while . Only two of the sixteen Pauli terms differ, so
Before the perturbation, and every other error probability is . The changes and in two Pauli responses alter any nonidentity probability by at most . All remain nonnegative, and the identity probability is unchanged. The equal-response alternative also remains physical.
4. A changing amplitude
Section titled “4. A changing amplitude”If , derive the two-length estimate. Use , , and .
Solution
A two-percent amplitude change makes the apparent per-cycle decay stronger. More shots cannot distinguish this systematic change from a different using only those two conditions.
5. Random signs and readout offsets
Section titled “5. Random signs and readout offsets”A perfect qubit prepared in receives a uniformly random Pauli. Explain the raw and corrected means. Separately, if a readout reports , what does pairing the two input signs accomplish?
Solution
The raw means are for randomizers and for , so the uniform mean is zero. Multiplication by the known ideal sign makes every corrected result .
For ideal paired inputs with output expectations , the reported values are . Half their difference is : the offset cancels, while the contrast remains. Stable contrast can cancel in a length ratio; drifting contrast does not.
6. Fidelity is not multiplicative
Section titled “6. Fidelity is not multiplicative”Compose two independent bit-flip channels with probabilities . Find the total no-error probability and explain the failure of a fidelity ratio.
Solution
Two flips cancel. Thus
Each channel has fidelity , but is not the other’s fidelity. Independence of errors does not make their process fidelities multiplicative.
7. Pauli sampling versus measurement cost
Section titled “7. Pauli sampling versus measurement cost”For and , evaluate the stated bound on sampled Pauli directions. Does it bound the total number of experimental shots?
Solution
so suffices for the bounded-variable sampling statement. This deliberately conservative result treats orbit rates as known. Measuring each rate with finite precision adds circuit and shot costs; it does not guarantee an experiment of only 18,445 shots.
8. Why the positive-response assumption matters
Section titled “8. Why the positive-response assumption matters”Take an ideal identity cycle whose implementation applies deterministically. What would even-length measurements of show? What is the true process fidelity?
Solution
The responses are and . All even powers are one, so sampling only even lengths would resemble a perfect cycle if positive roots were silently imposed. Yet
The near-identity, positive-response regime is essential for the geometric-mean interpretation. Odd lengths expose the sign reversal in this example.
9. When a mean does not define a physical channel
Section titled “9. When a mean does not define a physical channel”Can the three numbers , , describe a qubit Pauli channel?
Solution
No. Although every response lies in , the inverse transform gives
Complete positivity constrains the responses jointly. Bounding each fitted number separately does not ensure a physical reconstructed channel.
References
Section titled “References”- Chen, S., Y. Liu, M. Otten, A. Seif, B. Fefferman, and L. Jiang. “The learnability of Pauli noise.” Nature Communications 14, 52 (2023). arXiv:2206.06362.
- Erhard, A., and colleagues. “Characterizing large-scale quantum computers via cycle benchmarking.” Nature Communications 10, 5347 (2019). doi:10.1038/s41467-019-13068-7.
- Flammia, S. T., and Y.-K. Liu. “Direct fidelity estimation from few Pauli measurements.” Physical Review Letters 106, 230501 (2011). arXiv:1104.4695.
- Nielsen, M. A. “A simple formula for the average gate fidelity of a quantum dynamical operation.” Physics Letters A 303, 249–252 (2002). arXiv:quant-ph/0205035.
- Wallman, J. J., and J. Emerson. “Noise tailoring for scalable quantum computation via randomized compiling.” Physical Review A 94, 052325 (2016). arXiv:1512.01098.