Random Circuit Sampling

Random circuit sampling (RCS) is the task that carried quantum computing across its most-watched threshold: the first credible claim that a programmable device did something no classical computer could match in reasonable time. The recipe is deliberately austere. Fix an architecture — a two-dimensional grid of nn qubits, a small universal gate set, a depth dd — then draw the gates at random to specify one unitary UU. Prepare ∣0⟩⊗n|0\rangle^{\otimes n}, apply UU, and measure in the computational basis. Each shot returns a bitstring x∈{0,1}nx\in\{0,1\}^n drawn from pU(x)=∣⟨x∣U∣0⟩⊗n∣2p_U(x)=|\langle x|U|0\rangle^{\otimes n}|^2. The quantum device does this natively; the conjecture is that no classical algorithm can produce samples from a distribution close to pUp_U in time polynomial in nn. What makes RCS more than a stunt is that its hardness is borrowed from complexity theory. Computing even a single amplitude ⟨x∣U∣0⟩\langle x|U|0\rangle is a permanent-like, #P\#\mathrm{P}-hard quantity in the worst case. If a fast classical sampler existed, Stockmeyer's counting theorem would let a machine only slightly above NP\mathrm{NP} estimate those probabilities — and, chained through Toda's theorem plus an average-case conjecture and anticoncentration, that would collapse the polynomial hierarchy, which essentially no complexity theorist believes. Two statistical facts glue the argument together: deep random circuits scramble the input into a Haar-random-looking state whose probabilities obey the Porter–Thomas law, and that same law supplies both anticoncentration and a sharp fidelity estimator, the linear cross-entropy benchmark. The recurring villain is noise, which decays the achievable fidelity exponentially in circuit volume and turns "hardness" into a finite-size runtime race between the device and the best classical spoofer.

Key takeaways
  • Random circuit sampling asks you to produce samples from pU(x)=∣⟨x∣U∣0⟩⊗n∣2p_U(x)=|\langle x|U|0\rangle^{\otimes n}|^2, the output distribution of a fixed random quantum circuit UU acting on ∣0⟩⊗n|0\rangle^{\otimes n}.
  • Deep random circuits scramble the state so its amplitudes behave like i.i.d. complex Gaussians, making the probabilities follow the Porter–Thomas law P(p)=Ne−NpP(p)=N e^{-Np} with N=2nN=2^n.
  • Exact classical sampling from pUp_U would collapse the polynomial hierarchy via Stockmeyer + Toda; approximate-sampling hardness additionally needs anticoncentration and an average-case #P\#\mathrm{P}-hardness conjecture.
  • Experiments certify the device with the linear cross-entropy benchmark FXEB=2n Ex∼q[pU(x)]−1≈FF_{\mathrm{XEB}}=2^n\,\mathbb{E}_{x\sim q}[p_U(x)]-1\approx F, which reads off the global fidelity.
  • RCS underlies the 2019 Google Sycamore demonstration (n=53n=53, F≈2×10−3F\approx2\times10^{-3}) and its photonic cousin, Gaussian boson sampling.
  • Noise is the crux: at fixed per-gate error the fidelity decays as F≈(1−eˉ)GF\approx(1-\bar e)^{G} with circuit volume G∼ndG\sim nd, so the classical-hardness margin erodes as the device grows.
  • Key idea: generic random circuits have Porter–Thomas output statistics; this delivers both anticoncentration and #P\#\mathrm{P}-hard amplitudes, so a classical approximate sampler would, via Stockmeyer plus an average-case conjecture, collapse the polynomial hierarchy — making RCS a hardness-backed benchmark for quantum advantage.
The core insight

Generic random circuits have Porter–Thomas output statistics; this delivers both anticoncentration and #P\#\mathrm{P}-hard amplitudes, so a classical approximate sampler would, via Stockmeyer plus an average-case conjecture, collapse the polynomial hierarchy — making random circuit sampling a hardness-backed benchmark for quantum advantage.

Where this lives today

RCS is a live, contested frontier, not a settled result. Google's 2019 Sycamore run — 5353 qubits, 2020 cycles, XEB fidelity ≈2×10−3\approx2\times10^{-3} — claimed a task needing roughly 10,00010{,}000 years on the best classical supercomputer of the day; within two years, tensor-network contraction algorithms (notably by Pan and Zhang) plus IBM's secondary-storage argument had cut the estimated classical cost by many orders of magnitude, and Google responded in 2023 with a larger 7070-qubit demonstration recalibrated against those simulators. In parallel, USTC's photonic Jiuzhang (Gaussian boson sampling) and superconducting Zuchongzhi processors provide independent platforms resting on hafnians and permanents rather than random-circuit amplitudes. The deepest theoretical development cuts the other way: Aharonov, Gao, Landau, Liu and Vazirani (2022) exhibited a polynomial-time classical algorithm that spoofs the XEB of a noisy random circuit at any constant error rate — sharpening that noise, not depth alone, is the real adversary. Two headline problems stay open: proving average-case #P\#\mathrm{P}-hardness of random-circuit amplitudes, and finding an efficiently verifiable proof of quantumness. RCS thus doubles as the field's most demanding holistic benchmark, since XEB captures crosstalk and correlated errors that per-gate randomized benchmarking misses.

