Skip to content

Metrics for Quantum Hardware

A quantum hardware metric estimates a specified property of a component, operation, logical system, or workload. Its formula, measurement protocol, operating conditions, and uncertainty determine what can be inferred from it. For example, state fidelity, average gate fidelity, assignment accuracy, and circuit success probability answer different questions even when all are reported as percentages.

Helpful background. Hardware overview distinguishes physical encodings, channels, and measurements; noise in quantum information introduces error mechanisms, and quantum measurement as estimation explains likelihoods and uncertainty.

An estimand is the quantity of interest, such as a specified decay time or an average gate overlap. An estimator θ^=f(D)\widehat\theta=f(D) is a function of the acquired data DD. The distinction matters: a fitted exponential time can change when the fit window changes, even if the physical noise has not. Its uncertainty is conditional on the model used in the fit.

Name the target operation, input ensemble, device subset, simultaneous activity, and time window. State the sampling unit: repeated shots on one random circuit and independently drawn circuits supply different information. Component measurements become predictions for a full task only through a composition model that includes scheduling, leakage, correlations, and classical control. Eisert and colleagues (2020) review these different characterization questions.

For an effective two-level system prepared in ∣1⟩\lvert1\rangle, an idealized relaxation experiment may fit

p1(t)=B+Ae−t/T1.p_1(t) = B + A e^{-t/T_1}.

T1T_1 is the fitted population-relaxation timescale for that transition and operating condition. The offset BB can represent thermal population or readout bias; AA absorbs imperfect preparation and contrast. A single-exponential fit is a model, not a definition guaranteed by nature. Multiple decay channels, drift, quasiparticle events, atom loss, shelving states, or non-Markovian baths can produce nonexponential curves.

Report at least:

  • prepared state and transition;
  • idle point, control configuration, and environmental conditions;
  • fit function, time range, residuals, and confidence interval;
  • repetition schedule and observed drift;
  • whether loss is distinguished from relaxation within the computational subspace.

A Ramsey experiment often fits a signal such as

s(t)=B+Ae−(t/T2∗)βcos⁡(Δωt+ϕ).s(t) = B + A e^{-(t/T_2^\ast)^\beta} \cos(\Delta\omega t+\phi).

T2∗T_2^\ast is an inhomogeneous dephasing time for the Ramsey protocol. The exponent β\beta parametrizes the fitted envelope; it does not uniquely identify a noise spectrum. The detuning Δω\Delta\omega is measured relative to the chosen oscillator reference. Hahn echo or longer dynamical-decoupling sequences define different coherence times because they filter low-frequency noise differently. They should not all be labeled simply T2T_2 without the pulse sequence.

For a stationary two-level model with independent Markovian population relaxation and pure dephasing in the energy basis,

1T2=12T1+1Tϕ.\frac{1}{T_2} = \frac{1}{2T_1} + \frac{1}{T_\phi}.

Within that model, T2≤2T1T_2\le 2T_1. This relation is a diagnostic model check, not a universal fitting constraint. Dephasing versus Dissipation develops the physical distinction.

Dephasing and amplitude damping connects these times and the equilibrium population to a finite channel, including its physicality and composition assumptions.

An effective qubit may have equilibrium excited-state population

peth=11+eℏω/(kBT)p_e^{\mathrm{th}} = \frac{1}{ 1+e^{\hbar\omega/(k_{\mathrm B}T)} }

only when a two-level Gibbs model at temperature TT is justified. In practice, residual population may arise from nonequilibrium radiation, imperfect reset, leakage, collisions, or detector bias. “Effective temperature” is then a parametrization of one population ratio, not evidence that every device degree of freedom is thermalized at that temperature.

For operation duration tgt_g,

Qg=T2tgQ_g = \frac{T_2}{t_g}

is a useful timescale ratio. It is not a gate count or executable circuit depth. It omits control infidelity, relaxation during other operations, idle periods, routing, leakage, crosstalk, measurement, reset, and error accumulation outside the fitted coherence model.

For binary outcomes, write the assignment matrix

A=(p(0∣0)p(0∣1)p(1∣0)p(1∣1)).A = \begin{pmatrix} p(0\mid 0) & p(0\mid 1)\\ p(1\mid 0) & p(1\mid 1) \end{pmatrix}.

A commonly reported mean assignment fidelity is

Fassign=p(0∣0)+p(1∣1)2.F_{\mathrm{assign}} = \frac{ p(0\mid0)+p(1\mid1) }{2}.

The two conditional errors should also be reported because the average hides asymmetry. The metric usually includes errors in the reference-state preparations, so it is often a state-preparation-and-measurement quantity rather than a detector-only property.

SPAM errors explains preparation–detector identifiability. A basis-state assignment matrix predicts arbitrary input probabilities only when the effects are diagonal in that basis, or the input has already been dephased there. Measurement error mitigation then treats inference under the calibrated response model, including its uncertainty and noise amplification.

When loss or leakage is possible, a forced binary classifier can turn a third physical outcome into a misleading bit assignment. Report the confusion matrix over all resolved outcomes, the fraction of rejected or heralded events, and whether rejection is included in the success probability.

