Quantum Volume and Application Benchmarks
Quantum volume tests how large a random circuit a quantum computer can execute while retaining a prescribed amount of information about its ideal output. In the usual square-circuit test, a passing width and depth of gives . Thus describes a six-qubit, six-layer test, not 64 usable qubits.
The score includes compilation, routing, gates and readout. Application-oriented benchmarks ask a different question: how well does the same system execute circuits drawn from particular workloads? A useful comparison keeps the output quality, elapsed time and resources visible, because one scalar cannot describe all these properties.
Required background. Quantum circuits supplies the gate and measurement model; why benchmarking is hard explains why the measured quantity must match the claim. Helpful background. Probability spaces supplies expectations and conditional probabilities.
Random model circuits and heavy outputs
Section titled “Random model circuits and heavy outputs”The model circuit has qubits, starts in , and contains layers. Each layer randomly pairs the qubits and applies an independent Haar-random two-qubit unitary to each pair. One qubit is idle when is odd. Successive layers use fresh pairings and gates.
These are logical pairings, not assumptions about physical connectivity. A compiler must synthesize the two-qubit operations and route them through the device. Model depth counts these random layers; it need not equal native gate depth or execution time. Cross and colleagues (2019) define this ensemble and its heavy-output test.
For one circuit , calculate its ideal probabilities
Sort the probabilities and take the median, using the average of the two middle values. The heavy outputs are the strings whose ideal probabilities exceed that median:
The device produces a distribution , so its heavy-output probability is
The heavy set is defined from the ideal circuit, not from the measured histogram. The experiment asks how much measured probability lands in that set.
For example, consider
| String | Ideal probability | Heavy? |
|---|---|---|
| Yes | ||
| Yes | ||
| No | ||
| No |
The median is . Ideal sampling gives heavy probability . A uniform sampler gives , because two of the four strings are heavy. A device producing gives .
For a generic distribution without a tie across its middle probabilities, exactly half the strings are heavy. With ties, the strict inequality can select fewer; the uniform baseline is then . In particular, a perfectly uniform ideal distribution has an empty heavy set. Calculate the set rather than forcing half the outcomes into it.
The benchmark tests the ensemble mean
It does not require every random circuit to have . Nor does this probability-mass test certify the entire distribution: a sampler that always returns one known heavy string scores one while ignoring all other outcomes. The prescribed circuit implementation and sampling procedure therefore matter alongside the score.
Why the ideal heavy probability approaches 0.85
Section titled “Why the ideal heavy probability approaches 0.85”For a sufficiently scrambling, large-dimensional circuit, the scaled probability is approximately exponentially distributed when output labels are chosen uniformly. This is the Porter–Thomas approximation. The median solves
An ideal quantum sample favors labels with larger probabilities. Its density of is therefore , and its heavy probability approaches
Half the labels are heavy, but those labels carry more than half the probability. This explains the interval between the uniform baseline , the passing threshold , and ideal performance.
Finite circuits need not have this ideal heavy mass. The four-outcome example has , for instance. The experiment uses each circuit’s actual median and heavy set, not the asymptotic median .
Under the additional distributional model , with uniform and half the outputs heavy,
Using the asymptotic ideal value gives a passing condition . For the four-outcome example, the condition is instead . This parameter is a mixture weight; heavy-output probability alone does not determine state or process fidelity. Cross-entropy benchmarking develops the related limitations of interpreting a probability score as fidelity.
A statistical pass needs independent circuits
Section titled “A statistical pass needs independent circuits”For a fixed shape , generate independent circuits and run shots of each. Let count heavy shots for circuit . Estimate
Shots estimate an individual circuit’s heavy probability; new circuits sample variation across the ensemble. If circuits are independent and shots are conditionally independent and stationary,
where and . Taking many shots cannot remove the first term.
The original protocol of Cross and colleagues uses and the approximate lower value
A shape passes when . The paper describes this as a nominal 97.5% one-sided, two-sigma rule. It uses a normal approximation, not an exact finite-sample confidence theorem.
Why does disappear? The rule allows worst-case circuit variation: a circuit could always produce heavy outputs or never produce them. Repeating its shots would then supply no new independent information. More generally, since a per-circuit fraction lies between zero and one, its variance is at most ; the original rule substitutes the estimated mean into this conservative variance scale.
With , and ,
This does not pass. Incorrectly using as the independent sample size would produce approximately and an unjustified pass.
Other analyses can use observed circuit variation, exact or nonasymptotic intervals, or justified statistical models. State which rule was used; changing it changes the reported statistical test. Resampling complete independent circuit records already includes their measurement fluctuations. Adding a second independent shot-resampling step can count that noise twice. A hierarchical model must instead represent the actual conditional sampling process.
Drift can correlate circuits measured close in time. Randomize their order and repeat across independent time blocks when generalizing across calibrations. Searching many subsets, compiler settings or shapes also requires held-out confirmation or an appropriate selection-aware analysis; a per-shape interval alone does not protect every selected result.
Quantum volume and the width–depth map
Section titled “Quantum volume and the width–depth map”Let be the greatest depth through which the required tests at width pass. The original width–depth summary is
The common square-test implementation measures and reports for the largest passing square size . Keep the tested shapes and pass margins alongside the score. A pass at an unmeasured shape cannot be inferred merely by drawing a smooth frontier through other measurements.
For two illustrative systems, suppose the passing depths are
| Width | System A | System B |
|---|---|---|
Both have largest passing square size four and . Yet A supports twice B’s depth at width two. The scalar loses this distinction.
Equal quantum volume does not mean equal performance at every circuit shape. The points use the illustrative table; connecting lines guide the eye. The marked square-test point passes for both systems. Neither system passes the next tested square, .
Volumetric benchmarking, developed by Blume-Kohout and Young (2020), retains independent width and depth and specifies the circuit family and success criterion at every shape. It can reveal narrow/deep and wide/shallow strengths, including nonmonotonic behavior caused by placement or compilation.
The familiar picture of a filled square underneath a frontier assumes a downward-closed capability region. Do not fill holes in an irregular measured map by assumption. A conservative contiguous frontier and the raw pass/fail cells answer different questions; show which is being summarized.
Depth also depends on representation. A random two-qubit model layer, a layer in a standardized comparison gate set, and a layer in a device’s native schedule are different quantities. A map for random circuits does not automatically predict Fourier transforms, simulation, mid-circuit measurement, or error-correction cycles at the same nominal shape.
Compilation and classical reference calculations
Section titled “Compilation and classical reference calculations”Quantum volume intentionally measures the delivered system. The compiler may search placements, optimize synthesis, use native interactions and trade approximation error against additional noisy gates. Improving those choices can legitimately improve the score. Cross and colleagues require the implementation to approximate the requested unitary, rather than replace it with an unrelated circuit chosen to emit heavy strings.
Consequently, a larger score need not mean intrinsically better physical gates. A comparison of complete systems may permit each its best compiler; a more hardware-focused comparison must control compilation choices as far as the architectures allow. In either case, the approximation tolerance, search budget and chosen qubits affect the interpretation.
The reference calculation is another resource. Exact state-vector simulation stores amplitudes, and determining the exact median generally requires information about all ideal output probabilities. Tensor-network methods can change practical costs for favorable circuits, but do not remove the dependence on circuit structure. A classically verified quantum-volume result is a system benchmark, not a demonstration that its circuits are classically intractable.
Application circuits need a task-specific score
Section titled “Application circuits need a task-specific score”An application-oriented suite substitutes named algorithms or subroutines for generic random circuits and sweeps their sizes. Lubinski and colleagues (2023) give one such suite. A circuit inspired by an application may be useful for diagnosis even when its instances are easy to solve classically.
The score should reflect the output the user needs: an energy error, an optimization value, a success probability, or a distributional distance. The same input instances and quality target are needed for meaningful timing comparisons. For example, a 1 ms execution with energy error 0.02 does not meet a 0.01 target; a 3 ms execution with error 0.005 does. The faster run has not solved that specified task.
Two timing measurements may also answer different questions. Scheduled QPU time isolates device execution; elapsed time to an accepted answer can include compilation, communication, classical optimization and verification. Compare matching boundaries and include rejected or failed attempts. Algorithmic benchmarking develops complete task execution and retry costs; resource estimation distinguishes quantum and classical resources.
One suite score deserves particular care. Lubinski and colleagues use the squared classical fidelity
For uniform , define and normalize it as
This convention makes ideal sampling score one and uniform sampling score zero when is nonuniform. It is a distribution score, not a state or process fidelity. It is also nonlinear in , so it is not generally the ideal fraction in a mixture.
If , then and the denominator vanishes. Near uniformity, the small denominator amplifies estimation errors. Clipping hides how far below the baseline a result lies: for and , and , whereas the clipped score is zero. Retain the raw value when interpreting failures. Finite-shot histogram estimates of this nonlinear statistic can themselves be biased.
Finally, distributional similarity need not equal task success. If a task accepts either or , always producing succeeds every time but does not reproduce a uniform distribution over the two accepted answers. Choose the metric to match the question. Report per-task behavior before averaging a suite, since a high mean can hide an entire failed task class.
Exercises
Section titled “Exercises”1. Calculate the heavy set
Section titled “1. Calculate the heavy set”For the four-outcome table, find the median, ideal heavy probability, and heavy probability for . Would always returning establish faithful sampling?
Solution
The middle values are and , so the median is . The heavy set is , giving ideal mass and measured mass . Always returning scores one but has total-variation distance from the ideal distribution. Heavy mass alone does not establish faithful sampling.
2. Ties at the median
Section titled “2. Ties at the median”Take . What are its heavy set and uniform baseline? Why would arbitrarily choosing the two largest entries change the test?
Solution
The median is . Only the first entry is strictly larger, so the uniform baseline is and the ideal heavy mass is . Selecting an additional tied entry replaces the stated strict-median rule with a different acceptance set. Neither the baseline nor the Porter–Thomas ideal mass applies to this distribution.
3. Exact and asymptotic mixture thresholds
Section titled “3. Exact and asymptotic mixture thresholds”Under , find the threshold on for the four-outcome table and for the Porter–Thomas approximation.
Solution
The table gives . Thus requires . In the asymptotic model,
The different thresholds reflect different ideal distributions. Neither calculation infers quantum process fidelity without additional assumptions.
4. More shots or more circuits?
Section titled “4. More shots or more circuits?”Let circuit heavy probabilities be or with equal probability. For and , calculate the standard error of the ensemble mean and compare it with a pooled independent-shot calculation.
Solution
The mean is , the between-circuit variance is , and . Therefore
The standard error is about . Pooling as independent Bernoulli shots gives , almost seven times smaller. Additional circuits reduce both variance terms; additional shots reduce only the second.
5. Apply the original passing rule
Section titled “5. Apply the original passing rule”Suppose from independent circuits with equal shot counts. Does the original two-sigma rule pass?
Solution
There are at least 100 circuits, and
It passes this approximate rule. This conclusion assumes the stated independent sampling and does not address an uncorrected search over many candidate results.
6. The same scalar, different capabilities
Section titled “6. The same scalar, different capabilities”Compute the two quantum volumes from the width–depth table. Can either system’s score alone predict the quality of a width-two, depth-ten application circuit?
Solution
For A the values of are ; B has the same values. Both give . A passes the random-model shape in the illustrative table while B does not. Even that information does not determine performance on a different application circuit family.
7. A normalized score is not a mixture weight
Section titled “7. A normalized score is not a mixture weight”Take , and . Find the normalized classical fidelity. Then explain why the equality with is not general.
Solution
Here and , giving . This works because the target is deterministic. For a nondeterministic target the square-root cross terms remain. For example, and give and
This differs from the mixture weight .
8. Task success versus distribution fidelity
Section titled “8. Task success versus distribution fidelity”A task accepts either or . Let the reference distribution be and the device always output . Find task success, , and the normalized score using the four-outcome uniform baseline.
Solution
Task success is one. The distribution fidelity is , and the uniform baseline is also , so . The device reliably produces an accepted answer but does not sample the requested reference distribution. These are distinct tasks; the correct score depends on which one was intended.
9. An aggregate can reverse a ranking
Section titled “9. An aggregate can reverse a ranking”Two systems have scores and on two tasks. For a weighted mean giving weight to the first task, when is A preferred?
Solution
The means are and . Thus A is preferred when , or . Equal weights favor B, whereas sufficiently emphasizing the first task favors A. A suite ranking encodes a choice of workload weights.
References
Section titled “References”- Blume-Kohout, R., and K. C. Young. “A volumetric framework for quantum computer benchmarks.” Quantum 4, 362 (2020). doi:10.22331/q-2020-11-15-362.
- Cross, A. W., 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). arXiv:1811.12926.
- Lubinski, T., and colleagues. “Application-oriented performance benchmarks for quantum computing.” IEEE Transactions on Quantum Engineering 4, 3100316 (2023). arXiv:2110.03137.