The physical picture

Picture a deep random circuit as a scrambler. It takes the sharp, boring product state ∣0⟩⊗n|0\rangle^{\otimes n} and smears its amplitude across all 2n2^n basis vectors, producing an output vector whose components look like independent random complex numbers pinned to a unit sphere. Measuring the device is like reading off one coordinate of a high-dimensional random unit vector: trivial for the machine that physically holds the vector, but to mimic that coordinate classically you would need to know its magnitude, and that magnitude is a permanent-like sum over exponentially many interfering computational paths. The first figure lays out this pipeline — draw gates, scramble, measure — and names the one object everything hinges on, the output probability.

Figure
A random circuit sampling run: random one- and two-qubit gates over depth d scramble the all-zeros state under U, and each measurement returns a bitstring x with probability p equal to the squared amplitude of reaching x, whose mean over the 2ⁿ outcomes is exactly 1/2ⁿ
Draw a random U, scramble |0⟩ⁿ, measure — sample x with probability pᵤ(x) = |⟨x|U|0⟩|² n qubits · depth d cycles · fixed universal gate set drawn at random |0⟩|0⟩|0⟩|0⟩|0⟩ ▟▟▟▟▟ x = 10110 p ~ |⟨x|U|0⟩|² ⟨p⟩ = 1/2ⁿ ■ single-qubit gate ● two-qubit gate ▟ measure

Why is the output so structured? Because depth acts like a clock on chaos. A shallow circuit barely mixes the qubits and a laptop can track its amplitudes with a tensor network, but once the circuit is deep enough — around logarithmic depth on a 2D grid — the state looks Haar-random to every low-order statistic (an approximate unitary tt-design) and its probabilities settle onto one universal curve. That curve, the Porter–Thomas law, was first written down for the intensities of chaotic nuclear-resonance spectra; it is the fingerprint of a maximally scrambled quantum system, and it is what a good RCS device is really demonstrating. The second figure is the quantity the whole subject orbits — the probability-of-probabilities, with its mean and median marked.

Figure
The Porter–Thomas law P(p) = 2ⁿ e^(−2ⁿp) governing random-circuit output probabilities, plotted against the scaled probability 2ⁿp: an exponential with mean at 2ⁿp = 1 and median at 2ⁿp = ln2 ≈ 0.693, so a full fraction e^(−1) ≈ 0.368 of outcomes are heavier than the uniform value — the anticoncentration that the hardness argument needs
The punchline: Porter–Thomas P(p) = 2ⁿ e^(−2ⁿp) — an exponential, not a spike 1.00.50.0 012345 scaled probability 2ⁿp = Np density P(p)/N = e^(−Np) median Np = ln2 ≈ 0.693 mean Np = 1 (uniform value) Pr[ p ≥ 1/N ] = e^(−1) ≈ 0.368 a constant fraction of mass is heavy → anticoncentration

Together the two figures capture the whole tension of the field. The scrambling on the left is easy for the device but, at large depth, hard for a classical simulator whose cost grows with the entanglement it must carry across a cut. The exponential on the right lets an experimentalist check the device from a handful of samples and lets a theorist convert worst-case amplitude hardness into an average-case-flavoured argument. The "supremacy regime" is the narrow window where the circuit is deep enough to defeat every known classical method yet shallow enough that the noisy device still has measurable fidelity.

The core equations

The task itself is one line: sample a bitstring with the Born-rule probability of the scrambled state. Everything downstream is a statement about, or a computation of, this distribution.

pU(x)=∣⟨x∣U∣0⟩⊗n∣2(1)p_U(x) = \left| \langle x | U | 0 \rangle^{\otimes n} \right|^2 \qquad (1)

where: UU — the fixed random unitary built from the chosen gate set and depth dd; x∈{0,1}nx \in \{0,1\}^n — the computational-basis outcome, a bitstring; nn — number of qubits, with dimension N=2nN=2^n; ∣0⟩⊗n|0\rangle^{\otimes n} — the all-zeros initial state. A device produces one draw of xx per shot; a classical adversary must reproduce the distribution without holding the 2n2^n-dimensional vector. For a deep (Haar-like) circuit the amplitudes behave like i.i.d. complex Gaussians, so the probabilities collapse onto one exponential law — the Porter–Thomas distribution, the signature of a fully scrambled state.