Distinct properties include:

  • assignment accuracy: agreement between prepared labels and reported labels;
  • quantum non-demolition behavior: whether the postmeasurement state remains in the measured eigenspace;
  • measurement efficiency: a protocol-specific measure, such as detected photons per incident photon or a defined information-rate/backaction ratio in continuous monitoring; these conventions are not interchangeable;
  • latency: time from the start of readout to a usable classical decision;
  • crosstalk: dependence of one result on simultaneous readout of other carriers;
  • leakage discrimination: ability to distinguish computational and noncomputational states;
  • destructiveness: whether the carrier survives and can be reused.

Repeated agreement of two outcomes is not, by itself, a complete quantum non-demolition metric. Both measurements could be biased, and the first measurement could prepare the state that the second detects.

Initialization fidelity should name the target state and whether it is unconditional, heralded, or postselected. Reset needs both a residual-error probability and a duration. A fast active reset with error ϵreset\epsilon_{\mathrm{reset}} can be more useful than waiting several T1T_1 times, but it may add leakage or correlated disturbance.

For error correction, reset throughput and latency can matter as much as isolated reset fidelity because fresh ancillas must be supplied every syndrome round.

Let E\mathcal E be a completely positive, trace-preserving map on a dd-dimensional computational space and U(ρ)=UρU†\mathcal U(\rho)=U\rho U^\dagger the target. The average gate fidelity is

Favg(E,U)=∫dψ ⟨ψ∣U†E(∣ψ⟩⟨ψ∣)U∣ψ⟩.F_{\mathrm{avg}}(\mathcal E,U) = \int d\psi\, \langle\psi\rvert U^\dagger \mathcal E(\lvert\psi\rangle\langle\psi\rvert) U \lvert\psi\rangle.

The average gate infidelity is

r=1−Favg.r = 1-F_{\mathrm{avg}}.

The integral is over pure input states with Haar measure. Thus FavgF_{\mathrm{avg}} is an average over one use of the channel. It does not describe the worst input, temporal correlation, simultaneous context, or composition over a long circuit.

For ∣Ω⟩=d−1/2∑j∣j⟩⊗∣j⟩|\Omega\rangle=d^{-1/2}\sum_j|j\rangle\otimes|j\rangle, define the entanglement fidelity

Fe=⟨Ω∣[(U†∘E)⊗id](∣Ω⟩⟨Ω∣)∣Ω⟩.F_e=\langle\Omega| [(\mathcal U^\dagger\circ\mathcal E)\otimes\mathrm{id}] (|\Omega\rangle\langle\Omega|)|\Omega\rangle.

Nielsen (2002) relates this normalized-Choi overlap to the average:

Favg=dFe+1d+1.F_{\mathrm{avg}} = \frac{dF_e+1}{d+1}.

For a completely positive trace-nonincreasing computational branch Φ\Phi, the corresponding unnormalized overlaps instead obey

Favg(Φ,U)=dFe+sˉd+1,sˉ=Tr⁡Φ(I/d).F_{\mathrm{avg}}(\Phi,U) =\frac{dF_e+\bar s}{d+1},\qquad \bar s=\operatorname{Tr}\Phi(I/d).

To see the difference, write Φ(ρ)=∑aKaρKa†\Phi(\rho)=\sum_a K_a\rho K_a^\dagger. The Haar second moment gives

Favg=∑a∣Tr⁡(U†Ka)∣2+Tr⁡∑aKa†Kad(d+1).F_{\mathrm{avg}} =\frac{\sum_a|\operatorname{Tr}(U^\dagger K_a)|^2 +\operatorname{Tr}\sum_a K_a^\dagger K_a}{d(d+1)}.

The two numerator terms are d2Fed^2F_e and dsˉd\bar s. Renormalizing each surviving output changes the quantity and generally destroys linearity; it cannot be inserted into the trace-preserving identity above.

“Process fidelity” is used inconsistently across communities. Some authors mean FeF_e, some mean an overlap of process matrices, and some report a quantity normalized to equal FavgF_{\mathrm{avg}}. A paper should give the formula, not only the label.

A composable worst-case error measure is the diamond distance

D⋄(E,U)=12∥E−U∥⋄.D_\diamond(\mathcal E,\mathcal U) = \frac{1}{2} \left\| \mathcal E-\mathcal U \right\|_\diamond.

The ancillary extension in the diamond norm permits the input to be entangled with another system. This makes the distance suitable for bounding distinguishability. Errors of a fixed sequence of compatible channels add by a telescoping bound and contractivity. A history-dependent device needs bounds on the relevant conditional processes or a multi-time description; a set of isolated-gate averages does not supply them. Diamond distance is also much harder to estimate experimentally than average fidelity.

For two channels on the same dd-dimensional space, with the target unitary, general bounds relate infidelity and diamond distance (Kueng et al., 2016):

d+1d r≤D⋄≤d(d+1)r.\frac{d+1}{d}\,r \le D_\diamond \le \sqrt{d(d+1)r}.

