Symmetry Verification
Symmetry verification uses a property that the ideal answer must satisfy—such as a fixed parity or particle number—to reject incompatible outcomes or estimate a projected observable. It can remove some errors without identifying their cause. Errors that stay inside the accepted sector remain, and the loss of samples can offset an improvement in accuracy.
The starting point is a specific ideal state and a projector satisfying . The state, check and observable matter: a symmetry of the Hamiltonian does not by itself imply that the prepared state lies in one symmetry sector. This page develops direct and virtual projection, imperfect checks, finite-sample uncertainty and several limits of filtering.
Required background. Projectors explains orthogonal subspaces. Error mitigation introduces bias, variance and sampling cost.
Helpful background. Good quantum numbers explains conserved eigenspaces. Variance and covariance supplies uncertainty propagation.
The accepted symmetry sector
Section titled “The accepted symmetry sector”For a Hermitian binary symmetry with , the projector onto eigenvalue is
Because , ; Hermiticity follows from . The ideal input and dynamics determine the intended sign. Choosing whichever sign produces a favorable measured answer would select a different target.
For example, the odd-parity subspace of two qubits is spanned by and has . A single fault flips parity. A fault preserves parity and may still destroy coherence between those basis states. Two parity-changing faults can return the state to the accepted sector.
More generally, an error anticommuting with maps an eigenstate into the sector. Commuting errors remain undetected by that check. Detection probabilities depend on the full circuit, timing and noise model, as in the simulation studies of Bonet-Monroig et al. (2018) and McArdle, Yuan and Benjamin (2019).
The ideal complete circuit must preserve the promised support at the point of verification. Requiring every gate to commute with is sufficient but stronger than necessary. If the algorithm intentionally mixes sectors, or an approximation breaks the symmetry, filtering can remove valid signal. A particle-number check can use its full spectral projector rather than only parity; degeneracy preserves the whole eigenspace.
What an ideal projection changes
Section titled “What an ideal projection changes”For the actual noisy state , let
Here is the acceptance probability. An ideal selective Lüders measurement actually prepares on acceptance. Its mean for any observable is
If , this reduces to . In a compatible terminal measurement it is the conditional mean of among accepted records. Without commutation, the one-sided shortcut is generally wrong and may even be complex. An actual sequential measurement, or a suitable correlation protocol, is needed for the two-sided expression. See Lüders measurements.
Fidelity can improve while an observable gets worse
Section titled “Fidelity can improve while an observable gets worse”For a pure ideal target inside the sector, define squared fidelity . Ideal projection gives
This follows by moving onto the target ket and bra. It is a statement about an ideal projector and this target fidelity, not every observable or an imperfect checking circuit.
Consider three orthogonal states labeled , ideal state , and
The ideal and raw means of are both zero. Projection improves fidelity from to , but changes the mean to . The rejected sector’s contribution had accidentally canceled the in-sector error. High acceptance is also not fidelity: passes this check with certainty but is orthogonal to the target.
Projection removes state and renormalizes states and . Target population increases, but the remaining population of state produces observable error . The bars describe an ideal check, so this limitation does not require detector mistakes.
Direct checks and virtual projection
Section titled “Direct checks and virtual projection”A terminal bitstring can reveal parity or particle number without extra gates if it also supports the desired observable measurement. A nondemolition ancilla check can preserve coherence inside the accepted subspace before another measurement, but its extra gates and backaction may add noise. The check’s success probability alone does not characterize that backaction.
Virtual symmetry verification estimates the projected mean from correlations, without necessarily preparing the projected state. For binary and ,
This is the exact identity obtained by substituting . The measurements of may share records or use different settings, so their covariance and shot allocation matter. The direct-versus-correlation distinction is discussed by Bonet-Monroig et al. (2018) and Huggins et al. (2021).
As an example, take compatible joint outcomes:
| Probability | ||
|---|---|---|
Then , and . For the positive sector, , the unnormalized moment is , and the conditional mean is . Those three values describe different quantities.
Symmetry expansion replaces the exact projector by a chosen weighted combination of symmetry operations (Cai, 2021). A quotient such as can trade bias against sampling cost. It need not describe a physical postselected state when is not a suitable positive projector. That broader construction should be distinguished from ordinary sector filtering.
Multiple checks and correlations
Section titled “Multiple checks and correlations”For commuting Hermitian involutions , multiply their projectors:
For two checks, this is
Both acceptance and the projected numerator contain the cross term. Commuting observables do not imply statistically independent outcomes. For example, the following joint law gives marginal acceptances but joint acceptance :
| Probability with | Probability with | |
|---|---|---|
The acceptance covariance is . The jointly accepted mean is . Getting accepted records therefore takes about attempts on average under independent stationary trials; multiplying marginal rates would incorrectly predict about .
Redundant generators impose no new subspace restriction when their target signs are consistent. For instance, adding with leaves the projector unchanged; an inconsistent sign makes the joint sector empty. Extra measured checks can still reveal measurement faults, but their outcomes cannot be counted as independent passes.
For a finite Abelian symmetry group, the projector for character is , using each group element once. Expanding this average can require many correlations; compatible grouping or randomized group sampling changes the measurement cost, not the operator identity.
If projectors do not commute, is generally not a projector onto their common subspace. Sequential acceptance implements and can depend on order. An orthogonal projector onto a common eigenspace, when that space exists, is a separate construction.
Sampling cost and ratio uncertainty
Section titled “Sampling cost and ratio uncertainty”Write estimated numerator and acceptance as , with population ratio . Abbreviate their variances and covariance as
To leading order,
The leading ratio bias is
These are local approximations; a poorly resolved denominator can make them unreliable. In the first probability table, define for and zero otherwise. The single-shot quantities satisfy
For independent attempts, the ratio formula gives variance about and standard error . Omitting covariance would overestimate this example’s variance. Other measurement designs can have a different sign or magnitude of covariance.
Exact counting for direct postselection
Section titled “Exact counting for direct postselection”With independent identically distributed records, fixed decision rule and acceptance , the retained count is . Conditional on , the retained sample mean is exactly unbiased for the accepted population. If its single-record variance is , then
The familiar is a large-count approximation, not the exact result. An empty accepted sample has no sample mean and should not be reported as zero. Stopping at a fixed accepted records instead gives variance and expected attempts , under the same independent-trial assumptions.
Correlation estimates measured in separate settings generally form a different ratio estimator. Their numerator and denominator variances need not shrink with , leading to an amplification; direct selection often has an leading cost. Neither is a universal overhead independent of measurement grouping, covariance or the observable.
Imperfect acceptance and measurement disturbance
Section titled “Imperfect acceptance and measurement disturbance”Suppose a classical sector label is well defined in the acquisition. Let be its valid-sector prevalence, the true-accept probability, and the false-accept probability. If selection is independent of the observable within each sector, then
For and sector means , acceptance is , the accepted mean is about , and invalid records form about of the accepted sample. False rejection occurs on of all attempts. Collecting accepted records costs about attempts on average.
Two average assignment rates are insufficient if acceptance depends on the observable or on the state inside a sector. They also do not describe disturbance by a physical check. For example, Kraus operator , with unitary inside the accepted subspace, has exactly the same acceptance effect as a Lüders check but rotates the accepted state. A check can have perfect sector labels and still damage the desired observable. Calibrate the appropriate joint measurement or instrument, including leakage and loss classes.
Combining filtering with other mitigation
Section titled “Combining filtering with other mitigation”When readout errors can change both the observable and the sector label, keep their joint outcome counts. Measurement-error mitigation can then estimate the required projected moments under its response assumptions. Discarding rejected records first can remove information needed for that correction, although identifiability must be assessed for the particular response and target rather than assumed impossible in every reduced model.
Zero-noise extrapolation of a conditional ratio differs from extrapolating numerator and denominator before division. With probabilistic error cancellation weights , a projected ratio uses both signed sums:
The denominator is a signed estimate, not an ordinary retained fraction. Keep its covariance with the numerator and separately count actual accepted and rejected attempts. Under exact PEC and a guaranteed ideal sector, the ideal denominator is already one; the unbiased weighted numerator can be used directly. Dividing by an estimated denominator produces a different, generally biased finite-sample estimator, even if both have the same infinite-data limit.
Choose checks and tuning on data separate from the final comparison, test their transfer to representative circuits and observables, and compare accuracy at equal total resources. Physical selective projection can improve a state, while virtual estimation changes only the reported expectation. Neither alone supplies the general logical recovery conditions of quantum error correction.
Exercises
Section titled “Exercises”1. Derive binary virtual projection
Section titled “1. Derive binary virtual projection”Prove that is a projector and derive the virtual mean when .
Solution
Squaring gives . Hermiticity follows from . The numerator is , and acceptance is . Their ratio yields the stated formula whenever acceptance is positive.
2. Reconstruct the two-check moments
Section titled “2. Reconstruct the two-check moments”Use the second table to compute , , and their three -weighted counterparts. Recover joint acceptance and numerator from the projector expansion.
Solution
The symmetry moments are ; and the weighted moments are . Thus acceptance is , and numerator is . Their ratio is . The cross terms cannot be replaced by products of marginal means.
3. Quantify false-accept contamination
Section titled “3. Quantify false-accept contamination”Reproduce the imperfect-check example and its bias relative to the true valid-sector mean.
Solution
Valid accepted mass is and invalid accepted mass is . The numerator is . Dividing by gives about , with bias . Equivalently, the contamination fraction multiplies the sector-mean difference .
4. Compute exact conditional variance
Section titled “4. Compute exact conditional variance”For independent attempts with acceptance and accepted-record variance , express the exact variance given that at least one record is accepted. Explain why a fixed-accepted-count experiment differs.
Solution
Condition on : the mean has variance and the same expectation for every . Averaging gives
There is no between- variance of the conditional mean because its expectation is constant. Stopping at accepted records fixes the variance to and randomizes the attempt count instead.
5. Test the one-sided shortcut
Section titled “5. Test the one-sided shortcut”Take , and . Compare the one-sided quotient and the Lüders mean. What happens for ?
Solution
Acceptance is . For , the one-sided quotient is one, but the projected state is , with mean zero. For the standard matrix, the one-sided quotient is , while the projected mean is again zero. Incompatible one-sided products are not generally physical conditional means.
6. Reverse two noncommuting checks
Section titled “6. Reverse two noncommuting checks”Start in . Compare accepting first , then , with the reverse order.
Solution
The first order accepts with probability and leaves . The reverse accepts with probability and leaves . These are sequential instruments. Their common one-dimensional eigenspaces do not intersect, so neither sequence realizes an orthogonal projection onto a shared nonzero subspace.
7. Explain the population figure
Section titled “7. Explain the population figure”Compute acceptance, target fidelity and observable mean before and after projection in the three-state example. Does the ideal-sector promise ensure an improvement in every observable?
Solution
Acceptance is . The normalized populations are , so target fidelity rises from to . The raw observable mean equals its ideal value, whereas the projected mean is . Thus the fidelity guarantee is compatible with a worse individual observable.
8. Separate correct labels from a correct instrument
Section titled “8. Separate correct labels from a correct instrument”In the same three-state space, let swap states and preserve state . Compare accepted Kraus operators and on the ideal input .
Solution
Both have effect , so acceptance is one and sector labels are identical. The first outputs and the second , changing target fidelity from one to zero and the example’s observable from zero to one. A sector confusion matrix alone cannot distinguish these instruments.
References
Section titled “References”- X. Bonet-Monroig, R. Sagastizabal, M. Singh, and T. E. O’Brien, “Low-Cost Error Mitigation by Symmetry Verification,” Physical Review A 98, 062339 (2018), doi:10.1103/PhysRevA.98.062339.
- Z. Cai, “Quantum Error Mitigation Using Symmetry Expansion,” Quantum 5, 548 (2021), doi:10.22331/q-2021-09-21-548.
- W. J. Huggins, J. R. McClean, N. C. Rubin, Z. Jiang, N. Wiebe, K. B. Whaley, and R. Babbush, “Efficient and Noise Resilient Measurements for Quantum Chemistry on Near-Term Quantum Computers,” npj Quantum Information 7, 23 (2021), doi:10.1038/s41534-020-00341-7.
- S. McArdle, X. Yuan, and S. Benjamin, “Error-Mitigated Digital Quantum Simulation,” Physical Review Letters 122, 180501 (2019), doi:10.1103/PhysRevLett.122.180501.