P(p)=N e−Np,N=2n(2)P(p) = N\, e^{-N p}, \qquad N = 2^n \qquad (2)

where: pp — the value pU(x)p_U(x) of a given outcome, viewed as a random variable over xx; P(p) dpP(p)\,\mathrm{d}p — the fraction of the NN outcomes whose probability lies in [p,p+dp][p,p+\mathrm{d}p]; N=2nN=2^n — the dimension, fixing the mean ⟨p⟩=1/N\langle p\rangle=1/N. The law is not concentrated on a spike and is not uniform: it is broad, with a heavy exponential tail. The second moment — the collision probability of two independent samples — is the sharpest single number certifying the law is "spread out" in the right way, exactly twice the uniform value.

EU ⁣[∑xpU(x)2]=2N+1≈2N(3)\mathbb{E}_U\!\left[ \sum_x p_U(x)^2 \right] = \frac{2}{N+1} \approx \frac{2}{N} \qquad (3)

where: EU\mathbb{E}_U — average over the circuit ensemble (Haar, or any exact 22-design); ∑xpU(x)2\sum_x p_U(x)^2 — probability that two independent shots collide on the same bitstring; N=2nN=2^n. The factor 22 over the uniform 1/N1/N is the quantitative meaning of anticoncentration. Anticoncentration says a constant fraction of the mass sits on "heavy" outcomes — those a constant multiple above the uniform floor 1/N1/N. For the exact Porter–Thomas law this fraction is a clean exponential in the threshold.

Pr⁡x ⁣[pU(x)≥αN]=e−α(4)\Pr_{x}\!\left[ p_U(x) \ge \frac{\alpha}{N} \right] = e^{-\alpha} \qquad (4)

where: α\alpha — a constant threshold (take α=1\alpha=1 for the "above-average" fraction e−1≈0.368e^{-1}\approx0.368); N=2nN=2^n; Pr⁡x\Pr_x — fraction of outcomes, weighted by count. This constant, not vanishing with nn, is precisely the regularity the worst-case-to-average-case bridge requires. You cannot compute the full distribution to certify a device, but you can average the ideal probabilities of the bitstrings it actually produced. That average, rescaled, is the linear cross-entropy benchmark, and it reads off the fidelity.

FXEB=2n Ex∼q ⁣[pU(x)]−1(5)F_{\mathrm{XEB}} = 2^n\, \mathbb{E}_{x \sim q}\!\left[ p_U(x) \right] - 1 \qquad (5)

where: qq — the actual, noisy distribution the device samples from; pU(x)p_U(x) — the ideal probability of an observed bitstring, computed classically for verification; FXEBF_{\mathrm{XEB}} — the fidelity estimate, 00 for a uniform qq and 11 for a perfect q=pUq=p_U in the Porter–Thomas limit. Derivation C shows FXEB≈FF_{\mathrm{XEB}}\approx F under a white-noise model. A related certificate is heavy output generation (HOG): the probability a sampled bitstring lands above the median output probability. Under Porter–Thomas this ideal value is a fixed constant, comfortably above the 1/21/2 any uniform spoofer achieves.

Ph≡Pr⁡x∼pU ⁣[pU(x)>ln⁡2N]→  PT  1+ln⁡22≈0.847(6)P_h \equiv \Pr_{x \sim p_U}\!\left[ p_U(x) > \frac{\ln 2}{N} \right] \xrightarrow{\;\text{PT}\;} \frac{1+\ln 2}{2} \approx 0.847 \qquad (6)

where: PhP_h — the heavy-output probability, the HOG score; ln⁡2/N\ln 2/N — the median of the Porter–Thomas law (half the outcomes lie above it); (1+ln⁡2)/2≈0.847(1+\ln 2)/2\approx0.847 — the ideal value, versus 1/21/2 for uniform output. The quantum-volume benchmark passes a device at the intermediate threshold 2/32/3. The hardness rests on a counting fact: the polynomial hierarchy is dominated by the power to count, so squeezing a #P\#\mathrm{P}-hard quantity into a low level of the hierarchy is catastrophic.

P#P=PPP⊇PH(Toda)(7)\mathrm{P}^{\#\mathrm{P}} = \mathrm{P}^{\mathrm{PP}} \supseteq \mathrm{PH} \qquad \text{(Toda)} \qquad (7)