The wide gap is physically consequential. A small coherent over-rotation can have rr quadratic in its angle while D⋄D_\diamond is linear. Therefore an average infidelity should not be inserted directly into a worst-case fault-tolerance theorem without a justified noise model or randomization argument. Trace Distance and Fidelity give the reference definitions.

For a qubit ZZ rotation e−iθZ/2e^{-i\theta Z/2} and a stochastic ZZ channel (1−p)ρ+pZρZ(1-p)\rho+pZ\rho Z, choose p=sin⁡2(θ/2)p=\sin^2(\theta/2). They have the same r=2p/3r=2p/3, but channel distances p\sqrt p and pp respectively. Exercise 4 derives this distinction.

Coherent Z rotations and stochastic Z errors with the same average infidelity have different diamond distances.

Both axes are logarithmic. The exact qubit formulas show that equal average infidelity can conceal very different worst-case distinguishability. These curves describe the two specified channels, not all coherent or stochastic noise models.

Infidelity is not always an error probability

Section titled “Infidelity is not always an error probability”

For a stochastic Pauli channel, infidelity can be proportional to a fault probability. For coherent, nonunital, leakage, or gate-dependent noise, that interpretation can fail. Calling rr “the probability the gate failed” silently assumes a stochastic model that the experiment may not establish.

Also declare whether the channel is:

  • conditioned on no loss or averaged over loss;
  • projected back into the computational subspace;
  • corrected for preparation and measurement;
  • measured in isolation or during simultaneous operation;
  • averaged over a gate set or associated with one target gate.

Characterization and Benchmarking Protocols

Section titled “Characterization and Benchmarking Protocols”

No protocol returns “the true fidelity” without assumptions. Each trades information, scalability, and robustness to state-preparation-and-measurement error.

Process Tomography prepares an informationally complete set of inputs and measures an informationally complete set of outputs, or uses an ancilla-assisted equivalent. It can reconstruct a detailed channel model, but its experimental and statistical cost grows rapidly with system size. Ordinary process tomography treats state preparations and measurements as trusted; their errors can be misattributed to the gate.

Tomography is valuable for diagnosing small systems, inspecting coherent structure, and testing models. It is not automatically a scalable system benchmark.

Gate-set tomography jointly estimates preparations, measurements, and a set of gates from self-consistent circuits; long sequences amplify small gate errors (Nielsen et al., 2021). It can reveal coherent and non-Markovian model violations more richly than a single decay parameter. The reconstructed representation has gauge freedom: observable probabilities are unchanged by certain simultaneous transformations of states, measurements, and gates. Gauge-dependent quantities require careful interpretation.

Gate-set tomography is information rich but experimentally and computationally demanding. Its result describes the tested gate-set model and time window, not every circuit context.

Randomized Benchmarking develops the sequence construction, sampling design, fit diagnostics, and variants. Here we compare the decay parameter with other hardware metrics.

In reference randomized benchmarking, random gate sequences of length mm compose ideally to an inversion. A common fit is

Psurv(m)=Apm+B.P_{\mathrm{surv}}(m) = A p^m+B.

AA and BB absorb state-preparation-and-measurement contrast under the model. For a dd-dimensional depolarizing channel with decay parameter pp,

rRB=d−1d(1−p).r_{\mathrm{RB}} = \frac{d-1}{d}(1-p).

This conversion is exact for the declared depolarizing model. Under gate-dependent, context-dependent, or non-Markovian noise, the fitted RB decay still can be stable and useful, but its relationship to an arithmetic mean of individual gate infidelities is subtler. Report the sampled gate group, compilation into native pulses, sequence lengths, number of random sequences, shots, fit model, residuals, and uncertainty.

RB is comparatively insensitive to fixed state-preparation-and-measurement offsets in the decay rate. It is not immune to drift, leakage, sequence-dependent sampling, or model failure, and it does not identify the physical error mechanism.

Interleaved RB alternates a target gate with random reference gates. Under standard assumptions, an estimate is

rG≈d−1d(1−pintpref),r_G \approx \frac{d-1}{d} \left( 1- \frac{p_{\mathrm{int}}}{p_{\mathrm{ref}}} \right),

where prefp_{\mathrm{ref}} and pintp_{\mathrm{int}} are fitted decay parameters. Gate dependence and interaction between the interleaved gate’s error and the reference errors require bounds or additional analysis. The ratio should not be presented as model free.

Cycle Benchmarking explains scheduled layers, Pauli-orbit decays, dressed-cycle process fidelity, and what the experiment can identify.

A cycle is a layer of operations intended to execute in parallel. Cycle benchmarking estimates an error property of the complete implemented cycle, including some simultaneous effects that isolated gate tests miss. Direct randomized benchmarking and related scalable protocols probe larger regions or native gate sets without reconstructing a full process.

These protocols are especially important because a processor executes schedules, not isolated data-sheet gates. A reported cycle metric must state which operations were simultaneous, which qubits were idle, how randomization was implemented, and whether spectator effects were included.

Leakage and crosstalk derives full-space dynamics, survival branches, imperfect flags, and coherent return. The scalar metrics below summarize specific averages of that dynamics (Wood and Gambetta, 2018).

