PostBQP and Quantum Postselection
is what you get by handing an ordinary bounded-error quantum computer one science-fiction privilege: alongside its answer qubit it may designate a postselection qubit, and it is allowed to declare, by fiat, that this qubit was measured and found to be — even when that outcome had exponentially small probability. Every branch of the wavefunction in which the postselection qubit came out is simply discarded, and the surviving sliver is renormalized to weight one. No physical device can do this; realizing it would mean either reversing a measurement or repeating an experiment an astronomical number of times until a near-impossible event fires. Yet as a proof device the model is clean, robust, and startlingly strong. The headline, proved by Scott Aaronson in 2004, is a single exact equality: . Here — probabilistic polynomial time — is the counting class that decides whether a signed sum of exponentially many contributions is positive, and by Toda's theorem it towers over the entire polynomial hierarchy (). That a one-line augmentation of leaps all the way to is the surprise, and Aaronson's proof is bidirectional and short. One direction refines the Feynman path-sum used for , tracking the postselected normalization as a ratio of two exponential sums; the other encodes a counting threshold into a single qubit's amplitude and uses a postselected rotation to amplify its sign to constant bias. The payoff is the rigorous backbone of quantum-supremacy theory. If a classical computer could efficiently sample from an arbitrary quantum circuit's output distribution, classical postselection would inherit quantum postselection's power, forcing — and since sits low in the hierarchy, would collapse. This is the engine behind BosonSampling and IQP hardness.
- is plus the unphysical power to condition a computation on a designated qubit being , an event whose probability may be exponentially small.
- Aaronson's theorem (2004) is the exact equality — a one-line change to climbs all the way to the counting class .
- The mechanism is renormalization: throwing away almost all the probability mass and rescaling the surviving branch turns an exponentially small amplitude difference — the sign of a sum — into an order-one bias, which is exactly what decides.
- As a two-paragraph corollary it reproves that is closed under intersection and union, a fact whose original combinatorial proof (Beigel–Reingold–Spielman) was a tour de force.
- Because efficient classical sampling would give and collapse the hierarchy, postselection underpins BosonSampling and IQP sampling-hardness.
- Key idea: Postselection turns the renormalization of an exponentially rare measurement branch into free computational power — ratios of exponential sums that cannot resolve become decidable, and the resulting class is exactly .
Postselection turns the renormalization of an exponentially rare measurement branch into free computational power: ratios of exponential sums that cannot resolve become decidable, and the resulting class is exactly the counting class .
Where this lives today
Postselection is the load-bearing beam of quantum-supremacy theory, the rigorous reason sampling experiments are believed hard to fake classically. Aaronson and Arkhipov's BosonSampling (2011) sends indistinguishable photons through a linear-optical network and samples the output; the output probabilities are squared permanents of complex matrices, and computing permanents is -hard. Their argument runs exactly along the second figure: an efficient classical sampler, granted postselection, would place the sign of a permanent inside , but via and Toda's theorem that collapses the hierarchy. The same template, instantiated with commuting "instantaneous quantum polynomial-time" (IQP) circuits by Bremner, Jozsa and Shepherd, needs only a constant-depth nonuniversal model, because postselected IQP already equals . These arguments framed how Google's 2019 Sycamore random-circuit-sampling claim and later demonstrations are judged: the debate over "how supreme" an experiment is becomes a debate over how well the ideal distribution is reproduced and how far classical spoofing and tensor-network simulation can be pushed. On the theory side, is a hub in the modern map — it neighbours , the celebrated , and open questions like whether , which the 2019 Raz–Tal oracle separation suggests may fail.
The physical picture
An ordinary quantum computation is a giant interference experiment whose final amplitudes are exponential sums, and can only read off the probability of an answer when there is a constant gap around one-half. Tiny differences between exponential sums are invisible, buried under normalization. Postselection changes the rules: you are allowed to throw away almost all of the probability mass — every "boring" branch in which the flag qubit read — and renormalize whatever sliver survives. An exponentially small signal, once it is the whole of what remains, becomes order-one. Detecting the sign of an exponential sum is precisely what does, so the renormalization is the extra power. The first figure makes that mechanism concrete on a single computation.
The reason this is so much power, and not merely a rescaling, is that the surviving bias can encode the sign of a counting problem. Aaronson's second insight runs the argument backwards: any question "is ?" about a count can be pressed into a single qubit's amplitude, and a postselected rotation magnifies which side of the threshold lies on into a constant, machine-readable gap. But the equality has a sharp ceiling — , and by Toda's theorem the whole polynomial hierarchy reduces to — and its most-used consequence is a contrapositive: efficient classical simulation of quantum sampling would drag down into the low levels of and collapse it. The second figure is that collapse argument, the rigorous skeleton of quantum-supremacy proofs.
The core equations
A machine is an ordinary uniform family of polynomial-size quantum circuits with two distinguished qubits: an output qubit and a postselection qubit . Membership is defined not by the raw statistics but by the statistics conditioned on , an event we are promised is possible but which may be vanishingly rare.
where: — uniformly generated polynomial-size quantum circuit on the input plus ancillas; — designated postselection qubit, on which we condition the outcome ; — output qubit, measured after postselection to read accept or reject. Reading it: the model differs from by one word — "condition on " — and everything downstream flows from that word. The acceptance rule is a bounded-error promise, but on the conditional distribution. The postselection probability must be nonzero, yet it is explicitly permitted to be exponentially small — that permission is the whole source of the extra power.
where: — probability the postselection event occurs, required positive but possibly ; — conditional acceptance probability; — thresholds, replaceable by any constants with a gap, or even after amplification. Reading it: only the sign of is being asked for, but conditioning lets that sign carry an exponential amount of information. The central identity states that this idealized model captures exactly the counting class . It is an equality, not a containment — both directions are proved.
where: — the class of languages decided by a poly-time probabilistic machine accepting with probability strictly greater than iff (unbounded error: the gap may be exponentially small). Reading it: the quantum model with a physically forbidden resource equals a purely classical counting class, so each becomes a tool for reasoning about the other. The entire physical content of postselection is one map on states: project onto and renormalize. There is no unitary that does this; it is measurement collapse with the "wrong" branch selected on demand.
where: — full pre-measurement register state; — projector onto ; the denominator — the renormalization that can blow up an exponentially small numerator. Reading it: dividing by a possibly exponentially small norm is what magnifies a faint amplitude difference into an order-one state — this single line is the mechanism of the whole article. For the direction, expand every amplitude as a Feynman path sum over the universal real gate set . Clearing the factors turns each amplitude into an integer difference — a function, the class of differences of counts.
where: — final amplitude of basis string ; — counts of positive- versus negative-weight paths after clearing denominators; — the fixed number of factors; . Reading it: a quantum amplitude is literally a signed exponential sum, and is the algebra of such sums. The postselected acceptance probability is then a ratio of two sums — numerator over the accepting-and-postselected strings, denominator over all postselected strings. Cross-multiplying against the threshold reduces membership to a single sign test.
where: — a product of quantities (and is closed under products), hence itself after summing over . Reading it: the promise becomes , i.e. the positivity of one function — exactly a query. For the reverse direction, encode a count into a single qubit and detect its threshold with a postselected rotation. The amplitude at after a real rotation is a tunable linear combination of the two encoded roots, and postselection zooms in on its sign.
where: — the count to compare against ; — the encoded amplitudes; — a real rotation. Reading it: the ratio crosses exactly at , so postselecting on the difference mode reveals . Finally, the equality's most-cited use is the sampling-hardness template. Its logic is a contrapositive that leans on living low in the hierarchy while tops out at .
where: — third level of the polynomial hierarchy; (classical postselection) lives here, far below unless collapses. Reading it: the strength of the unphysical quantum model () is exactly what makes the collapse conclusion strong.
The goal is to show that a postselecting quantum machine is no stronger than a classical counting machine, by writing its conditional acceptance probability as a ratio of two exponential sums and then invoking the defining property of — that it can test the sign of any function. The only new ingredient beyond the standard argument is carrying the postselected denominator through the calculation and checking that it too stays , so that comparing numerator and denominator against a constant is a single positivity test. Fix a circuit over the universal real gate set , whose entries lie in .
Step 1. Expand each final amplitude as a path sum and clear the factors: , where count positive- and negative-weight computational paths to . Then is a function — a difference of two counts. Why: the only irrational a gate introduces is the Hadamard's , and it appears the same number of times on every path, so it factors out as one global constant, leaving an integer.
Step 2. Square to a probability: . Since is closed under multiplication, is ; the root of two has vanished because is a fixed scale. Why: one must work with the probability, not the amplitude — squaring is what removes the irrationality and keeps the arithmetic inside the integer-valued counting classes.
Step 3. Form the conditional over the accepting set and the postselected set :
Both sums are . Cross-multiplying the promise gives the single inequality . Why: the denominator — absent in the plain proof — is the entire novelty of postselection, and it survives as a sum, so nothing is lost by conditioning.
Step 4. The left side is a single function , and is exactly the class of languages reducible to testing for a function. Hence , and as the circuit was arbitrary, . Why: this is the definition of in language — the postselected machine has been reduced to a sign query it was built to answer. *The sole addition beyond the standard argument is the postselected denominator , which remains .*
Go deeper · Derivation B · 2 minPP inside PostBQP by amplifying a count
The goal is the surprising direction — that a physically forbidden postselection is powerful enough to solve any counting problem in . The strategy is to reduce a language to deciding whether a count exceeds the midpoint , encode into the amplitudes of one qubit, and then use a postselected real rotation to inflate the sign of into a constant bias, independent of how narrowly the count clears the threshold. The magic is that postselection can renormalize a difference mode whose weight is exponentially small, so a gap of a single unit in still produces an order-one answer. Let be a poly-time predicate.
Step 1. Prepare with Hadamards followed by the reversible circuit for ; the flag qubit is then in the state proportional to . Write , . Why: the uniform superposition converts "how many inputs satisfy " into a squared amplitude, , so the count is now geometric information about one qubit.
Step 2. Note the comparison lives in the ratio , which exceeds iff . Equivalently . Why: the threshold is exactly the balance point of the encoded qubit, so the question becomes "which amplitude is larger?".
Step 3. Apply a real rotation , giving , then postselect on a comparison register tuned to kill the common mode and keep the difference mode. Sweeping over polynomially many values, Aaronson's construction pushes the conditional bias past when and below when , whatever the magnitude of . Why: postselection renormalizes the tiny surviving amplitude, so an exponentially small is rescaled to a constant — this is the renormalization of equation (4) doing computational work.
Step 4. Measuring after postselection reports with bounded error, so ; combined with the previous derivation this gives . Why: correctness needs only that postselection can condition on the rare aligned branch — no other quantum resource is invoked, which is why the equality is exact. *The identity follows directly from .*
Go deeper · Derivation C · 1 minCorollary — PP is closed under intersection
The goal is to reprove, in a few lines, a theorem whose original proof (Beigel–Reingold–Spielman, 1991) was a delicate combinatorial construction: that if then . The idea is that is obviously closed under intersection — just run two postselecting machines side by side and conjoin their postselections — and since , the closure transfers to for free. Let be machines for with postselect qubits and outputs , acting on disjoint ancillas.
Step 1. Run and in parallel and postselect on . Because the registers are disjoint, the conditional factorizes: . Why: independence is what makes the joint postselection clean — conditioning on both flags is just the product of conditioning on each.
Step 2. First amplify each machine's conditional acceptance exponentially close to (on yes) or (on no) by standard majority-vote repetition inside the postselected branch. Then the product is close to iff both accept and close to otherwise — a valid machine deciding via the joint output . Why: only after amplification does the product behave like a logical AND; raw two-thirds probabilities would multiply to and blur the decision.
Step 3. Since , this machine certifies ; the union case follows by De Morgan (or a symmetric OR construction). Why: the equality is a two-way bridge — a triviality on the side becomes a hard-won theorem on the side.
Limiting cases
Where sits, and what removing or weakening postselection does to it:
| Case | Result | Meaning |
|---|---|---|
| No postselection | Dropping the postselection qubit recovers ordinary ; since , postselection only adds power and saturates at . | |
| Poly-probability event | collapses to -like power | Conditioning on a event only rescales by a polynomial factor, leaving the bounded-error structure intact — no jump to . |
| Classical analogue | Postselected classical computation sits low in ; the quantum version leaps to , and that gap is the engine of supremacy arguments. | |
| Upper ceiling | Toda: is at least as hard as the whole hierarchy, yet is -bounded, so is strong but not unlimited. | |
| Closure corollary | closed under | Two machines run in parallel with conjoined postselection give a one-paragraph proof of a once-hard theorem. |
Worked examples
1 · Renormalization by hand (confidence builder)
A two-qubit register (output , postselect ) is left in the state . Find the postselection probability, the conditional acceptance, and contrast it with the raw acceptance.
Step 1. The four squared amplitudes are the outcome probabilities: , summing to as required.
Step 2. Postselection probability is the total weight on : . Only one-twentieth of the wavefunction survives conditioning; in a real circuit this could be as small as .
Step 3. Renormalize the surviving branch via equation (4): , so the machine accepts.
Step 4. Contrast with the un-postselected reading: , which is below one-half and would say reject. Postselection has flipped the verdict by discarding the mass and rescaling the sliver. The rare branch (weight 0.05), once renormalized, accepts with probability 0.8 — even though the raw distribution favours reject.
2 · Encoding a counting threshold in one qubit (fully worked)
Let , so there are inputs and the threshold is . For a predicate with count (a yes-instance) and a second with (a no-instance), build the encoded qubit and show the postselected rotation reads off .
Step 1. Encode each count as . For : , . For : , — the roles swap.
Step 2. The comparison lives in the ratio : for it is , and for it is . The ratio crosses exactly at , so its position relative to is the answer.
Step 3. Apply the real rotation with (a Hadamard-like mix). By equation (7), the amplitude landing on is . For this is ; for it is . The difference mode has been isolated, and its sign equals .
Step 4. Postselect on the register that keeps this difference mode. Because the surviving amplitude is renormalized, even a one-unit gap in (say versus ) is inflated to a constant conditional bias past or below — the magnitude of never enters. Reading returns the verdict. The yes-instance yields a positive difference mode and accepts; the no-instance yields a negative one and rejects — the sign of , amplified to constant bias by postselection.
Physics of the portrait
is where quantum information theory pays a debt back to classical complexity: an idealized quantum model delivers a two-paragraph proof of a theorem that classical theorists had won only by hard combinatorics. Both the equality and its supremacy applications trace to one person.
Origins · 1 minScott Aaronson and how this was discovered
Scott Aaronson is among the most influential quantum complexity theorists of his generation, as much for reframing questions as for answering them. He completed his PhD under Umesh Vazirani at Berkeley in 2004, and it was there, as a graduate student, that he discovered the equality — published in "Quantum Computing, Postselection, and Probabilistic Polynomial-Time" (Proc. R. Soc. A 461, 2005). The result was striking not only for its content but for its economy: the same paper reproves, in a few lines, that is closed under intersection, a fact whose original proof by Beigel, Reingold and Spielman had been a technical landmark. Aaronson turned the model into a tool. With his student Alex Arkhipov he introduced BosonSampling in 2011, using postselection and the -hardness of the permanent to give the first rigorous argument that a rudimentary quantum device could perform a sampling task no efficient classical computer can match unless the polynomial hierarchy collapses. Alongside the research he built the community's infrastructure — the Complexity Zoo encyclopedia of complexity classes, and the long-running blog Shtetl-Optimized — and now directs the quantum information center at the University of Texas at Austin. The postselection theorem remains his signature: a physically impossible machine, made into a lens that sharpens what we can prove about the possible ones.
Going further
Texts. Aaronson, "Quantum Computing, Postselection, and Probabilistic Polynomial-Time", Proc. R. Soc. A 461 (2005) 3473 · Nielsen & Chuang, Quantum Computation and Quantum Information, Ch. 4 and the complexity appendix · Watrous, Quantum Computational Complexity (survey) and The Theory of Quantum Information · Kitaev, Shen & Vyalyi, Classical and Quantum Computation, AMS (2002) · Aaronson & Arkhipov, "The Computational Complexity of Linear Optics", Theory of Computing 9 (2013) 143 · Bremner, Jozsa & Shepherd, Proc. R. Soc. A 467 (2011) 459 · Toda, "PP is as hard as the polynomial-time hierarchy", SIAM J. Comput. 20 (1991) 865. Key identities to keep in view: (1) is over the gate set, and the ratio-of--sums acceptance predicate is a sign test; (2) the single-qubit encoding uses , , giving and ; (3) the closure-under-intersection corollary follows via conjoined postselection; (4) the collapse template rests on Toda's and . The worked numbers (; ; at ) are elementary; the thresholds are conventional and amplifiable.
Prerequisites. The Complexity Class BQP · BQP is Contained in PP and PSPACE · BQP versus P, NP, and PSPACE. Leads to. Quantum Merlin–Arthur (QMA) · QIP = PSPACE · The Polynomial Method for Quantum Lower Bounds.
Ask the tutor: Want the postselected rotation worked out angle by angle for a small count, or to see how the same collapse argument powers the BosonSampling and IQP supremacy proofs?
Is postselection something a real quantum computer can do?
No — and that is the whole point. Postselection means conditioning on a measurement outcome that may have probability as small as , keeping only the branch where the flag qubit read and discarding everything else. To do that physically you would have to either undo a measurement collapse (impossible) or repeat the experiment until the rare outcome happens (exponentially many trials on average). is a theorist's idealization. Its worth is entirely as a proof device: the equality lets us reason about real classical and quantum machines by routing an argument through an unphysical one, most famously to conclude that efficient classical simulation of quantum sampling would collapse the polynomial hierarchy.
Does PostBQP = PP mean quantum computers can solve PP-complete problems efficiently?
No. The theorem describes the postselecting model, not a physical quantum computer. A genuine machine has no access to postselection, so it does not inherit 's power — indeed is believed to be far smaller than and even incomparable to . What the equality does say is that if you could postselect, you could decide any counting problem in ; since you cannot, the statement is a characterization of an idealized resource. Reading it as "quantum computers solve " is the single most common misconception about the result.
Why does an exponentially rare postselection give power, when a likely one would not?
Renormalizing a branch of probability only rescales amplitudes by a polynomial factor, which leaves 's bounded-error structure intact — no new problems become decidable. Conditioning on a branch of probability is different: dividing by that tiny norm can inflate an exponentially small amplitude difference into an order-one state. That difference is often the sign of an exponential () sum, and detecting the sign of such a sum is the defining ability of . So it is specifically the exponential rarity of the postselected event that carries the extra power; a merely unlikely event is not enough.
What is GapP, and why does it show up here?
is the class of functions expressible as the difference of two counting functions — equivalently, the net signed count over an exponential set of paths. It is exactly the shape of a quantum amplitude: over the Hadamard+Toffoli gate set, an amplitude is , where and count positive- and negative-weight computational paths. is closed under multiplication, so squaring amplitudes to get probabilities keeps you inside it, and summing over outcomes does too. Since is precisely the class that tests whether a function is positive, the postselected acceptance condition — a comparison of two sums — lands squarely in .
How does this give a proof that PP is closed under intersection?
Trivially, on the side. To decide , run the two postselecting machines on disjoint ancillas and postselect on both flag qubits being . Independence makes the joint conditional factor into a product; after amplifying each machine's acceptance close to or , that product behaves as a logical AND, giving a single machine for the intersection. Because , this machine witnesses . The original combinatorial proof by Beigel, Reingold and Spielman was substantial; the quantum route compresses it to a paragraph, a clean example of quantum information exporting a technique back to classical complexity.
What exactly is the sampling-hardness collapse argument?
Suppose a classical polynomial-time algorithm could sample from the output distribution of an arbitrary quantum circuit. Grant that classical sampler the power of postselection — call the resulting class . If the sampler faithfully reproduces the quantum distribution, then classical postselection matches quantum postselection, so . But is known to sit inside , low in the polynomial hierarchy, so this would put . By Toda's theorem , and then forces to collapse to a finite level — contrary to universal belief. Hence no such efficient classical sampler exists, which is the rigorous core of BosonSampling and IQP supremacy.
Why is PostBQP considered robust the way PP is?
Its definition is insensitive to the details one might worry about. The bounded-error gap can be any constant, or even , because acceptance is amplifiable; the universal gate set can be any set with algebraic entries, by exact emulation and Solovay–Kitaev; and the postselection success probability can be any nonzero value, since only the conditional statistics matter. Each of these invariances mirrors a corresponding robustness of under reparametrization, which is no coincidence — it is a reflection of the equality . Robustness under such changes is the signature of a "real" complexity class rather than an artifact of a fragile definition.