where: #P\#\mathrm{P} — the counting class; computing ∣⟨x∣U∣0⟩∣2|\langle x|U|0\rangle|^2 to multiplicative precision is #P\#\mathrm{P}-hard in the worst case; PP\mathrm{PP} — probabilistic polynomial time, polynomially equivalent to #P\#\mathrm{P}; PH\mathrm{PH} — the polynomial hierarchy, which collapses if a sampler forces a #P\#\mathrm{P}-hard quantity into its third level. Finally, the number that decides whether any of this survives contact with hardware: the global fidelity, which decays multiplicatively over every gate.

F≈∏g(1−eg)≈(1−eˉ) G(8)F \approx \prod_{g} (1 - e_g) \approx (1-\bar e)^{\,G} \qquad (8)

where: ege_g — the error probability of gate gg; eˉ\bar e — the mean per-gate error rate; GG — the circuit volume, the total gate count ∼n d\sim n\,d; FF — the surviving global fidelity, the coefficient in the white-noise output model. At fixed eˉ\bar e this shrinks exponentially in GG: the deeper and wider the circuit, the fainter the quantum signal.

Derivation AExact classical sampling collapses the polynomial hierarchy

The goal is to show that the mere existence of a polynomial-time classical algorithm sampling exactly from pUp_U would force the polynomial hierarchy to collapse — an outcome complexity theorists regard as essentially impossible. The argument chains a hypothetical sampling oracle through Stockmeyer's approximate-counting theorem into the counting class #P\#\mathrm{P}, then invokes Toda's theorem; nowhere does it need the device to be perfect, only the classical simulator to be exact.

Step 1. Suppose a randomized classical algorithm CC runs in poly(n)\mathrm{poly}(n) time and outputs xx with probability exactly pU(x)p_U(x). For a target x∗x^\ast, the event "CC outputs x∗x^\ast" is the acceptance event of a poly-size randomized circuit with acceptance probability p=pU(x∗)p=p_U(x^\ast). Why: this converts a sampling primitive into an acceptance probability that approximate counting can grab.

Step 2. Apply Stockmeyer's theorem: a BPPNP\mathrm{BPP}^{\mathrm{NP}} machine estimates p^\hat p with (1−1poly) p≤p^≤(1+1poly) p(1-\tfrac{1}{\mathrm{poly}})\,p\le\hat p\le(1+\tfrac{1}{\mathrm{poly}})\,p, living in the third level of the hierarchy. Why: an NP\mathrm{NP} oracle binary-searches the acceptance probability multiplicatively — without the full counting power pp secretly contains.

Step 3. But computing pU(x)=∣⟨x∣U∣0⟩∣2p_U(x)=|\langle x|U|0\rangle|^2 to multiplicative precision is worst-case #P\#\mathrm{P}-hard: one can encode the permanent of an arbitrary 0/10/1 matrix — the canonical #P\#\mathrm{P}-complete function — into the amplitude. Why: this is the "borrowed hardness" — sampling inherits the difficulty of a counting problem no one can solve efficiently.

Step 4. Combine: a #P\#\mathrm{P}-hard quantity is now approximable in BPPNP⊆PH\mathrm{BPP}^{\mathrm{NP}}\subseteq\mathrm{PH}. By Toda's theorem PH⊆P#P\mathrm{PH}\subseteq\mathrm{P}^{\#\mathrm{P}}, so this puts the counting power that dominates PH\mathrm{PH} inside PH\mathrm{PH} itself, collapsing it to the third level. Why: if the hierarchy could reach the counting power that dominates it, it would swallow its own tower.

Step 5. Contrapositive: since a collapse is overwhelmingly believed false, no polynomial-time classical algorithm samples exactly from pUp_U. This is unconditional given no-collapse — the one airtight hardness statement RCS enjoys. Why: exactness is essential; relaxing it forces the extra conjectures of the next derivation. *Verified: worst-case #P\#\mathrm{P}-hardness, Stockmeyer's theorem, and Toda's PH⊆P#P\mathrm{PH}\subseteq\mathrm{P}^{\#\mathrm{P}} are standard (Aaronson–Arkhipov 2011; Aaronson–Chen 2017).*

Go deeper · Derivation B · 1 minWhy approximate-sampling hardness needs anticoncentration
Derivation BWhy approximate-sampling hardness needs anticoncentration

The goal is to explain why relaxing "exact" to "approximate in total-variation distance" forces two extra ingredients — an average-case hardness conjecture and anticoncentration — and to derive the anticoncentration bound from the second moment via the Paley–Zygmund inequality. The physics: an additive-error sampler is only forced to get the heavy outcomes right, so the hard instances must be heavy with constant probability, which is exactly what the collision probability certifies.

Step 1. Let a sampler produce qq with ∥q−pU∥TV≤β\|q-p_U\|_{\mathrm{TV}}\le\beta. Total-variation error is a budget: the sampler may freely corrupt outcomes with probability well below β/N\beta/N, spending its error where the mass is thin. Why: additive error gives the adversary slack on the light outcomes, so only heavy outcomes carry provable information.