Let PCP_{\mathrm C} and PLP_{\mathrm L} project onto computational and leakage subspaces of dimensions dCd_{\mathrm C} and dLd_{\mathrm L}. One average leakage rate for channel E\mathcal E is

L1=Tr⁡[PLE(PCdC)].L_1 = \operatorname{Tr} \left[ P_{\mathrm L} \mathcal E \left( \frac{P_{\mathrm C}}{d_{\mathrm C}} \right) \right].

An average seepage rate back into the computational subspace is

L2=Tr⁡[PCE(PLdL)].L_2 = \operatorname{Tr} \left[ P_{\mathrm C} \mathcal E \left( \frac{P_{\mathrm L}}{d_{\mathrm L}} \right) \right].

These formulas assume finite positive dimensions and complementary subspaces. An infinite leakage space has no maximally mixed state PL/dLP_{\mathrm L}/d_{\mathrm L}; instead specify a finite cutoff or a prepared leakage ensemble.

If each cycle really induces a closed, time-homogeneous two-population Markov model, the leakage population satisfies

qn+1=L1+(1−L1−L2)qn.q_{n+1}=L_1+(1-L_1-L_2)q_n.

For L1+L2>0L_1+L_2>0, its unique stationary fraction is

pL(∞)=L1L1+L2.p_{\mathrm L}^{(\infty)} = \frac{L_1}{L_1+L_2}.

Writing this fraction as q∗q_* gives qn=q∗+(q0−q∗)(1−L1−L2)nq_n=q_*+(q_0-q_*)(1-L_1-L_2)^n. Convergence from every initial population requires 0<L1+L2<20<L_1+L_2<2. If both rates vanish, every population is stationary. If L1=L2=1L_1=L_2=1, the populations alternate unless initialized at q∗=1/2q_*=1/2. These scalar averages alone do not prove closure: state dependence, coherent return, multiple leakage levels, or intervention can invalidate the two-population model.

Loss means the physical carrier or excitation leaves the accepted system. An erasure is a failure whose location is reliably known to the decoder. Loss becomes an erasure only when it is detected with characterized false-positive and false-negative rates. Postselecting lost trials can improve conditional fidelity while reducing unconditional success; both must be reported.

Crosstalk is context dependence: the implemented operation or observation on one subsystem changes when controls, measurements, or states elsewhere change. It can arise from stray fields, shared modes, spectral collisions, classical electronics, detector coupling, heating, or calibration dependencies.

A simple diagnostic compares isolated and simultaneous errors:

Δri=ri(sim)−ri(iso).\Delta r_i = r_i^{(\mathrm{sim})} - r_i^{(\mathrm{iso})}.

This difference is useful but not a complete crosstalk model. Crosstalk may create correlated faults even when marginal error rates change little. A serious test varies contexts, checks conditional dependencies, and identifies whether effects are local, pairwise, many-body, static, or time dependent.

Drift means the effective process changes over time. If θ(t)\theta(t) is a fitted parameter, reporting only

θ‾=1T∫0Tθ(t) dt\overline\theta = \frac{1}{T} \int_0^T \theta(t)\,dt

can hide excursions that invalidate a computation. Include time traces, calibration events, acquisition ordering, and stability intervals. Randomizing the order of experimental settings can reduce confounding between condition and time.

Represent directly available two-body interactions by a graph G=(V,E)G=(V,E). Useful graph properties include degree, diameter, geometry, edge quality, directionality, and whether edges can be reconfigured. Report the gate or interaction that defines an edge and the operating conditions under which multiple edges are usable simultaneously.

A complete system also needs a conflict graph or scheduling rule. Two edges may each work well in isolation but not at the same time. Connectivity without parallelism can overstate executable depth.

Distinguish:

  • fabricated or available sites;
  • occupied carriers;
  • detected carriers;
  • individually addressable carriers;
  • calibrated qubits or modes;
  • qubits participating simultaneously in the benchmark;
  • data and ancilla qubits in an encoded experiment;
  • logical qubits with declared code distance;
  • logical qubits supporting the reported operation set.

Calibration yield can be written

Ycal=Nmeeting criteriaNtested.Y_{\mathrm{cal}} = \frac{N_{\mathrm{meeting\ criteria}}} {N_{\mathrm{tested}}}.

The criteria and test duration must be stated. Selecting a high-performing connected subset is legitimate for a benchmark, but the selection rule and fraction of the full device should be visible.

For a serial cycle without overlapping stages,

tcycle=tprepare+tcontrol+tmeasure+tclassical+tfeedback.t_{\mathrm{cycle}} = t_{\mathrm{prepare}} + t_{\mathrm{control}} + t_{\mathrm{measure}} + t_{\mathrm{classical}} + t_{\mathrm{feedback}}.

For overlapping or pipelined operation, use the actual dependency and resource schedule instead. Quantum error correction needs decoder throughput sufficient to avoid an accumulating backlog and decision latency compatible with adaptive operations; it need not require each decode to finish before the next syndrome round.

A shot rate

Rshot=Ncompleted shotstwallR_{\mathrm{shot}} = \frac{N_{\mathrm{completed\ shots}}}{t_{\mathrm{wall}}}

