Random Circuit Sampling
Random Circuit Sampling (RCS) is the task on which quantum computational advantage was first made precise and first claimed in hardware. The recipe is almost insultingly simple: draw a circuit at random from a fixed ensemble — alternating layers of single-qubit gates from and fixed two-qubit entanglers on a planar grid of qubits — run it on , measure, and report bitstrings with their Born frequencies . There is no problem to solve and no answer to check: the output is a distribution, and the entire computational content is the difficulty of reproducing it classically. Two pillars hold the hardness argument up. First, computing even a single amplitude is -hard, because that amplitude is a sum over exponentially many interfering Feynman paths — a permanent-like counting problem. Second, the ensemble must anticoncentrate: mass spreads so broadly that typical probabilities are and no small set of heavy bitstrings can be cheaply guessed. Combine a worst-to-average-case amplitude reduction with anticoncentration and an efficient classical algorithm sampling even approximately from would collapse the polynomial hierarchy — an event ranked alongside in implausibility. The experimentalist cannot check the full distribution — that needs exponential statistics — so certification runs through the linear cross-entropy benchmark (XEB): sample the noisy device, classically evaluate the ideal for those strings, and average. Under the Porter–Thomas statistics of a scrambling circuit, XEB is a faithful proxy for global fidelity, decaying exponentially in the number of two-qubit gates times their error. RCS is thus a moving target — a race between accumulated gate error and ever-sharper classical simulation.
- Random Circuit Sampling asks a device to emit bitstrings from for a random circuit on qubits — a task with no answer to verify, only a distribution to reproduce.
- For scrambling circuits the probabilities obey the Porter–Thomas law with , so the rescaled probabilities have unit mean and unit variance.
- Classical hardness rests on two conjectures — average-case -hardness of amplitudes and anticoncentration — under which an efficient approximate classical sampler collapses the polynomial hierarchy to its third level.
- Fidelity is certified by , which equals for ideal sampling, for uniform, and under global depolarizing noise.
- RCS drove the 2019 Google Sycamore advantage claim (, 20 cycles, ) and its successors, but tensor-network and Pauli-path algorithms keep contesting the frontier by exploiting finite fidelity.
- Key idea: RCS exploits a provable-under-conjecture gap — amplitudes are -hard and the distribution anticoncentrates, so classical approximate sampling would collapse the polynomial hierarchy — while a quantum device samples natively in linear depth, and Porter–Thomas statistics make cross-entropy a faithful fidelity proxy.
RCS leverages a provable-under-conjecture gap: estimating output amplitudes is -hard and the distribution anticoncentrates, so classical approximate sampling would collapse the polynomial hierarchy — while a quantum device samples natively in linear time. The Porter–Thomas distribution governs the statistics and makes cross-entropy a faithful fidelity proxy.
Where this lives today
RCS is the live proving ground of the quantum-advantage program, and it moves in both directions. On the hardware side, superconducting processors have pushed past Sycamore's 53 qubits: USTC's Zuchongzhi devices scaled deeper, Google's 2023 study mapped a phase transition in RCS at 70 qubits, and its 2024 Willow chip ran RCS on 105 qubits while demonstrating below-threshold error correction — the advantage and fault-tolerance frontiers converging on one device. On the classical side the counterattack is just as vigorous: Pan and Zhang's tensor-network contractions computed correlated Sycamore samples on GPU clusters, closing much of the original time gap, and Pauli-path algorithms exploit the very noise that limits hardware to spoof XEB — matching a low-fidelity device's score without simulating its full distribution. This cat-and-mouse has a constructive descendant: because XEB is unverifiable at very large , researchers now pursue cryptographically verifiable quantum advantage and interactive proofs of quantumness, where a classical verifier certifies quantum behavior efficiently — RCS thus lives on as benchmark, stress test, and the seed of verifiable quantum computation.
The physical picture
Read one amplitude as a coherent sum over every path through the depth- circuit — roughly interfering complex terms. A classical algorithm that wants the value of that amplitude is stuck adding those terms with no shortcut, because the sum is as hard as counting solutions to a problem. The quantum device never computes the sum; it lets the physical evolution perform the interference and reads off one sample. The first figure fixes the object.
Anticoncentration is the promise of "no cheap heavy bitstrings." If a handful of strings carried most of the probability, a classical adversary could enumerate them and score well without simulating anything. A scrambling circuit forbids that: the rescaled weights look like independent draws from , so about of all strings sit above the mean and no small heavy set exists to exploit. That statistical flatness is exactly what cross-entropy benchmarking measures. The second figure is the diagnostic an experimentalist plots: the Porter–Thomas law.
Underneath the statistics runs a fidelity ledger. Each two-qubit gate of error multiplies the surviving fidelity by roughly , so after operations the coherent weight is . The experiment must keep above the level where classical algorithms — whose cost scales with the fidelity they must match — become cheaper than the quantum sampler. Every gain in gate quality raises ; every classical advance lowers the bar. RCS is the scoreboard for that contest.
The core equations
The definition is the Born rule applied to a random unitary: prepare , apply , and the probability of reading is the squared amplitude. The difficulty is entirely in the word random and in the size of the outcome space.
where: — random circuit unitary on qubits; — measured bitstring in ; — all-zero input; — Born probability. Reading: the "answer" is not any one but the whole profile , which a classical rival must reproduce. For a scrambling ensemble, behaves like a Haar-random state and the individual probabilities are exponentially distributed. This is the Porter–Thomas law, imported from mid-century nuclear physics, and it is the statistical backbone of everything downstream.
where: — Hilbert-space dimension; — density of probabilities over the ensemble; — one probability . Reading: rescaling to gives the parameter-free law with mean and variance both . Because the full distribution is unverifiable, certification uses the linear cross-entropy benchmark. One draws device samples, evaluates the ideal probabilities on those strings, averages, and rescales.
where: — the distribution the device really samples; — ideal probability computed classically; — empirical average over samples; — ideal, uniform. Reading: a device that emits high- strings more often than chance scores above zero — it "knows" where the ideal mass sits. Real hardware samples not from but from a noisy mixture. A well-tested model treats accumulated noise as global depolarization: the ideal state survives with weight , otherwise replaced by the uniform state.
where: — global circuit fidelity; — Pauli error of operation (gate, idle, or readout); — uniform component. Reading: fidelity is multiplicative, decaying exponentially in circuit size. Substituting the depolarizing model into the benchmark gives the identity that makes XEB useful. Under this noise the benchmark reports the fidelity itself, so a few million samples buy a number otherwise inaccessible.
where: the coherent piece uses and the incoherent piece uses . Reading: cross-entropy on a scrambling circuit is a near-direct readout of global fidelity. The hardness claim is conditional. An efficient classical sampler for would place a -hard quantity low in the polynomial hierarchy, which — by Toda's theorem — forces the whole hierarchy to collapse.
where: — polynomial hierarchy; — its third level. Reading: complexity theorists regard collapse as essentially impossible, so its contrapositive is the evidence for hardness. Finally, the leading classical attack is tensor-network contraction. Its cost is governed by the treewidth of the circuit's contraction graph, not by the qubit count alone.
where: — treewidth of the contraction graph ; — contraction cost. Reading: shallow or thin circuits have small treewidth and are easy; hardness demands depth and 2D connectivity.
The goal is to show that for a scrambling circuit the Born probabilities are not spread evenly but follow the exponential density , and to extract the two moments — unit mean and unit variance of — that serve as the experimental signature of a properly randomized circuit, by modelling the output as a Haar-random state whose amplitudes are complex Gaussian.
Step 1. Model as a Haar-random unit vector in , . Each amplitude is , and by concentration of measure on the sphere , the parts are independent Gaussians for large . Why: a Haar-random state distributes its length democratically over complex directions.
Step 2. Form . A sum of two independent squared zero-mean Gaussians of variance is exponentially distributed (chi-squared, two degrees of freedom), giving on . Why: the two-DOF chi-squared is exactly the exponential; the scale is fixed by .
Step 3. Rescale to , so . The first moment is , hence as normalization demands. Why: recovering the mean probability confirms the scale is right.
Step 4. The second moment is , so and . The collision probability is , so the anticoncentration constant is . Why: equal mean and variance is the diagnostic of scrambling; an under-scrambled circuit gives a narrower histogram. *The results , , and follow directly from the chi-squared(2) law for Haar-random amplitudes.*
Go deeper · Derivation B · 1 minThe cross-entropy benchmark reads out global fidelity
The goal is to prove the working identity : that under global depolarizing noise the linear cross-entropy of the device's samples against the ideal probabilities returns exactly the circuit fidelity — a quantity the experimentalist can measure equalling one they cannot otherwise access, obtained by inserting the noise model and evaluating the coherent and incoherent pieces with one Porter–Thomas moment.
Step 1. Write and insert it: . Why: the depolarizing model fits many independent small errors and linearizes the benchmark into two terms.
Step 2. The coherent term uses the Porter–Thomas second moment , giving . Why: cross-entropy rewards overlap with the ideal distribution, and that overlap is the collision probability, fixed at .
Step 3. The incoherent term collapses to by normalization . Why: the maximally mixed component is blind to where the ideal mass sits, contributing only the uniform baseline.
Step 4. Combine and subtract the offset: . Why: the offset is engineered so the noise floor cancels, isolating — making XEB a fidelity meter, not a similarity score. *This identity holds when the ideal output statistics are Porter–Thomas and the noise is well-approximated as global depolarization.*
Go deeper · Derivation C · 1 minEfficient exact sampling collapses the polynomial hierarchy
The goal is to make precise the sense in which RCS is classically hard: to show that a hypothetical efficient classical algorithm sampling exactly from would let a -hard quantity be approximated inside the third level of the polynomial hierarchy, which by Toda's theorem forces the entire hierarchy to collapse — an outcome believed as unlikely as , via Stockmeyer counting to estimate one output probability, closed by Toda's theorem.
Step 1. Suppose a randomized poly-time algorithm samples exactly from for any . For a suitable universal gate set, the amplitude can be made to encode a -complete counting quantity (a permanent or partition function) through gate gadgets. Why: hardness enters through the amplitude, whose path sum is literally a counting problem.
Step 2. Since reproduces the distribution, is accessible to Stockmeyer's approximate counting: with an oracle one estimates to a multiplicative factor in . Why: Stockmeyer's theorem converts the ability to sample into the ability to approximately count one outcome's probability.
Step 3. Toda's theorem states : the entire hierarchy lies in polynomial time with a oracle. Why: Toda is the bridge that lets one -hard estimate pull all of down with it.
Step 4. Chaining gives , so the hierarchy collapses to its third level. Since that is widely believed false, no such exact classical sampler exists. Why: the contrapositive is the deliverable — if is infinite, exact efficient classical sampling is impossible. *The exact-sampling collapse is rigorous; the approximate-sampling version additionally requires average-case amplitude hardness and anticoncentration.*
Limiting cases
Whether RCS is hard or trivial depends sharply on depth, geometry, and noise. Each row is a regime where either the hardness argument or the classical-simulation cost changes character.
| Case | Result | Meaning |
|---|---|---|
| Shallow or 1D circuits | , chain geometry | Bounded entanglement (bond dimension ) makes contraction polynomial; small treewidth, no hardness. |
| Anticoncentration onset | On a 2D grid the circuit approaches a 2-design near logarithmic depth; the distribution anticoncentrates and the hardness arguments first apply. | |
| Noisy deep circuits | Accumulated error drives ; the output approaches uniform and admits efficient approximate classical sampling (Pauli-path, stochastic methods). | |
| Clifford circuits | Gottesman–Knill gives efficient simulation at any depth; RCS therefore requires genuinely non-Clifford (magic) resources. |
Worked examples
1 · The Sycamore fidelity budget (fully worked)
A superconducting processor runs a random circuit on qubits for 20 cycles, using about single-qubit gates, two-qubit gates, and terminal readouts. With representative Pauli error rates , , and , predict the global fidelity and the expected XEB.
Step 1. Fidelity is multiplicative, so work with the summed error budget . Single-qubit contribution: .
Step 2. Two-qubit contribution: . Readout contribution: . The entanglers and one-shot readout dominate — each an order of magnitude noisier than a single-qubit rotation, which is why they, not single-qubit control, set the scale.
Step 3. Total budget . The predicted fidelity is , about .
Step 4. By , the device should score — small but resolvable, consistent with the measured Sycamore value of . A per-gate error near on the entanglers, compounded over hundreds of gates, pins the whole experiment at a fraction of a percent fidelity.
2 · How flat is Porter–Thomas, and how many samples to see it
For a scrambling circuit, what fraction of bitstrings are "heavy" (probability above the mean ), how much probability do they carry, and roughly how many samples are needed to resolve an XEB of above zero?
Step 1. Heavy strings satisfy . Their fraction is . About of all strings sit above average — heaviness is a bulk property, not a few spikes.
Step 2. The probability mass those heavy strings carry is . Roughly of the strings hold of the mass — a mild, spread-out concentration nothing can enumerate.
Step 3. The single-sample estimator has variance of order unity, so the standard error after samples is . Resolving needs at minimum, and for a confident separation. Sycamore collected about samples — squarely in this range — which is why a fidelity could be certified at all.
Physics of the portrait
RCS is where three strands of twentieth-century thought converge: Feynman's intuition that quantum systems resist classical simulation, the complexity theory of counting, and the mid-century statistics of chaotic quantum spectra. The portrait is of the idea itself — quantum computational advantage — and the people who turned a slogan into a falsifiable experiment.
Origins · 1 minquantum computational advantage and how this was discovered
The idea that a quantum computer might do something no classical computer can was Feynman's in 1982, framed as the difficulty of simulating quantum physics on classical machines. It stayed a slogan until complexity theory gave it teeth. In 2010 Bremner, Jozsa and Shepherd showed that classically sampling certain commuting ("IQP") circuits would collapse the polynomial hierarchy; in 2011 Scott Aaronson and Alex Arkhipov proved the analogue for BosonSampling, introducing the now-standard template — average-case amplitude hardness plus anticoncentration implies no efficient classical sampler unless collapses. John Preskill coined "quantum supremacy" in 2012 to name the threshold. The bridge to hardware came from Boixo, Neven and collaborators around 2016–2018, who proposed random circuits on a superconducting grid and made cross-entropy the certification tool. The 2019 Sycamore result claimed the threshold crossed. Almost immediately the counterattack began: tensor-network contractions and Pauli-path spoofing algorithms showed that finite fidelity and limited depth leave classical openings, reframing "supremacy" as a contested, quantitative frontier rather than a finish line.
Going further
Texts. Nielsen & Chuang, Quantum Computation and Quantum Information (10th anniv. ed.), Ch. 4 (circuits) and Ch. 12 (complexity) · Preskill, Lecture Notes on Quantum Computation, Ch. 6 and the quantum-supremacy supplements · Watrous, The Theory of Quantum Information, Ch. 7 (distinguishability) · Wilde, Quantum Information Theory (2nd ed.), Ch. 3 (Haar measure, typicality) · Kitaev, Shen, Vyalyi, Classical and Quantum Computation, Ch. 8 (complexity classes) · Mermin, Quantum Computer Science (measurement and sampling).
Papers. Arute et al., "Quantum supremacy using a programmable superconducting processor," Nature 574, 505 (2019) · Aaronson & Chen, "Complexity-Theoretic Foundations of Quantum Supremacy Experiments," CCC (2017) · Bouland, Fefferman, Nirkhe, Vazirani, "On the complexity and verification of quantum random circuit sampling," Nature Physics 15, 159 (2019) · Bremner, Jozsa, Shepherd (2010) and Aaronson, Arkhipov (2011) for the sampling-hardness template. Three results underpin the article's core claims. First, the Porter–Thomas density with , , and follows from the chi-squared(2) law of Haar-random amplitudes. Second, the XEB endpoints (ideal) and (uniform), and the identity under depolarizing noise, use . Third, the -collapse chain follows via Toda's theorem and Stockmeyer counting. The Sycamore figures (, 20 cycles, , samples) are experimental; the worked fidelity budget uses representative error rates and reproduces the measured to one significant figure. The anticoncentration constant follows from the Porter–Thomas second moment.
Prerequisites. Quantum Circuit Model · Computational Complexity (P, NP, #P, PH) · Haar Measure and Unitary Designs · Magic State Distillation. Leads to. Boson Sampling · Quantum Supremacy / Advantage Experiments · Tensor Network Simulation · Topological Quantum Computation.
Ask the tutor: Want to see why unit variance in the Porter–Thomas histogram is the exact fingerprint of a scrambling circuit — and how a spoofing algorithm sneaks a high XEB without it? Ask me to walk through it.
Does RCS compute anything useful, like factoring or search?
No, and that is deliberate. RCS solves no application — it produces samples from a random distribution with no external meaning. Its purpose is narrow: to isolate whether a near-term noisy device can outperform the best classical simulation on any well-defined task. Useful algorithms like Shor's need deep, error-corrected circuits far beyond current hardware. RCS was chosen because it is the easiest task for which a rigorous (if conjectural) hardness argument exists, so it is the first place an advantage could plausibly appear — a physics experiment testing a complexity prediction, not a computation anyone wants the answer to.
What is anticoncentration and why is it necessary for hardness?
Anticoncentration is the property that probability mass spreads broadly, so typical probabilities are of order and no small set dominates — quantitatively, the collision probability stays within a constant of . It is necessary because the approximate-sampling hardness argument relates errors in the whole distribution to errors in one specific amplitude. If mass concentrated on a few strings, a classical algorithm could guess them cheaply and small total-variation error would not translate into pointwise amplitude hardness — so anticoncentration is what makes approximating the distribution genuinely require approximating individual hard amplitudes.
How can XEB certify a device when its fidelity is only 0.2%?
Because is a fidelity, not a success probability. XEB rewards the device for emitting high-ideal-probability strings more often than chance: a uniform sampler scores , the ideal sampler , the device its fidelity . Even is a definite positive signal that the hardware "knows" where the ideal mass sits, provided you take enough samples to push the statistical error below . That needs roughly samples — a few hundred thousand at minimum, a few million for confidence — which is why experiments collect about shots. Smallness of costs samples, not validity.
What exactly is "spoofing" the cross-entropy benchmark?
Spoofing means hitting a target XEB score without simulating the full ideal distribution. It exploits the fact that a real device has small fidelity , so a classical algorithm need only reproduce the modest surviving coherent component. Pauli-path (low-weight expansion) algorithms truncate the circuit's operator expansion to the low-order terms that survive noise, reproducing just enough structure to match the device's XEB at far less than full-simulation cost. Spoofing does not contradict the complexity theory, which concerns high-fidelity exact sampling; it shows a high XEB alone is not proof of hardness.
Why does geometry and depth matter more than the number of qubits?
Because the best classical attack — tensor-network contraction — costs , set by the treewidth of the contraction graph, not simply . A 1D shallow circuit has a thin contraction path and small treewidth, so it is simulable in polynomial time however many qubits it uses. A 2D grid run to super-logarithmic depth forces any contraction to cut through entangled bonds, driving treewidth toward and cost toward . This is why advantage experiments insist on 2D connectivity and enough depth to anticoncentrate: qubit count is necessary but not sufficient.
Is the RCS advantage claim settled, or can classical computers catch up?
It is explicitly unsettled, and that is a feature. The theoretical hardness is conditional on unproven conjectures (non-collapse of , average-case amplitude hardness, anticoncentration). The practical advantage is a moving comparison between improving hardware fidelity and improving classical algorithms — tensor-network contraction, Pauli-path truncation, and noise-exploiting methods have each narrowed or overturned specific claims. The honest description is a recalibrated frontier: at any moment there is a regime of where the device is ahead, and that boundary is actively contested.