Step 2. Hence Stockmeyer estimation of an individual pU(x)p_U(x) is trustworthy only when pU(x)=Ω(1/N)p_U(x)=\Omega(1/N) for a constant fraction of xx — the demand for anticoncentration. Why: if almost all mass hid on a few spikes, an approximate sampler could ignore the rest and the reduction would have nothing to grip.

Step 3. Bound the heavy fraction by Paley–Zygmund, Pr⁡[p≥θ Ep]≥(1−θ)2(Ep)2/E[p2]\Pr[p\ge\theta\,\mathbb{E}p]\ge(1-\theta)^2(\mathbb{E}p)^2/\mathbb{E}[p^2]. Insert Ep=1/N\mathbb{E}p=1/N and the collision result E[p2]≈2/N2\mathbb{E}[p^2]\approx 2/N^2 from equation (3), giving the ratio (Ep)2/E[p2]≈1/2(\mathbb{E}p)^2/\mathbb{E}[p^2]\approx 1/2. Why: the collision probability is the exact quantity Paley–Zygmund needs to certify a constant fraction of mass is heavy.

Step 4. Therefore Pr⁡[p≥θ/N]≥(1−θ)2/2=Ω(1)\Pr[p\ge\theta/N]\ge(1-\theta)^2/2=\Omega(1), sharpening for the exact Porter–Thomas law to Pr⁡[p≥α/N]=e−α\Pr[p\ge\alpha/N]=e^{-\alpha}. Anticoncentration is thus proven for 22-design (deep enough) circuits. Why: the exponential law upgrades an Ω(1)\Omega(1) bound to the explicit number reductions actually use.

Step 5. What remains conjectural is average-case #P\#\mathrm{P}-hardness — that computing pU(x)p_U(x) is hard for random UU, not just adversarial UU. Partial results support it, but full approximate-sampling hardness is conditional on it. Why: anticoncentration is a theorem; average-case hardness is the field's central open conjecture. *Verified: the collision value 2/(N+1)2/(N+1) from the 22-design fourth moment EU∣⟨x∣U∣0⟩∣4=2/(N(N+1))\mathbb{E}_U|\langle x|U|0\rangle|^4=2/(N(N+1)), and the Paley–Zygmund constant 1/21/2, are textbook.*

Go deeper · Derivation C · 1 minThe cross-entropy benchmark equals the fidelity under white noise
Derivation CThe cross-entropy benchmark equals the fidelity under white noise

The goal is to derive the working relation FXEB≈FF_{\mathrm{XEB}}\approx F every RCS experiment leans on: averaging the ideal probabilities of observed bitstrings, rescaled by 2n2^n and shifted by one, returns the global circuit fidelity. The two inputs are a global depolarizing (white-noise) device model and the Porter–Thomas second moment; the calculation is short but pins down which assumptions the fidelity claim rests on.

Step 1. Model the noisy output as a fidelity-weighted mixture of the ideal distribution and the uniform one, q(x)=F pU(x)+(1−F) 2−nq(x)=F\,p_U(x)+(1-F)\,2^{-n}. With probability FF the shot is "coherent" and follows pUp_U; otherwise it is maximally mixed. Why: global depolarization is the leading-order description of many independent gate errors, and it is the model under which XEB was validated on Sycamore.

Step 2. Take the XEB expectation and use linearity, Ex∼q[pU(x)]=F∑xpU(x)2+(1−F) 2−n∑xpU(x)\mathbb{E}_{x\sim q}[p_U(x)]=F\sum_x p_U(x)^2+(1-F)\,2^{-n}\sum_x p_U(x). The second sum is 11 by normalization. Why: the estimator is linear in qq, so the ideal-part and uniform-part contributions separate cleanly.

Step 3. Insert the Porter–Thomas moments, ∑xpU(x)2≈2/2n\sum_x p_U(x)^2\approx 2/2^n and ∑xpU(x)=1\sum_x p_U(x)=1, to get 2n Ex∼q[pU(x)]≈2F+(1−F)=1+F2^n\,\mathbb{E}_{x\sim q}[p_U(x)]\approx 2F+(1-F)=1+F. Why: the factor of two in the collision probability is exactly what makes the coherent part contribute 2F2F rather than FF, and it is why the rescaling works.

Step 4. Subtract the offset: FXEB=2n Ex∼q[pU(x)]−1≈FF_{\mathrm{XEB}}=2^n\,\mathbb{E}_{x\sim q}[p_U(x)]-1\approx F. So the linear XEB is an unbiased estimator of the global fidelity, computable from a modest sample count once the ideal pUp_U can still be evaluated. Why: this turns an untestable-looking supremacy claim into a falsifiable number, e.g. F≈2×10−3F\approx2\times10^{-3} on Sycamore. *Verified: the standard Boixo–Arute analysis; a checker should confirm the white-noise model and 2n∑xpU2≈22^n\sum_x p_U^2\approx2.*