is meaningful only with workload, batch size, reset, compilation, data transfer, and queue boundaries defined. Peak pulse repetition rate is not end-to-end throughput.

Availability may be reported as

Ause=twithin specificationtscheduled.A_{\mathrm{use}} = \frac{t_{\mathrm{within\ specification}}} {t_{\mathrm{scheduled}}}.

The specification should include calibration validity and disabled components. A record obtained during one selected minute and a sustained daily service metric answer different questions.

A system benchmark combines width, connectivity, compilation, gates, and readout through a circuit family. It is more representative than one component number but remains task specific.

Cross-Entropy Benchmarking scores random-circuit samples using ideal probabilities for the same compiled circuits. It probes system-level correlation across gates, concurrency, readout, compilation, and depth, but its interpretation depends on the circuit ensemble, normalization, scrambling regime, noise model, classical reference, and sampling hierarchy.

A linear XEB score is not automatically a state fidelity, distributional distance, or proof of computational advantage. Comparisons require the same circuit family, score convention, postselection policy, probability-computation accuracy, and dated classical baseline.

Quantum Volume and Application Benchmarks develops the full protocol, statistical unit, volumetric generalization, and application-suite comparison rules. The quantum-volume protocol uses random square model circuits whose width equals their depth. For each width mm, the compiled device samples outputs, and a heavy-output test determines whether performance exceeds a specified statistical threshold. The reported quantum volume is conventionally

VQ=2m⋆,V_Q = 2^{m^\star},

where m⋆m^\star is the largest passing square-circuit size under the protocol.

Quantum volume tests a particular random-circuit family and includes effects of compilation and connectivity. It is not a physical volume, logical-qubit count, general application score, or asymptotic complexity measure. Comparisons require the same protocol version, confidence rule, compiler freedoms, and treatment of selected qubit subsets.

Other useful system tests include mirror circuits, random circuit sampling, algorithmic benchmark suites, Hamiltonian-simulation tasks, and application-specific validation. No finite suite proves performance on every circuit. A benchmark should expose:

  • circuit distribution and instance-selection rule;
  • width, depth, native compilation, and optimization budget;
  • shots and confidence criteria;
  • use of mitigation, postselection, or heralding;
  • classical verification cost;
  • total wall-clock and classical resources;
  • whether the instances were fixed before tuning.

A single-number score is useful for tracking a fixed protocol. It should not erase the underlying performance surface.

A logical failure probability is an estimand for a specified experiment. For NN independent, identically distributed completed trials with an observable binary success criterion, its direct estimator is

p^fail=kfailed trialsN.\widehat p_{\mathrm{fail}}=\frac{k_{\mathrm{failed\ trials}}}{N}.

A per-round probability is often inferred from a decay model, not from counting detected errors in every round. In an ideal logical bit-flip model, independent flips of probability pp per round give terminal disagreement after RR rounds

Pfail(R)=1−(1−2p)R2.P_{\mathrm{fail}}(R)=\frac{1-(1-2p)^R}{2}.

Two flips cancel in this readout, so Pfail(R)/RP_{\mathrm{fail}}(R)/R is only a small-RpRp approximation to pp. Coherent or correlated logical noise, preparation/readout offsets, and postselection need different models. Logical benchmarking develops these encoded-channel and decay interpretations.

State the code, distance, syndrome schedule, decoder, boundary conditions, leakage treatment, and discarded trials. An error per complete memory experiment, per logical gate, and per inferred syndrome round cannot be compared without their respective durations and inference model.

For a family of odd-distance codes, a local suppression factor can be defined as

Λd=pL(d)pL(d+2).\Lambda_d = \frac{p_{\mathrm L}(d)} {p_{\mathrm L}(d+2)}.

Λd>1\Lambda_d>1 means the larger tested code performed better under the declared conditions. Sustained below-threshold evidence requires suppression over increasing distances with matched noise, circuits, and decoding. One favorable pair does not prove an asymptotic threshold.

An encoded memory reaches break-even only relative to a declared physical baseline. Possible baselines include the best constituent qubit, the average constituent, an unencoded qubit operated for the same wall-clock time, or the best available physical carrier. The baseline should experience comparable preparation, idle time, and measurement opportunities.

Fault tolerance is stronger than break-even. A circuit is fault tolerant when a bounded number of faults cannot spread into an uncorrectable error according to the code and gadget design. Low logical error after postselection is not automatically fault-tolerant correction.

Report physical qubits or modes, ancillas, spacetime volume, syndrome rounds, decoder resources, distilled resource states, discarded runs, and wall-clock time per logical operation. Logical reliability without rate can hide an architecture that cannot finish the task before drift, memory decay, or practical time limits dominate.

Correctability and the surface code explain the code and syndrome-circuit assumptions behind logical comparisons.

The final metric should match the intended task: energy error, sampling distance, decision success, key rate, sensing uncertainty, entanglement-generation rate, or another scientifically meaningful output.

For independent repeated trials with success probability psp_s and per-trial time ttrialt_{\mathrm{trial}}, the number required for probability at least CC of one or more successes is

NC=⌈ln⁡(1−C)ln⁡(1−ps)⌉.N_C = \left\lceil \frac{\ln(1-C)} {\ln(1-p_s)} \right\rceil.

