Average fidelity and worst-case error
Average fidelity measures agreement averaged over input states, while worst-case channel distances bound the largest possible operational difference between processes.
On this page
Explanation and significance
A single fidelity number can hide the structure that matters to a long algorithm. A coherent overrotation may accumulate systematically, while stochastic errors may accumulate differently. Two channels with similar average infidelity can therefore have different worst-case consequences and different correctability. Comparisons must state the target operation, averaging convention and treatment of leakage.
Mechanism and mathematical structure
For a unitary error U on dimension d, F_avg=(|Tr U|²+d)/[d(d+1)] relative to identity. For a single-qubit Z overrotation U=exp(-i theta Z/2), this gives F_avg=(2cos²(theta/2)+1)/3, so r=1-F_avg=(2/3)sin²(theta/2)≈theta²/6. By contrast, an operational worst-case distinction scales linearly with small |theta|. This difference explains why average infidelity alone does not tightly characterize coherent-error accumulation.
Fully worked reference example
At theta=0.01 radians, r≈0.0000166665, or 1.67×10^-5. Repeating the same uncompensated error 100 times gives total rotation angle one radian, not sqrt(100)×0.01. The resulting average infidelity is (2/3)sin²(0.5)≈0.153233. Treating each occurrence as an independent stochastic fault with probability r would suggest an order-0.00167 accumulated failure scale, far smaller. That stochastic comparison is not an exact channel equivalence; it illustrates why coherence and correlation matter.
Limits and misconceptions
Do not convert average fidelity directly into a guaranteed algorithm success probability. The product of gate fidelities is only a rough model under restrictive assumptions. Diamond-distance conventions can differ by a factor of two depending on whether the norm or half-norm is called distance; define the convention. Benchmark numbers from different targets and dimensions are not automatically comparable.
Scientific relationships
Is a performance metric distinction. Depends on quantum-channel theory. Is used in interpreting randomized benchmarking, calibration and fault-tolerance assumptions.
Two channels with equal infidelity can have very different distances
Define operational distance D as one-half the diamond norm of the difference between an implemented channel and its target. For a single-qubit coherent Z rotation U=exp(-i theta Z/2), D=|sin(theta/2)| in the principal small-angle regime. Its average infidelity is r=(2/3)sin²(theta/2), so D=sqrt(3r/2). For the stochastic phase-flip channel rho to (1-p)rho+p ZrhoZ, r=2p/3 while D=p=3r/2.
Set r=0.0001 for both channels. The coherent channel has D approximately 0.0122474, while the stochastic phase-flip channel has D=0.00015. Their operational distances differ by a factor about 81.65 despite identical average infidelity. The coherent rotation angle is approximately 0.0244955 radians; the stochastic channel applies Z with probability 0.00015. These are mathematically distinct channels, not two interpretations of one measured number.
For the coherent channel, an equatorial input state is rotated by a small deterministic angle, and a suitable measurement can detect a probability change linear in that angle. The average overlap loss is quadratic in the angle. For the stochastic channel, the rare full phase flip changes the mixture linearly in p. This explains the different scaling without treating one metric as intrinsically wrong.
State averages hide which inputs are vulnerable
For a stochastic Z error, the two computational-basis states are unchanged, while each of the four Pauli-equatorial states has fidelity 1-p. Averaging over the six states gives [2+4(1-p)]/6=1-2p/3, matching the uniform pure-state average because this six-state set forms an appropriate qubit design for this quantity.
Testing only |0> and |1> would report perfect preservation for every p, including p=1/2, where equatorial coherence is completely removed. Testing only one equatorial state would characterize a different selected-input statistic. A process claim must therefore specify an informationally adequate set of inputs or a justified randomized protocol. A high value on convenient basis states does not establish an arbitrary-state gate fidelity.
The target operation also matters. A deterministic Z rotation can be a large error relative to identity and a perfect implementation relative to the intended rotation. Calibration changes the target frame only when that transformation is declared and consistently propagated through later gates and measurements. Optimizing over an unspecified frame can remove a physically relevant phase from a reported error metric.
Entanglement fidelity links a process to a reference system
Let a d-dimensional input be maximally entangled with an untouched reference. The overlap of the resulting joint state with the ideal joint output is entanglement fidelity F_e. For a trace-preserving channel compared with a unitary target on the same dimension, F_avg=(d F_e+1)/(d+1). For a qubit this gives F_e=(3F_avg-1)/2.
In the phase-flip example, the no-error and Z-error branches map a Bell state to orthogonal Bell states, so F_e=1-p. Substituting gives F_avg=1-2p/3. This reference-system interpretation makes clear why preserving classical populations is insufficient: coherence with an outside system is part of what a quantum channel must preserve.
Leakage complicates a same-dimensional fidelity formula. If a physical operation sends population to a third level, projecting onto the computational subspace and renormalizing describes accepted runs rather than a trace-preserving qubit channel. A valid unconditional comparison must include the leakage output or an explicit failure flag. The probability of staying in the subspace and the quality conditioned on staying there should be reported separately.
Worst-case distances compose conservatively
For a sequence of implemented channels and corresponding ideal channels, replacing one operation at a time and using the triangle inequality gives a bound D_total<=sum_j D_j, under a compatible channel description. Complete positivity and trace preservation make the surrounding channels contractive for the relevant operational norm. The bound does not require independent stochastic faults, which is one reason it is useful in rigorous error accounting.
The sum can be loose: errors can cancel, and worst-case inputs for different gates need not be simultaneously realized. It is nevertheless a guarantee under its assumptions. Multiplying average fidelities is a different heuristic and does not provide the same guarantee. Correlated environmental memory can also prevent describing a long computation as a composition of independently specified single-gate channels, requiring a larger process model.
The appropriate metric depends on the question. Calibration can benefit from identifying coherent parameters; threshold analyses need a compatible noise strength; applications may care about selected observables or success probabilities. Reporting several complementary quantities can be more informative than attempting to rank all devices by one fidelity.
An average bounds a fraction of inputs, not every input
If pure-state infidelity is nonnegative and averages to r, Markov's inequality says that the fraction of uniformly sampled inputs with infidelity at least epsilon is no greater than r/epsilon. With r=0.0001 and epsilon=0.01, that fraction is at most one percent. This elementary bound does not exclude a particularly vulnerable input, and it says nothing directly about an application's nonuniform input ensemble. It illustrates precisely what an average can constrain without becoming a worst-case guarantee.
Sources
Verification scope
Citation identity checked ·
Average-error interpretation is conditional on protocol and noise assumptions.
Verification scope
Citation identity checked ·
Results are specific to the source model or experiment; no present-day ranking is inferred.