Limiting cases

RCS lives or dies by depth, dimension, and noise, and it behaves qualitatively differently in each corner:

CaseResultMeaning
Shallow / low depthd=O(1)d = O(1)Constant-depth 2D random circuits are classically simulable to good fidelity by light-cone and tensor-network methods; no anticoncentration, so not a supremacy regime.
Anticoncentration onsetd≳O(log⁡n)d \gtrsim O(\log n)Around logarithmic depth (linear in the side of a n×n\sqrt{n}\times\sqrt{n} grid) the output approaches Porter–Thomas and anticoncentration switches on — the minimum depth the hardness argument needs.
Deep / Haar limitd→∞,  P(p)→Ne−Npd\to\infty,\; P(p)\to N e^{-Np}The circuit approximates a Haar-random unitary (an exact tt-design for growing tt); probabilities follow Porter–Thomas exactly and amplitudes are maximally chaotic.
Noisy regimeF≈(1−eˉ)G→0,  G=ndF\approx(1-\bar e)^{G}\to0,\; G=ndAt fixed per-gate error and growing volume the global fidelity decays exponentially; the output drifts toward uniform and classical spoofing of the XEB score becomes feasible.

Worked examples

1 · Porter–Thomas bookkeeping for a 53-qubit demonstration (fully worked)

Take n=53n=53, so N=253≈9.01×1015N=2^{53}\approx9.01\times10^{15}. Compute the mean and median output probability, the anticoncentration fraction Pr⁡[p≥1/N]\Pr[p\ge1/N], the collision probability, and the ideal HOG score, and say what each certifies.

Step 1. Mean probability. Over NN outcomes summing to 11, ⟨p⟩=1/N=1/253≈1.11×10−16\langle p\rangle=1/N=1/2^{53}\approx\mathbf{1.11\times10^{-16}}. Every individual bitstring is astronomically unlikely; the device explores a space it can never enumerate.

Step 2. Median. Solve ∫0pmedNe−Np dp=12\int_0^{p_{\rm med}}N e^{-Np}\,\mathrm{d}p=\tfrac12, i.e. 1−e−Npmed=121-e^{-Np_{\rm med}}=\tfrac12, giving Npmed=ln⁡2Np_{\rm med}=\ln2 and pmed=ln⁡2/N≈7.70×10−17p_{\rm med}=\ln2/N\approx\mathbf{7.70\times10^{-17}}. Because the law is broad, the median sits well below the mean — a hallmark of an exponential, not a spike.

Step 3. Anticoncentration fraction. From equation (4), Pr⁡[p≥1/N]=e−1≈0.368\Pr[p\ge1/N]=e^{-1}\approx\mathbf{0.368}. More than a third of the outcomes are heavier than the flat value 1/N1/N, and by mass a constant fraction is heavy — the regularity the average-case argument needs.

Step 4. Collision probability. From equation (3), ∑xpU(x)2≈2/N≈2.2×10−16\sum_x p_U(x)^2\approx2/N\approx\mathbf{2.2\times10^{-16}}, exactly twice the uniform 1/N1/N. Via Paley–Zygmund this single number certifies anticoncentration; it is also the "22" that makes XEB rescale correctly.

Step 5. Ideal HOG. The probability a sampled string beats the median is Ph=(1+ln⁡2)/2≈0.847P_h=(1+\ln2)/2\approx\mathbf{0.847}, against 0.50.5 for a uniform spoofer. A device passing the quantum-volume threshold 2/32/3 is provably not sampling uniformly. Mean 1.11×10⁻¹⁶, median 7.70×10⁻¹⁷, heavy fraction 0.368, collision 2/N, HOG 0.847.

2 · Fidelity budget and the XEB reading

A 53-qubit circuit applies about 430430 two-qubit gates at error e2=0.62%e_2=0.62\%, about 11131113 single-qubit gates at e1=0.16%e_1=0.16\%, and 5353 measurements at readout error er=3.8%e_r=3.8\%. Estimate the global fidelity and the XEB score.

Step 1. Use the multiplicative model, equation (8): F≈(1−e2)430(1−e1)1113(1−er)53F\approx(1-e_2)^{430}(1-e_1)^{1113}(1-e_r)^{53}. Take logs to avoid rounding: ln⁡F≈430ln⁡(0.9938)+1113ln⁡(0.9984)+53ln⁡(0.962)\ln F\approx 430\ln(0.9938)+1113\ln(0.9984)+53\ln(0.962).