The corresponding idealized time to solution is

Tsol=NC ttrial.T_{\mathrm{sol}} = N_C\,t_{\mathrm{trial}}.

Here 0<ps<10<p_s<1 and 0<C<10<C<1; ps=1p_s=1 needs one trial, while ps=0p_s=0 can never succeed. The formula assumes independent stationary trials and a fixed binary success criterion. It treats psp_s as known. If psp_s is estimated, uncertainty in that estimate must be propagated; using a statistically justified lower bound is one conservative option. Verification, queueing, compilation, calibration, and classical postprocessing must be added when they lie inside the operational boundary.

A complete workload resource record can be written schematically as

R=(Nphys,NL,D,Nshots,twall,Etotal,Rclassical,ϵ,C),\mathcal R = \bigl( N_{\mathrm{phys}}, N_{\mathrm L}, D, N_{\mathrm{shots}}, t_{\mathrm{wall}}, E_{\mathrm{total}}, R_{\mathrm{classical}}, \epsilon, C \bigr),

where DD is scheduled depth, ϵ\epsilon is output error, and CC is the required success probability in the repeated-trial model above. A confidence level for an estimated parameter is a separate quantity. Not every study needs every component, but the resource boundary should be explicit.

For kk observed failures in NN independent Bernoulli opportunities,

p^=kN,SE⁡(p^)≈p^(1−p^)N.\widehat p = \frac{k}{N}, \qquad \operatorname{SE}(\widehat p) \approx \sqrt{ \frac{\widehat p(1-\widehat p)}{N} }.

The normal approximation fails near p=0p=0 or 11 and for small counts. Wilson, likelihood-ratio, Bayesian, or exact intervals are better choices depending on the sampling model and whether coverage or posterior probability is intended. Observing zero failures does not prove p=0p=0; the exact one-sided 95%95\% binomial upper limit is 1−0.051/N≃2.996/N1-0.05^{1/N}\simeq2.996/N. It requires a fixed sample size and independent trials with a common failure probability. Optional stopping needs a sequentially valid analysis.

Quantum-hardware data often violate independent, identically distributed assumptions:

  • drift changes the rate during acquisition;
  • calibration is chosen using some of the same data;
  • errors are temporally or spatially correlated;
  • device subsets are selected after inspection;
  • failed preparations or lost carriers are discarded;
  • random sequence instances have heterogeneous difficulty.

Use blocked or time-resolved analysis, hierarchical models, held-out validation, and preregistered selection rules where appropriate. At minimum, publish acquisition order, timestamps, calibration interventions, number of discarded runs, and uncertainty method.

Suppose a report gives the following values for a qubit processor:

Observation Reported value
Ramsey coherence T2∗=100 μsT_2^\ast=100\,\mu\mathrm{s}
physical gate duration tg=50 nst_g=50\,\mathrm{ns}
qubit RB decay p=0.996p=0.996
readout conditionals p(0∣0)=0.98p(0\mid0)=0.98, p(1∣1)=0.92p(1\mid1)=0.92
leakage and seepage L1=2.0×10−4L_1=2.0\times10^{-4}, L2=2.0×10−2L_2=2.0\times10^{-2}
isolated and simultaneous infidelity riso=0.002r_{\mathrm{iso}}=0.002, rsim=0.003r_{\mathrm{sim}}=0.003
logical failures per round pL(3)=1.2×10−3p_{\mathrm L}(3)=1.2\times10^{-3}, pL(5)=5.0×10−4p_{\mathrm L}(5)=5.0\times10^{-4}

The timescale ratio is

T2∗tg=100 μs50 ns=2000.\frac{T_2^\ast}{t_g} = \frac{100\,\mu\mathrm{s}}{50\,\mathrm{ns}} = 2000.

For qubit RB under the depolarizing conversion,

rRB=1−p2=0.002.r_{\mathrm{RB}} = \frac{1-p}{2} = 0.002.

The mean assignment fidelity is

Fassign=0.98+0.922=0.95,F_{\mathrm{assign}} = \frac{0.98+0.92}{2} = 0.95,

but the asymmetric conditionals remain visible. The two-population stationary leakage estimate is

pL(∞)=2.0×10−42.0×10−4+2.0×10−2≈9.9×10−3.\begin{aligned} p_{\mathrm L}^{(\infty)} &= \frac{2.0\times10^{-4}} {2.0\times10^{-4}+2.0\times10^{-2}} \\ &\approx 9.9\times10^{-3}. \end{aligned}

Simultaneous operation increases the reported infidelity by

Δr=0.003−0.002=0.001,\Delta r = 0.003-0.002 = 0.001,

or 50%50\% relative to the isolated value. Finally,

Λ3=1.2×10−35.0×10−4=2.4.\Lambda_3 = \frac{1.2\times10^{-3}} {5.0\times10^{-4}} = 2.4.

The point estimates favor distance five over distance three in the tested logical-memory protocol; error bars are needed to establish statistical significance. They do not establish that a depth-2000 circuit succeeds, that all gate errors are stochastic, that the readout is quantum non-demolition, that leakage is state independent, or that suppression continues at larger distance. Each conclusion stays at the layer actually measured.

