Direct fidelity estimation
Direct fidelity estimation targets overlap with a known desired state or process without reconstructing every parameter of an unknown quantum object.
On this page
Explanation and significance
The target’s structure determines which measurements are informative. For stabilizer targets, a small structured set of Pauli expectations can supply the overlap efficiently. For more general states, choosing measurements and obtaining sufficient repetitions can still be costly. Fewer distinct settings does not necessarily mean few total shots.
Mechanism and mathematical structure
For a known pure target |psi>, fidelity is F=<psi|rho|psi>=Tr(rho |psi><psi|). Expand the target projector in Pauli operators, then estimate the weighted expectations. Importance sampling can reduce measurement burden when the target coefficients are known and accessible.
Fully worked reference example
For |Phi+>=(|00>+|11>)/sqrt(2), the projector is(I+X0X1-Y0Y1+Z0Z1)/4. Suppose estimated expectations are XX=0.90, YY=-0.88 and ZZ=0.92. Then F=(1+0.90-(-0.88)+0.92)/4=0.925. If each estimate is independent with standard error0.02, fidelity standard error is sqrt(3×0.02²)/4≈0.008660. Correlated measurement estimates require covariance terms.
Limits and misconceptions
Trusted measurement axes and target preparation descriptions matter. A high target overlap does not characterize every possible error channel. Sampling complexity claims must include target-dependent coefficient access and repeated-shot cost.
Scientific relationships
Is a targeted certification method. Uses Pauli expansions and statistical estimation. Is distinct from complete tomography.
Importance sampling from a pure target
For n qubits let d=2ⁿ, and use Pauli operators with Tr(PQ)=d δPQ. Write target coefficients aP=Tr(σP) and experimental coefficients bP=Tr(ρP). For a pure target σ, ΣaP²=d and fidelity is F=(1/d)ΣaPbP. Sampling P with probability aP²/d, on the nonzero support, makes bP/aP an unbiased importance-weighted estimate of F if bP were known exactly.
Its second moment is (1/d)Σsupport bP²≤Tr(ρ²)≤1. This useful bound concerns randomness in choosing Pauli settings with exact expectation values. A real experiment must estimate each bP using finite shots. Replacing bP by one ±1 outcome x changes the second moment to support-size divided by d, because every nonzero coefficient contributes one term after importance weighting. Small target coefficients can therefore require many repeated measurements even when the number of sampled settings is modest.
A complete single-qubit example
Take a pure target with Bloch vector (1/√2,0,1/√2). Its nonzero coefficients are aI=1 and aX=aZ=1/√2. The sampling probabilities are 1/2 for I and 1/4 each for X and Z. Let the experimental state have Bloch vector (0,0,0.8). Then bI=1, bX=0, and bZ=0.8, giving F=[1+0.8/√2]/2=0.782843.
With exact expectations, the sampled estimator values are 1, zero, and 0.8√2. Their second moment is 0.5+0.25×1.28=0.82. With one physical outcome per nonidentity setting, the estimator values are instead 1 or ±√2, with second moment 1.5. The additional variance is 0.68. The identity contribution is known without running hardware and can be handled analytically; retaining it here makes the complete probability calculation transparent. Optimizing such deterministic contributions changes accounting, not the target fidelity.
Stabilizer structure and trusted measurements
For a stabilizer pure state, the target projector is the uniform sum of its stabilizer operators. Their target expectations are ±1 depending on the chosen signed representation, so importance sampling does not divide by arbitrarily small coefficients. That structure makes direct fidelity estimation especially favorable. It does not remove the need to measure multi-qubit Pauli products accurately or to count basis rotations and any entangling measurement operations.
If a measured Pauli expectation is biased by readout or axis error, the fidelity estimate inherits the weighted bias. Trusted measurement means that the model of those measurements is established sufficiently for the certification claim. A strong overlap estimate with an assumed target is not automatically device-independent certification. Nor does it characterize how the device would process other input states; a preparation procedure can succeed for one target and fail badly elsewhere.
Confidence, target descriptions, and entanglement
A fidelity estimate becomes a certification statement only with a justified uncertainty bound. For the two-qubit Bell target, every separable state has overlap at most one half. A lower confidence bound strictly above one half therefore certifies entanglement under the measurement assumptions. A central estimate above one half with an interval extending below it does not establish that conclusion at the stated confidence level.
For arbitrary targets, computing or sampling the coefficient distribution can itself be expensive. An ideal state described by a classically hard circuit need not supply efficiently accessible aP values. The protocol's measurement savings should therefore be accompanied by the classical target-description cost. State fidelity, entanglement fidelity of a channel, and average gate fidelity also use different normalizations; extending the method to processes requires stating which object is being estimated.
Measurement reuse and estimator design
Several compatible Pauli expectations can be extracted from one measured bit string, creating covariance. Reusing those outcomes can reduce the number of settings but changes the estimator variance. Independent-setting formulas cannot simply be applied to shared-shot estimates. Conversely, deliberately selecting Pauli settings with a different proposal distribution is possible when importance weights are adjusted, provided every required coefficient remains supported and variance is controlled.
The single-qubit example gives three setting weights. The exact-expectation estimator values vary less than individual shot outcomes. Direct fidelity estimation targets one overlap. Efficient choice of measured settings and low total sample cost depend separately on the target coefficients and measurement model.
A coefficient cutoff has a quantifiable bias
Suppose a computational shortcut omits a set T of target Pauli coefficients. The omitted fidelity contribution is ΔF=(1/d)ΣP∈T aPbP. Cauchy–Schwarz bounds its magnitude by sqrt[(ΣT aP²/d)(ΣT bP²/d)], which is at most sqrt(ΣT aP²/d) because Tr(ρ²)≤1. Thus the total omitted squared target weight supplies a conservative bias bound without reconstructing the unknown state. If that weight is 10⁻⁴, the bound is 0.01, not 10⁻⁴. Small individual coefficients can collectively matter when many are omitted. A sampling implementation that thresholds coefficients should therefore report the aggregate discarded weight and incorporate its bias bound into certification. The bound may be loose for a known restricted state family, but tightening it requires additional justified information rather than treating unsupported coefficients as exactly zero.
Sources
Verification scope
Recorded source check ·
Pure-target Pauli importance sampling and distinction between sampled settings and finite measurement repetitions checked.
Selected access as stated; no full proof replication, experimental replication, or present performance ranking.