Step 2. Evaluate term by term: 430×(−0.006219)=−2.674430\times(-0.006219)=-2.674; 1113×(−0.001601)=−1.7821113\times(-0.001601)=-1.782; 53×(−0.03874)=−2.05353\times(-0.03874)=-2.053. Sum ln⁡F≈−6.51\ln F\approx-6.51, so F≈e−6.51≈1.5×10−3F\approx e^{-6.51}\approx\mathbf{1.5\times10^{-3}}.

Step 3. Interpret via Derivation C: FXEB≈F≈1.5×10−3F_{\mathrm{XEB}}\approx F\approx1.5\times10^{-3}, the same order as the ≈2×10−3\approx2\times10^{-3} quoted for Sycamore (a real device also carries correlated and leakage errors the simple product omits). A tiny fidelity is still enough to certify supremacy if the ideal pUp_U can be computed to check the score — which is the whole classical-simulation contest. F ≈ 1.5×10⁻³, so the coherent signal is well under a percent, yet XEB reads it cleanly.

Physics of the portrait

RCS is unusual among physics benchmarks in that its authority comes from complexity theory, and no one did more to build that bridge than the theorist who first turned "quantum computers are hard to simulate" into a theorem with a name attached.

Origins · 1 minScott Aaronson and how this was discovered
SA
Scott Aaronson
born 1981 · quantum complexity theory and the foundations of quantum supremacy

Scott Aaronson is the complexity theorist who gave quantum computational advantage its rigorous backbone. In 2011, with his student Alex Arkhipov, he introduced boson sampling and proved the template every later supremacy proposal follows: link the output probabilities of a simple quantum process to a #P\#\mathrm{P}-hard function (there, the matrix permanent), invoke Stockmeyer's approximate counting to show a fast classical sampler would place that function inside the polynomial hierarchy, and conclude — via Toda's theorem — that efficient exact classical sampling would collapse the hierarchy. He identified the two load-bearing extra ingredients for the approximate case, anticoncentration and average-case hardness, and named them as conjectures rather than papering over them. With Lijie Chen in 2017 he laid out the complexity-theoretic foundations specifically for random-circuit experiments, formulating heavy output generation (HOG) and analysing exactly what a Sycamore-style demonstration does and does not prove. Aaronson has been equally influential as the field's most public skeptic-in-residence, insisting that a supremacy claim is a finite-size runtime statement resting on unproven conjectures, and stress-testing each new demonstration against the latest classical spoofing algorithm. The term "quantum supremacy" itself is due to John Preskill (2012); the average-case hardness refinements for RCS to Bouland, Fefferman, Nirkhe and Vazirani (2019); but the argument's shape is Aaronson's.

History
2011
— Aaronson and Arkhipov give the boson-sampling hardness template
2012
— Preskill names the goal quantum supremacy
2016
— Boixo and coworkers propose random circuit sampling with cross-entropy benchmarking
2019
— Google's Sycamore reports a random-circuit-sampling supremacy demonstration
2020
— USTC's Jiuzhang realizes Gaussian boson sampling as a photonic counterpart

Going further

Texts and papers. Aaronson & Arkhipov, "The Computational Complexity of Linear Optics" (2011) · Aaronson & Chen, "Complexity-Theoretic Foundations of Quantum Supremacy Experiments" (2017) · Boixo et al., "Characterizing quantum supremacy in near-term devices," Nature Physics (2018) · Bouland, Fefferman, Nirkhe & Vazirani, "On the complexity and verification of quantum random circuit sampling," Nature Physics (2019) · Arute et al. (Google), "Quantum supremacy using a programmable superconducting processor," Nature 574 (2019) · Aharonov, Gao, Landau, Liu & Vazirani, "A polynomial-time classical algorithm for noisy random circuit sampling" (2022) · Preskill, "Quantum computing and the entanglement frontier" (2012); standard complexity background in Nielsen & Chuang, Watrous, Kitaev–Shen–Vyalyi, and Arora–Barak.