1. A relaxation time depends on the offset

Section titled “1. A relaxation time depends on the offset”

At t=30 μst=30\,\mu\mathrm{s} an initially excited qubit has population 0.25. Infer T1T_1 first for p1(t)=e−t/T1p_1(t)=e^{-t/T_1}, then for thermal equilibrium population 0.10 and p1(t)=0.10+0.90e−t/T1p_1(t)=0.10+0.90e^{-t/T_1}.

Solution

The zero-offset estimate is −30/ln⁡0.25=21.64 μs-30/\ln0.25=21.64\,\mu\mathrm{s}. With the known thermal offset, e−30/T1=(0.25−0.10)/0.90=1/6e^{-30/T_1}=(0.25-0.10)/0.90=1/6, giving T1=30/ln⁡6=16.74 μsT_1=30/\ln6=16.74\,\mu\mathrm{s}. One population at one time does not determine both offset and decay time. A real fit needs multiple delays, calibrated populations, and model checks.

A qubit has computational branch Φ(ρ)=(1−ℓ)ρ\Phi(\rho)=(1-\ell)\rho, with 0≤ℓ≤10\le\ell\le1. Find its average target overlap and entanglement overlap relative to the identity. Does the trace-preserving conversion apply?

Solution

Every pure-state overlap is 1−ℓ1-\ell, and applying the branch to half of ∣Ω⟩|\Omega\rangle gives Fe=1−ℓF_e=1-\ell. Also sˉ=1−ℓ\bar s=1-\ell, so Favg=(2Fe+sˉ)/3=1−ℓF_{\mathrm{avg}}=(2F_e+\bar s)/3=1-\ell. Incorrectly setting sˉ=1\bar s=1 would give 1−2ℓ/31-2\ell/3. For ℓ<1\ell<1, conditioning on survival gives fidelity 1, which conceals the loss unless the survival probability is also supplied.

3. An interleaved estimate can be negative

Section titled “3. An interleaved estimate can be negative”

Suppose every implemented reference Clifford is followed by RZ(θ)R_Z(\theta), while an interleaved identity is followed by RZ(−θ)R_Z(-\theta). Ideal inversion/SPAM effects are confined to the prefactor. Why can the usual interleaved ratio suggest a negative infidelity?

Solution

Clifford twirling of the reference error gives pref=(1+2cos⁡θ)/3<1p_{\mathrm{ref}}=(1+2\cos\theta)/3<1 for a small nonzero angle. The two errors cancel in each interleaved pair, so pint=1p_{\mathrm{int}}=1. The ratio estimate (1−pint/pref)/2(1-p_{\mathrm{int}}/p_{\mathrm{ref}})/2 is negative, even though the isolated target error has positive infidelity 2sin⁡2(θ/2)/32\sin^2(\theta/2)/3. The negative result signals a failed conversion assumption, not a gate better than perfect. Correlated coherent cancellation must be covered by a justified bound or a different protocol.

4. Equal infidelity, unequal channel distance

Section titled “4. Equal infidelity, unequal channel distance”

Compare U=e−iθZ/2U=e^{-i\theta Z/2} with the stochastic channel P(ρ)=(1−p)ρ+pZρZ\mathcal P(\rho)=(1-p)\rho+pZ\rho Z, where p=sin⁡2(θ/2)p=\sin^2(\theta/2) and ∣θ∣≤π|\theta|\le\pi.

Solution

For the unitary, Fe=∣Tr⁡U∣2/4=1−pF_e=|\operatorname{Tr}U|^2/4=1-p. For the Pauli channel, orthogonality of the identity and ZZ Choi states also gives Fe=1−pF_e=1-p. Hence both have r=2p/3r=2p/3. Their half diamond distances from identity are

D⋄(U,id)=∣sin⁡(θ/2)∣=p,D⋄(P,id)=p.D_\diamond(\mathcal U,\mathrm{id})=|\sin(\theta/2)|=\sqrt p, \qquad D_\diamond(\mathcal P,\mathrm{id})=p.

An equatorial pure state attains these distinguishabilities; the unitary spectral formula and the Pauli-mixture triangle bound show that ancillas cannot increase them here. For θ=0.02\theta=0.02, the common infidelity is approximately 6.67×10−56.67\times10^{-5}, but the distances are about 0.01 and 10−410^{-4}. The figure plots the exact formulas.

Take L1=0.0003L_1=0.0003 and L2=0.0097L_2=0.0097 per cycle in the closed population model. Find the stationary leakage and its relaxation factor. Contrast this with L1=L2=1L_1=L_2=1.

Solution

The stationary fraction is q∗=0.03q_*=0.03, and qn=0.03+(q0−0.03)0.99nq_n=0.03+(q_0-0.03)0.99^n converges to it. With both rates 1, qn+1=1−qnq_{n+1}=1-q_n instead. There is a stationary distribution at 1/21/2, but any other initial population alternates forever. Stationarity does not itself imply convergence.

A fixed experiment records zero failures in 10,000 independent trials with common failure probability pp. Find an exact one-sided 95% upper confidence bound.

