Verification of Quantum Advantage
A quantum-advantage experiment compares a quantum method with classical methods on the same computational task. Two questions must be answered together: did the device produce the requested result, and what did that result cost compared with the classical alternatives? A hardness theorem can explain why the task is promising, but its assumptions must match the experiment. This page develops those distinctions through small examples; it does not rank present-day devices.
Required background. Algorithmic benchmarking explains accepted answers, retries and complete runtime. Quantum complexity classes distinguishes complexity assumptions from algorithm timings.
Helpful background. Cross-entropy benchmarking explains one sampling statistic; circuit simulation introduces classical alternatives.
Correct answers and computational advantage
Section titled “Correct answers and computational advantage”Suppose a quantum device returns two factors of a large integer. Multiplication checks the answer cheaply. That success establishes correctness, but an advantage comparison still needs a classical factoring method and comparable resources. Conversely, a fast device returning incorrect factors has not solved the task.
The same separation appears in less easily checked problems:
| Requested output | Useful check | What remains uncertain |
|---|---|---|
| Factors or another witness | Evaluate the defining relation | Cost of finding it classically |
| An optimized configuration | Check feasibility and objective value | Distance from the optimum |
| An expectation value | Compare with a reliable reference or bound | Reference error and estimator bias |
| Samples from a distribution | Test specified distributional properties | Properties the tests do not constrain |
| An interactive response | Apply a protocol with a soundness theorem | Whether its assumptions hold |
A query advantage compares calls to a specified oracle. A finite runtime advantage compares implementations at selected problem sizes. A practical advantage additionally concerns a useful complete task. Oracle construction, state preparation, error correction and verification can change the relationship between these statements. The benchmarking review by Proctor and colleagues explains why a device score needs an explicit computational interpretation.
An empirical comparison can be convincing without a proven lower bound against every classical algorithm. It should then say which classical methods were evaluated. A mathematical separation makes the stronger claim only within the model and assumptions of its theorem.
Why sampling is harder to check
Section titled “Why sampling is harder to check”For a target distribution and observed distribution , total-variation distance is
It equals the largest difference between their probabilities of any event. Thus small total variation controls every event, whereas agreement on a few averages controls only those averages.
Consider two-bit outcomes in the order :
Each individual bit is equally likely to be zero or one under either distribution. A verifier measuring only single-bit frequencies sees perfect agreement. Nevertheless, : equal bits occur with probability under and probability one under .
Matching both single-bit distributions leaves a large difference in their joint distribution. The parity test distinguishes these examples immediately. For bits, the uniform distribution and the uniform distribution on even-parity strings agree on every marginal involving fewer than bits, yet remain a total-variation distance apart.
More diagnostics can detect more failure modes, but a finite list needs a mathematical connection to the desired conclusion. Secret tests can reduce deliberate tuning; secrecy alone does not supply that connection. A classical program that cheaply passes the actual test is relevant to a claim about passing that test, even if its mechanism differs from the device.
A sample-complexity limitation
Section titled “A sample-complexity limitation”In ordinary identity testing, the target is fully known and one receives independent samples from an otherwise unrestricted . At fixed success probability, the worst-case number of samples needed to distinguish from scales as
for possible outputs. This is a promise-testing result, not a universal confidence interval for an arbitrary nearby . Valiant and Valiant give the stronger, target-dependent theory: concentrated targets can be much easier. Testing a point mass, for example, needs only samples at constant confidence, independently of .
For a broad -bit target, makes even the square-root scaling exponential in . Evaluating the target probabilities can add another computational difficulty. Additional trusted measurements, structural assumptions or interaction can change the verification problem; a lower bound for ordinary samples does not rule those methods out.
What a hardness argument actually says
Section titled “What a hardness argument actually says”An exact amplitude can be hard to calculate even when a noisy experiment is easy to imitate. Approximate sampling therefore needs its own argument. A common route combines hardness of approximating output probabilities on typical instances, an approximate-counting reduction, and assumptions about classical complexity classes. Anticoncentration ensures that a substantial fraction of probabilities are not too small relative to ; it helps translate certain additive errors into relative ones. It is neither sufficient for hardness nor a universal prerequisite for every sampling-hardness proof. These distinctions are developed by Hangleiter and Eisert.
The uniform distribution illustrates the point: all probabilities equal , so it anticoncentrates perfectly, yet independent fair bits sample it efficiently. Likewise, one difficult instance does not establish difficulty for a randomly drawn population. A worst-case theorem, an average-case conjecture and a measured runtime are different kinds of statements.
Noise changes the requested approximation
Section titled “Noise changes the requested approximation”For a simple illustrative mixture, let be uniform and
Direct substitution gives
If and , uniform samples approximate the physical output within , while the physical output remains from the ideal target. Whether that device passes depends on which distribution and tolerance the task specifies. Small nonzero correlation with is compatible with both facts.
This mixture is a model, not a general description of circuit noise. In general, the noisy output cannot even be inferred from the ideal output probabilities alone: those probabilities discard phases and intermediate states. Noise simulation works with channels and circuits that retain the necessary information. Noise can simplify some tasks, but no general rule says every noisy quantum computation is easy.
Comparing classical and quantum costs
Section titled “Comparing classical and quantum costs”At a fixed accuracy, confidence and instance population, let be the cost of classical method . For the evaluated set , define
If is the optimum over all allowed classical algorithms, then
The measured cost supplies an upper bound on the best possible classical cost. Taking its ratio to a quantum time does not reverse that inequality. A timeout on one method likewise gives no lower bound on another method’s cost. For a randomized method, one timed-out run is merely a censored observation of its completion time; it does not even establish that method’s mean runtime.
The comparison should include useful domain-specific approximations and methods aimed at the actual acceptance rule. Asking a classical program to compute the full state while asking the quantum device only for a few observables compares different outputs. Tensor-network simulation explains why geometry and requested observables can matter more than the full Hilbert-space dimension.
A quality mismatch can reverse the ranking
Section titled “A quality mismatch can reverse the ranking”Suppose, purely as a calibrated example, two unbiased independent-sampling estimators have root-mean-square errors
Here is in seconds and setup cost is negligible. The quantum estimator reaches in s; the classical estimator reaches in s. Comparing just those times suggests a fourfold quantum improvement. At the common error , however, the classical time is s, which is 25 times faster. Equal error and confidence must precede the time comparison. The example assumes the displayed scaling is valid; biased or correlated estimators need a different analysis.
Preprocessing, retries, discarded shots and verification belong in the chosen timing boundary. Reusable setup can be amortized across a batch when both methods receive that opportunity. Energy and financial comparisons require their own measured boundaries; a short circuit does not determine whole-system energy use.
If improved classical software changes its cost from s to s while a quantum task takes s, the ratio changes from to . The original timings remain historical facts. The updated comparison answers a different, later question.
Statistical uncertainty and the tested population
Section titled “Statistical uncertainty and the tested population”For paired instances with positive costs, define
Then is a geometric-mean cost ratio. It is not the ratio of mean costs and does not imply a win on every instance. At large enough sample size, with an appropriate standard error, an approximate one-sided lower bound is
For paired data, covariance matters. Write and :
Here are variances of the two sample means. Heavy tails, timeouts and changing hardware can invalidate the simple approximation. Repeated shots from one circuit do not supply new independent circuit instances; uncertainty must reflect the population to which the conclusion applies.
Choosing the best result among many settings also changes the inference. For prespecified tests, assigning each a false-positive allowance controls the chance of any false positive by the union bound, without requiring independence. Inspecting results repeatedly until a fixed-sample interval becomes favorable needs a valid sequential method instead. A statistical confidence level concerns the tested comparison; it cannot assign a probability that no undiscovered classical algorithm exists.
Verification through interaction
Section titled “Verification through interaction”Interaction lets a verifier ask challenges that a static output file cannot answer. A test of quantumness separates an honest quantum device from a specified class of classical strategies. A verification protocol for computation bounds acceptance of an incorrect computational result, including attacks by a dishonest quantum prover. These are different soundness requirements.
Brakerski and colleagues construct tests and randomness protocols from suitable cryptographic functions. Mahadev gives classical verification of quantum computations under a learning-with-errors hardness assumption against efficient quantum algorithms. The precise adversary and security assumptions matter; a result about classical attackers should not be silently promoted to security against quantum attackers.
For illustration, suppose a protocol bounds the conditional success probability of every allowed classical strategy by on every round, including conditioning on its previous history. Independent fresh challenges plus that conditional bound permit concentration arguments even if the device has memory. For scores ,
One cannot insert a single-round bound into this formula without establishing its applicability after earlier rounds. Cryptographic composition may also contribute a security error. Verifier time, communication, rejected rounds and physical overhead still matter to a resource advantage.
For conventional hardware tests, combine independently checked small instances, physically informative observables and fresh data at the target scale. Agreement in an easy regime supports a model but does not prove its extrapolation across an unexplained transition. Verification of quantum simulation develops complementary physical checks; reproducible notebooks explains how another reader can rerun a calculation.
Exercises
Section titled “Exercises”1. A marginal test misses parity
Section titled “1. A marginal test misses parity”For the two-bit distributions in the figure, calculate both single-bit probabilities, the equal-bits probability and total variation. Extend the conclusion to uniform even-parity strings on bits.
Solution
Both single-bit probabilities of one are . Equal bits have probabilities and , and the four absolute differences are each , giving total variation . Fixing any bits leaves even-parity completions, so every such marginal has probability . The full parity still differs.
2. A concentrated target
Section titled “2. A concentrated target”The target always outputs . A wrong sampler outputs something else with probability at least . How many independent samples make the probability of missing all discrepancies at most ?
Solution
The worst miss probability is . Therefore
Use . For small , this is approximately , regardless of the number of possible wrong strings. This does not contradict a worst-case bound over targets.
3. A noisy target
Section titled “3. A noisy target”For the mixture above, suppose . At what does uniform sampling meet a tolerance around ? At what does meet that tolerance around ?
Solution
The first condition is , hence . The second is , hence . Approximating the noisy device and implementing the ideal task are very different requirements here.
4. A timeout and a new algorithm
Section titled “4. A timeout and a new algorithm”A classical program times out at s; the quantum method takes s. Another classical method completes the same task in s. What can be concluded?
Solution
That run of the first program exceeded s. The second method proves the optimal classical cost is at most s, so the quantum method is not faster than the evaluated classical alternatives. Neither the timeout nor the size of the state vector proves a universal classical lower bound.
5. Paired uncertainty
Section titled “5. Paired uncertainty”Let , standard errors of the two mean log costs be , and their correlation be . Find the approximate 95% one-sided lower ratio using .
Solution
The covariance is . Thus
Setting covariance to zero would give about . Pairing removes shared instance difficulty in this example; it does not remove uncertainty about untested algorithms.
6. Geometric means and total time
Section titled “6. Geometric means and total time”Two equally likely instances have classical times s and quantum times s. Compute the geometric-mean speedup and ratio of mean times.
Solution
The ratios are and , with geometric mean . The ratio of means is . The quantum method loses on the second instance. The two averages answer different questions.
7. Conditional success against memory
Section titled “7. Conditional success against memory”A hypothetical test has conditional classical success bound . In rounds, the observed fraction is . Evaluate the stated concentration bound. Why is a marginal single-round bound insufficient?
Solution
The bound is . If all outcomes instead equal one shared Bernoulli variable with success probability , each round has marginal success , but all rounds succeed with probability . After an early success, the conditional bound fails. A valid protocol must exclude that failure of the premise.
8. Fixed mitigation weights
Section titled “8. Fixed mitigation weights”For , let and . Calculate the variance. What changes if the weights are fitted to these same data?
Solution
For fixed weights and finite second moments,
This covariance identity is exact; independence would instead give . Data-dependent weights are random and can correlate with , so simply substituting fitted weights omits their uncertainty and possible bias. Probabilistic error cancellation discusses sampling costs for signed estimators.
9. Extrapolating a control
Section titled “9. Extrapolating a control”A device reproduces all Clifford control circuits, but has an untested coherent error on a non-Clifford gate. Does control agreement establish correctness of circuits using that gate? Does anticoncentration establish classical hardness?
Solution
Neither conclusion follows. The controls did not exercise the faulty operation; target validation needs sensitivity to it or a justified bound on its error. Uniform independent bits provide an efficiently sampled, perfectly anticoncentrated distribution. Additional computational structure and a relevant hardness argument are needed.
References
Section titled “References”- Brakerski, Z., Christiano, P., Mahadev, U., Vazirani, U., and Vidick, T. “A cryptographic test of quantumness and certifiable randomness from a single quantum device.” Journal of the ACM 68, article 31 (2021). doi:10.1145/3441309; arXiv:1804.00640.
- Hangleiter, D., and Eisert, J. “Computational advantage of quantum random sampling.” Reviews of Modern Physics 95, 035001 (2023). doi:10.1103/RevModPhys.95.035001.
- Mahadev, U. “Classical verification of quantum computations.” In 59th IEEE Symposium on Foundations of Computer Science, pp. 259–267 (2018). doi:10.1109/FOCS.2018.00033; arXiv:1804.01082.
- Proctor, T., Young, K., Baczewski, A. D., and Blume-Kohout, R. “Benchmarking quantum computers.” Nature Reviews Physics 7, 105–118 (2025). doi:10.1038/s42254-024-00796-z.
- Valiant, G., and Valiant, P. “An automatic inequality prover and instance optimal identity testing.” SIAM Journal on Computing 46, 429–455 (2017). doi:10.1137/151002526.