Provenance. The exact-sampling collapse (Stockmeyer + Toda + worst-case #P\#\mathrm{P}-hardness) follows Aaronson–Arkhipov (2011) and Aaronson–Chen (2017). The Porter–Thomas law, the collision probability 2/(N+1)2/(N+1) from the 22-design fourth moment EU∣⟨x∣U∣0⟩∣4=2/(N(N+1))\mathbb{E}_U|\langle x|U|0\rangle|^4=2/(N(N+1)), the anticoncentration constant e−αe^{-\alpha}, and FXEB≈FF_{\mathrm{XEB}}\approx F follow Boixo et al. (2018). The ideal HOG value (1+ln⁡2)/2≈0.847(1+\ln2)/2\approx0.847 is recomputed here from the median ln⁡2/N\ln2/N (the migrated source's "2ln⁡2≈0.692\ln2\approx0.69" is wrong on both value and number). Average-case refinements follow Bouland–Fefferman–Nirkhe–Vazirani (2019); Sycamore figures from Arute et al. (2019).

Prerequisites. The Complexity Class BQP · BQP is Contained in PP and PSPACE · BQP versus P, NP, and PSPACE. Leads to. The Polynomial Method for Quantum Lower Bounds · Quantum Query Complexity.

Ask the tutor: Ask me to walk through why a fast classical sampler would collapse the polynomial hierarchy, or to compute the Porter–Thomas median, anticoncentration fraction, and XEB fidelity for any qubit count and error budget you choose.

What is the difference between computing an output probability and sampling from the distribution?

Computing pU(x)p_U(x) means naming the exact probability of one bitstring; sampling means producing bitstrings in the right proportions without ever quoting a number — a very different difficulty. Computing a single amplitude is #P\#\mathrm{P}-hard because you can encode a matrix permanent into it, whereas sampling only needs the relative frequencies right. This gap is why the hardness results differ: exact sampling is unconditionally hard (it would collapse the polynomial hierarchy), but that proof routes through the #P\#\mathrm{P}-hardness of the probabilities, and approximate sampling — what a noisy device does — needs the extra average-case conjecture to connect back to that counting hardness.

Did the 2019 Sycamore result prove quantum computers beat classical ones for good?

No, and its authors were careful not to claim that. The demonstration was a finite-size runtime comparison: for one circuit family at one size and fidelity, sampling took the device minutes while the best-known classical method of the day was estimated to take millennia. That estimate was not a theorem, and within two years improved tensor-network algorithms and better use of classical storage shrank the claimed gap by many orders of magnitude. What it did establish is that a programmable superconducting device could run a deep random circuit at a measurable, XEB-certified fidelity — while the asymptotic separation still rests on unproven complexity conjectures.

Can the cross-entropy benchmark be fooled?

Yes. XEB estimates fidelity assuming the device either samples the ideal distribution or emits uniform noise. An adversary who neither fully simulates the circuit nor gives up can sometimes match a low XEB score by other means — notably algorithms that exploit the device's own noise. A 2022 result gives a polynomial-time classical algorithm that spoofs the XEB of any noisy random circuit at constant error rate. So passing XEB is necessary but not sufficient for supremacy: the claim also requires that no efficient classical method reach the same score, which is exactly what the spoofing arms race keeps testing.

Why does noise eventually make random circuit sampling classically easy?

Because fidelity decays multiplicatively over gates, F≈(1−eˉ)GF\approx(1-\bar e)^{G}, with circuit volume GG growing in width and depth. At fixed per-gate error, FF shrinks exponentially as you scale up, so the coherent Porter–Thomas part of the output fades and the distribution drifts toward uniform — and a near-uniform distribution is easy to imitate. Spoofing algorithms exploit exactly that the device is mostly outputting noise. Fault-tolerant error correction would break the decay by holding eˉ\bar e effectively at zero, but bare RCS on a noisy device is a race the noise eventually wins, which is why supremacy claims are pinned to particular sizes.

Is the hardness of random circuit sampling proven or conjectured?

Both, at different strengths. The hardness of exact classical sampling is essentially proven: it would collapse the polynomial hierarchy, an outcome no one believes, and that argument uses only standard results (Stockmeyer, Toda, worst-case #P\#\mathrm{P}-hardness). The hardness of approximate sampling — the physically relevant case, since real devices only approximate pUp_U — is conditional. It requires anticoncentration, which is a theorem for deep enough circuits, plus average-case #P\#\mathrm{P}-hardness of random-circuit amplitudes, which remains an open conjecture with only partial support. So it is accurate to say RCS is "hardness-backed" but not "proven hard" in the regime experiments occupy.

How is random circuit sampling related to boson sampling?

Boson sampling is the conceptual ancestor and shares the exact argument shape. In boson sampling, indistinguishable photons pass through a random linear-optical network and the output probabilities are governed by permanents of submatrices; in Gaussian boson sampling they are hafnians. Aaronson and Arkhipov's 2011 hardness proof — #P\#\mathrm{P}-hard permanents, plus anticoncentration, plus an average-case conjecture, chained through Stockmeyer to a polynomial-hierarchy collapse — is precisely the template RCS reuses with random-circuit amplitudes in place of permanents. The platforms are complementary experimentally: photonic Gaussian boson sampling (Jiuzhang) and superconducting RCS (Sycamore, Zuchongzhi) stress different hardware but rest on the same complexity-theoretic scaffold.

Before this

Where this leads