Solution

The probability of zero failures is (1−p)N(1-p)^N. Solving it equal to 0.05 gives

pupper=1−0.051/10000≃2.9953×10−4.p_{\mathrm{upper}}=1-0.05^{1/10000} \simeq2.9953\times10^{-4}.

This is close to 3/N3/N. It is a confidence-bound construction, not a 95% posterior probability for a fixed unknown pp. Correlation, drift, or outcome-dependent stopping requires a model-appropriate analysis; there is no universal effective-sample-size replacement.

In the independent logical bit-flip model, p=0.01p=0.01 and a trial lasts 100 rounds. Find terminal disagreement and compare division by 100 with the correct inverse model.

Solution

Pfail=[1−0.98100]/2≃0.43369P_{\mathrm{fail}}=[1-0.98^{100}]/2\simeq0.43369. Dividing by 100 gives 0.004337, not 0.01. For the small-error branch 0≤p<1/20\le p<1/2, the correct inverse is

p=1−(1−2Pfail)1/R2.p=\frac{1-(1-2P_{\mathrm{fail}})^{1/R}}{2}.

An endpoint measurement sees the parity of flips, not their count. Near saturation at 1/21/2, inversion also becomes statistically ill-conditioned.

Matched experiments estimate pL(5)=6.0×10−4p_{\mathrm L}(5)=6.0\times10^{-4} and pL(7)=2.0×10−4p_{\mathrm L}(7)=2.0\times10^{-4}. Find the estimated suppression factor and a distance-nine projection if that factor persists.

Solution

The ratio of point estimates is Λ^5=3\widehat\Lambda_5=3. Maintaining that factor would give pL(9)≃6.7×10−5p_{\mathrm L}(9)\simeq6.7\times10^{-5}. The latter is an extrapolation, not a measurement. Uncertainty in both probabilities propagates into their ratio, and larger devices may have different correlations, leakage, or decoder bottlenecks.

  • A. W. Cross, L. S. Bishop, S. Sheldon, P. D. Nation, and J. M. Gambetta, “Validating quantum computers using randomized model circuits,” Physical Review A 100, 032328 (2019), doi:10.1103/PhysRevA.100.032328.
  • J. Eisert et al., “Quantum certification and benchmarking,” Nature Reviews Physics 2, 382–390 (2020), doi:10.1038/s42254-020-0186-4.
  • A. Erhard et al., “Characterizing large-scale quantum computers via cycle benchmarking,” Nature Communications 10, 5347 (2019), doi:10.1038/s41467-019-13068-7.
  • A. Gilchrist, N. K. Langford, and M. A. Nielsen, “Distance measures to compare real and ideal quantum processes,” Physical Review A 71, 062310 (2005), doi:10.1103/PhysRevA.71.062310.
  • P. Krantz et al., “A quantum engineer’s guide to superconducting qubits,” Applied Physics Reviews 6, 021318 (2019), doi:10.1063/1.5089550.
  • R. Kueng, D. M. Long, A. C. Doherty, and S. T. Flammia, “Comparing experiments to the fault-tolerance threshold,” Physical Review Letters 117, 170502 (2016), doi:10.1103/PhysRevLett.117.170502.
  • E. Magesan, J. M. Gambetta, and J. Emerson, “Scalable and robust randomized benchmarking of quantum processes,” Physical Review Letters 106, 180504 (2011), doi:10.1103/PhysRevLett.106.180504.
  • E. Magesan et al., “Efficient measurement of quantum gate error by interleaved randomized benchmarking,” Physical Review Letters 109, 080505 (2012), doi:10.1103/PhysRevLett.109.080505.
  • E. Nielsen, J. K. Gamble, K. Rudinger, T. Scholten, K. Young, and R. Blume-Kohout, “Gate set tomography,” Quantum 5, 557 (2021), doi:10.22331/q-2021-10-05-557.
  • M. A. Nielsen, “A simple formula for the average gate fidelity of a quantum dynamical operation,” Physics Letters A 303, 249–252 (2002), doi:10.1016/S0375-9601(02)01272-0.
  • T. Proctor, K. Rudinger, K. Young, M. Sarovar, and R. Blume-Kohout, “What randomized benchmarking actually measures,” Physical Review Letters 119, 130502 (2017), doi:10.1103/PhysRevLett.119.130502.
  • T. Proctor et al., “Detecting and tracking drift in quantum information processors,” Nature Communications 11, 5396 (2020), doi:10.1038/s41467-020-19074-4.
  • M. Sarovar, T. Proctor, K. Rudinger, K. Young, E. Nielsen, and R. Blume-Kohout, “Detecting crosstalk errors in quantum information processors,” Quantum 4, 321 (2020), doi:10.22331/q-2020-09-11-321.
  • J. J. Wallman and S. T. Flammia, “Randomized benchmarking with confidence,” New Journal of Physics 16, 103032 (2014), doi:10.1088/1367-2630/16/10/103032.
  • C. J. Wood and J. M. Gambetta, “Quantification and characterization of leakage errors,” Physical Review A 97, 032306 (2018), doi:10.1103/PhysRevA.97.032306.