Quantum Volume
Quantum volume (QV) is a single number that summarizes how large a circuit a device can run reliably. Unlike RB, which reports a per-gate error, QV is holistic: it bundles qubit count, connectivity, gate fidelity, crosstalk, and compiler quality into one figure of merit, so two very different machines can be ranked on the same scale.
Square model circuits
QV is defined through model circuits that are deliberately square: a circuit on qubits with layers (depth ). Each layer does two things (Cross et al.):
- A random permutation of the qubits, pairing them up.
- On each pair, a Haar-random two-qubit gate drawn from .
The circuit is "square" because width and depth grow together — increasing stresses the device on both axes at once. The largest a device can pass becomes its quantum volume.
Heavy outputs and the passing criterion
For each model circuit, classically compute the ideal output distribution and find its median probability. A bitstring is a heavy output if its ideal probability exceeds that median. Because the ideal distribution is Porter–Thomas-like, the heavy outputs carry more than half the total probability — an ideal device produces them with probability
in the large- limit. A noisy device produces them less often. The device passes width if, averaged over many random model circuits, it generates heavy outputs more than two-thirds of the time with adequate statistical confidence:
The threshold sits between the ideal and the value that a useless (uniform-output) device would give.
The quantum-volume number
Let be the largest width the device passes. The quantum volume is
The exponential makes the number grow fast — a device that reliably runs square circuits up to has . The exponent is the part that actually carries information; the exponentiation is a convention so that bigger is dramatically better.
Building a model-circuit layer
The atom of a QV model circuit is one layer: pair the qubits, then apply an entangling two-qubit block to each pair. For two qubits there is exactly one pair and no nontrivial permutation, so a layer is just a single two-qubit block. A simple, fully-entangling representative is "Hadamard on each qubit, then a controlled-" — it spreads single-qubit superposition and then entangles, the two ingredients every block contains.
Try it
Implement a single two-qubit model-circuit block on 2 qubits: apply a Hadamard to each qubit and then a controlled- between them. The grader checks the resulting two-qubit unitary against the one derived from the reference solution.
This unitary is one layer of a width-2 model circuit — the smallest building block of a quantum-volume experiment.
Sign in on the full site to ask questions and join the discussion.