---
title: Constrained Postselection Theorem
url: https://www.emergentmind.com/topics/constrained-postselection-theorem
type: topic
---

# Constrained Postselection Theorem

Constrained postselection denotes, in several strands of quantum information and complexity theory, a setting in which conditioning on a designated event is permitted only under explicit structural restrictions, and the restricted model then admits an exact characterization. In quantum query complexity, postselection query complexity coincides with approximate rational degree up to a factor of \(2\); in Bell scenarios, linear post-selection is loophole-free for local hidden-variable theories; in time-space-bounded machine models, postselection is equivalent to restart; and in two-prover quantum proof systems, postselection converts exponentially small-gap protocols into a characterization of \( \mathrm{NEXP} \). A related use appears in work on adaptive measurements, where the correspondence with postselection is argued informally rather than established as a standard theorem [1401.0912][1102.1438][1111.3125][1806.09732][1107.3271].

## 1. Scope and recurring structure

The literature summarized here uses the expression in several related senses rather than for a single canonical statement. Each formulation restricts postselection in a different way and then identifies the exact power of the resulting model.

| Setting | Constraint | Main characterization |
|---|---|---|
| Quantum query complexity | Designated postselection bit \(a\), with \(\Pr[a=1]>0\), conditioning only on \(a=1\) | \( \operatorname{PostQ}_\varepsilon(f)\le \operatorname{rdeg}_\varepsilon(f)\le 2\,\operatorname{PostQ}_\varepsilon(f) \) [1401.0912] |
| Multi-party Bell tests | \(s_j=g_j(x)\) or \(s_j=g_j(m^{\setminus j},x)\) with all \(g_j\) linear | LHV correlators remain the convex hull of linear Boolean functions [1102.1438] |
| PTMs and QTMs under time and space bounds | Same time and space resources in both models | Postselection is identical to restart [1111.3125] |
| Two-prover quantum proof systems | Perfect completeness and exponentially small completeness–soundness gap | \( \mathrm{postQMA}(2)(1,s)=\mathrm{NEXP} \) for some constant \(s\) [1806.09732] |
| Adaptive measurements | Simulation argument via MBQC/circuit equivalence and \( \mathrm{PostBQP}=\mathrm{PP} \) | Conceptual claim, not a rigorous standard theorem [1107.3271] |

This suggests that the adjective “constrained” does not single out one formal template. Instead, it marks a recurring research program: determine which restrictions on postselection preserve a tractable structure, and then characterize exactly what the restricted resource computes, approximates, or certifies.

## 2. Query-complexity formulation and rational approximation

In the query model, the central statement is that quantum query algorithms with postselection are exactly the algorithmic counterpart of low-degree rational approximations [1401.0912]. The starting point is the Beals et al. polynomial method: a standard quantum query algorithm with \(T\) queries has acceptance probability equal to a polynomial of degree at most \(2T\) in the input bits. Postselection changes that polynomial structure into a rational one.

A postselection algorithm is a quantum query algorithm with two output bits \(a,b\in\{0,1\}\), and it computes \(f:\{0,1\}^N\to\{0,1\}\) with error \(\varepsilon\) if for every input \(x\),
\[
\Pr[a=1]>0,\qquad \Pr[b=f(x)\mid a=1]\ge 1-\varepsilon.
\]
The postselection query complexity \( \operatorname{PostQ}_\varepsilon(f) \) is the minimum number of queries among such algorithms.

The parallel approximation-theoretic notion is rational approximation. For \(f:S^N\to\mathbb{R}\), a rational function \(P/Q\) with \(Q(x)\neq 0\) everywhere has degree
\[
\deg(P/Q)=\max\{\deg P,\deg Q\}.
\]
It \(\varepsilon\)-approximates \(f\) if
\[
\left|\frac{P(x)}{Q(x)}-f(x)\right|\le \varepsilon \qquad \text{for all }x\in S^N,
\]
and the minimum such degree is the \(\varepsilon\)-approximate rational degree \( \operatorname{rdeg}_\varepsilon(f) \).

The theorem pair proved in this framework is
\[
\operatorname{rdeg}_\varepsilon(f)\le 2\,\operatorname{PostQ}_\varepsilon(f)
\]
and
\[
\operatorname{PostQ}_\varepsilon(f)\le \operatorname{rdeg}_\varepsilon(f),
\]
for all \(\varepsilon\in[0,1/2)\) and Boolean \(f:\{0,1\}^N\to\{0,1\}\). Hence
\[
\operatorname{PostQ}_\varepsilon(f)\le \operatorname{rdeg}_\varepsilon(f)\le 2\,\operatorname{PostQ}_\varepsilon(f).
\]

The forward implication is immediate from the query polynomial method. If a postselection algorithm uses \(T\) queries, then \( \Pr[a=1] \) and \( \Pr[a=1,b=1] \) are polynomials of degree at most \(2T\). Their ratio,
\[
\frac{\Pr[a=1,b=1]}{\Pr[a=1]}=\Pr[b=1\mid a=1],
\]
is therefore a rational function of degree at most \(2T\), and the postselection condition ensures \(\varepsilon\)-approximation of \(f\).

The reverse implication is the nontrivial direction. Given a degree-\(d\) rational approximation \(P/Q\), the construction uses Fourier decompositions of \(P\) and \(Q\), prepares a superposition encoding the Fourier coefficients, queries the input to attach phases \((-1)^{x\cdot S}\), applies a Hadamard transform, and postselects on the all-zero outcome in one register. The residual qubit depends on \(Q(x)\) and
\[
R(x)=Q(x)-2P(x).
\]
After a final Hadamard and measurement, the sign of \(R(x)/Q(x)\) determines \(f(x)\). In this formulation, postselection is “constrained” because there is a designated postselection bit \(a\), the condition \(\Pr[a=1]>0\) is required on every input, and conditioning is only on the event \(a=1\). The paper emphasizes that this is weaker than arbitrary magical conditioning, yet strong enough to match rational approximation complexity exactly up to a factor of \(2\).

## 3. Majority, optimality, and Newman’s theorem

The query-theoretic theorem becomes especially concrete for the Majority function
\[
\operatorname{MAJ}_N(x)=1 \iff |x|\ge N/2,
\]
where the postselection framework yields an optimal algorithm up to constant factors [1401.0912].

Earlier work of Aaronson had shown that Majority can be computed with postselection in polylogarithmic queries, with
\[
\operatorname{PostQ}_{1/N}(\operatorname{MAJ}_N)=O((\log N)^2),
\]
and the paper also cites an \(O(\log N\log\log N)\)-query constant-error version from earlier work. The improvement proved here is
\[
\operatorname{PostQ}_\varepsilon(\operatorname{MAJ}_N)=O\!\left(\log\!\left(\frac{N}{\log(1/\varepsilon)}\right)\log\!\left(\frac{1}{\varepsilon}\right)\right)
\qquad \text{for } \varepsilon\in(2^{-N},1/2).
\]

The construction is built from two auxiliary postselected procedures. The first, an Aaronson-style one-query gadget, prepares a qubit proportional to
\[
a(N-2|x|)\,|0\rangle+\beta\cdot 2|x|\,|1\rangle,
\]
for \(a,\beta>0\) with \(a^2+\beta^2=1\). This encodes the Hamming weight into amplitudes. The algorithm then varies parameters and checks closeness to \(|+\rangle\). The second and third components are the two distinguishing procedures:
\[
O(\log(N/t))
\]
queries suffice to distinguish
\[
|x|\in\{t,\dots,N/2-t\} \quad\text{from}\quad |x|>N/2
\]
with success probability at least \(2/3\), and
\[
O(t)
\]
queries suffice to distinguish
\[
|x|\in\{0,\dots,t-1\}\cup\{N/2-t+1,\dots,N/2-1\}
\quad\text{from}\quad
|x|\ge N/2
\]
with success probability \(>1-2^{-t}\). Setting
\[
t=\left\lceil \log(2/\varepsilon)\right\rceil
\]
and combining the two procedures yields the stated bound.

The same theorem has an approximation-theoretic consequence. Sherstov proved the lower bound
\[
\Omega\!\left(\log\!\left(\frac{N}{\log(1/\varepsilon)}\right)\log\!\left(\frac{1}{\varepsilon}\right)\right)
\]
on the \(\varepsilon\)-approximate rational degree of \(\operatorname{MAJ}_N\). By the postselection–rational equivalence, this lower bound transfers to \( \operatorname{PostQ}_\varepsilon(\operatorname{MAJ}_N) \), so the Majority algorithm is optimal up to a constant factor.

The paper then derives Newman’s theorem from the Majority construction. First, it obtains a degree-\(d\) rational approximation \(r(z)\) to \(\operatorname{sgn}(z)\) on \( [-1,-\varepsilon]\cup[\varepsilon,1] \) with
\[
\varepsilon=2^{-2\sqrt d},
\]
and with
\[
r(z)\in[-1,1] \quad \text{for all } z\in[-1,1].
\]
Second, multiplying by \(z\) yields an approximation to \(|z|\), giving the corollary that for every \(d\ge 1\), there exists a degree-\(d\) rational function \(r\) such that
\[
|r(z)-|z||\le 2^{-2\sqrt d}\qquad \text{on }[-1,1].
\]
In this setting, the constrained postselection theorem does more than identify a complexity measure: it turns postselected query constructions into rational approximation theorems.

## 4. Loophole-free post-selection in Bell scenarios

A distinct formulation appears in multi-party CHSH-type Bell experiments, where the theorem identifies exactly which post-selection rules preserve the local hidden-variable region [1102.1438]. There are \(n\) spatially separated parties, each with a binary setting
\[
s=(s_1,\dots,s_n), \qquad s_j\in\{0,1\},
\]
and a binary outcome
\[
m=(m_1,\dots,m_n), \qquad m_j\in\{0,1\}.
\]
The object of study is the parity correlator
\[
p\!\left(\bigoplus_{j=1}^{n} m_j = 1 \mid s\right).
\]

Under space-like separation and measurement independence, the paper’s Theorem 1 states that the LHV correlators are exactly the convex hull of deterministic linear Boolean functions of the settings. Deterministically,
\[
m_j = a_j(\lambda)s_j \oplus b_j(\lambda),
\qquad
a_j(\lambda),b_j(\lambda)\in\{0,1\},
\]
so that
\[
\bigoplus_{j=1}^{n} m_j
=
\bigoplus_{j=1}^{n} a_j(\lambda)s_j \oplus b(\lambda),
\qquad
b(\lambda)=\bigoplus_{j=1}^{n} b_j(\lambda),
\]
which is linear in \(s\). The LHV polytope is therefore the convex hull of linear Boolean functions, with Bell inequalities as its facets.

The paper then isolates post-selection rules that do not enlarge this polytope. In setting post-selection (SP), one fixes
\[
s_j=g_j(x).
\]
Theorem 2 states that the correlators
\[
p\!\left(\bigoplus_{j=1}^n m_j = 1 \mid x\right)
\]
obtained after post-selecting on \(s_j=g_j(x)\) lie in the convex hull of linear \(f(x)\) iff all \(g_j(x)\) are linear. In setting-output post-selection (SOP), the settings may depend on both the conditioning variable and other outcomes,
\[
s_j=g_j(m^{\setminus j},x).
\]
Theorem 3 states that the LHV correlators remain in the convex hull of linear \(f(x)\) iff all \(g_j(m^{\setminus j},x)\) are linear.

The contrast with ordinary post-selection is illustrated by the example
\[
m_1 = s_1 \oplus t, \qquad m_2 = t s_2,
\]
where \(t\in\{0,1\}\) is random. Post-selecting on \(m_1=0\) effectively maps \(s_1\) into \(t\), and the remaining correlator becomes
\[
m_2 = s_1 s_2,
\]
which is non-linear. This is the detection loophole: post-selection changes the sample in a way that can correlate settings with hidden variables, allowing LHV theories to fake Bell violations.

The constrained theorem in this context states that linear SP and linear SOP are loophole-free: they preserve the LHV polytope exactly. At the same time, quantum correlators can become strictly richer under the same linear constraints. Theorem 4 shows that for \(n=6\) parties and \(|x|=3\), the correlator
\[
p\!\left(\bigoplus_{j=1}^{6} m_j = 1 \mid x\right)=x_1x_2x_3
\]
can be realized using linear SOP, but not with SP alone. The construction uses two GHZ states and adaptive measurement choices. The paper further notes that there is no analogous enhancement in the bipartite case \(n=2\). In this formulation, “constrained postselection” identifies the largest natural class of post-selection rules that preserve the classical boundary while still enlarging the quantum region.

## 5. Time-space-bounded machines and equivalence with restart

In machine-based complexity theory, the constrained postselection theorem states that postselection is equivalent to restart when time and space bounds are matched exactly [1111.3125]. A machine with postselection partitions its state set into continuing states \(Q_c\), postselection accept states \(Q_{pa}\), postselection reject states \(Q_{pr}\), and nonpostselection halting states \(Q_{nh}\), with the requirement that for every input the machine reaches \(Q_{pa}\cup Q_{pr}\) with nonzero probability. A machine with restart has an extra outcome \(rs\) and a set of restarting states \(Q_{rs}\), so that each round ends in accept, reject, or restart.

The central theorem is: for any time bound \(t\) and space bound \(s\), the class of languages recognized by \(t\)-time and \(s\)-space PTMs or QTMs with postselection is identical to the class of languages recognized by \(t\)-time PTMs or QTMs with restart using space \(s\). The same equality is also valid for the real-time, in particular, finite memory, versions of these models. The simulation is direct in both directions. Postselection states become accept/reject states of the restart machine, and nonpostselection halting states become restart states; conversely, restart states become nonpostselection halting states. Because both models compute final acceptance probabilities by the same normalization formula, the recognized language and error bound remain unchanged.

This equivalence immediately implies that for purely space-bounded machines, postselection does not increase power. The paper then shows that the effect changes under simultaneous time and space constraints. In the probabilistic setting, PTMs with postselection that use \(o(\log\log n)\) space and that have polynomial expected runtime are strictly more powerful than their standard versions. The separating witness is
\[
L_{eq} = \{ w \in \{a,b\}^{*} \mid |w|_{a} = |w|_{b} \},
\]
which is recognized by a real-time PTM with restart using \(O(1)\) space, while standard polynomial-time PTMs using \(o(\log\log n)\) space recognize only the regular languages. The same separation holds for one-way PTMs with postselection that use \(o(\log \log n)\) space.

In the quantum setting, the paper proves
\[
rt\mathsf{BQSPACE(1)} \subsetneq \mathsf{Post}rt\mathsf{BQSPACE(1)} \subseteq \mathsf{PostBQAL}.
\]
Here the witness language is the nonregular palindrome language
\[
L_{pal} = \{w \in \{a,b\}^{*} \mid w = w^{r} \},
\]
which is recognized by a real-time QTM with restart using \(O(1)\) space, whereas
\[
rt\mathsf{BQSPACE(1)}=\mathsf{REG}.
\]
Using the strict inclusion
\[
\mathsf{BPSPACE}(s) \subsetneq \mathsf{BQSPACE}(s) \qquad \text{for any } s=o(\log n),
\]
the postselected versions satisfy
\[
\mathsf{Post}rt\mathsf{BPSPACE}(s)\subsetneq \mathsf{Post}rt\mathsf{BQSPACE}(s)
\qquad \text{for all } s=o(\log n).
\]

The paper also records structural properties. The classes
\[
\mathsf{PostBS},\ \mathsf{PostBQAL},\ \mathsf{PostBPTIME}(t),\ \mathsf{PostBQTIME}(t)
\]
are closed under complementation, union, and intersection. Exact postselected classes satisfy
\[
\mathsf{PostEPTIME}(t) = \mathsf{NTIME}(t)\cap \mathsf{coNTIME}(t),
\qquad
\mathsf{PostEQTIME}(t) = \mathsf{NQTIME}(t)\cap \mathsf{coNQTIME}(t).
\]
For finite automata, the probabilistic one-sided and exact classes collapse,
\[
\mathsf{PostRS}=\mathsf{REG}= \mathsf{PostES},
\]
whereas the quantum classes remain distinct:
\[
\mathsf{PostEQAL} \subsetneq \mathsf{PostRQAL}\subseteq \mathsf{NQAL},
\qquad
\mathsf{PostRQAL} \subsetneq \mathsf{PostBQAL}.
\]
A notable corollary stated in the paper is that \( \mathsf{NL} \) would equal \( \mathsf{RL} \) if randomized machines had the postselection capability.

## 6. Small-gap proof systems, adaptive measurements, and interpretive limits

A further constrained formulation arises in two-prover quantum Merlin–Arthur proof systems with postselection [1806.09732]. In \( \mathrm{QMA}(2)(c,s) \), a polynomial-time verifier receives two unentangled quantum witnesses and accepts with probability exceeding \(c\) on yes-instances and below \(s\) on no-instances. In \( \mathrm{postQMA}(2)(c,s) \), the verifier outputs an ordinary output bit \(o\) and a postselection bit \(p\), with the requirement that
\[
\Pr[p=1] > 2^{-\ell(n)}
\]
for all witnesses, and correctness is evaluated through the conditional probability
\[
\Pr[o=1\mid p=1]
=
\frac{\Pr[o=1,p=1]}{\Pr[p=1]}.
\]

The main theorem states that there exists a constant \(s\) such that
\[
\mathrm{postQMA}(2)(1,s)=\mathrm{NEXP}.
\]
The easy direction is
\[
\mathrm{postQMA}(2)\subseteq \mathrm{NEXP},
\]
via exponential-time classical simulation of polynomial-size quantum witnesses and polynomial-size verifier circuits. The hard direction proceeds through two ingredients. First, for any polynomial \(r\),
\[
\mathrm{NEXP}\subseteq \mathrm{QMA}(2)(1,1-2^{-r}).
\]
Second, there exists a constant \(s\) such that
\[
\mathrm{QMA}(2)(1,1-2^{-r}) \subseteq \mathrm{postQMA}(2)(1,s).
\]
The conversion protocol applies \(Q_x\), copies the output qubit, applies \(Q_x^{-1}\), prepares a one-qubit state \(\varepsilon|1\rangle-|0\rangle\), performs a small rotation, postselects on the subspace
\[
\{\,|00\rangle,|11\rangle\,\},
\]
and then measures in the basis
\[
\frac{|00\rangle \pm |11\rangle}{\sqrt 2},
\qquad
\frac{|01\rangle \pm |10\rangle}{\sqrt 2}.
\]
With
\[
\varepsilon = 2^{-10r},
\]
the yes-instance case retains perfect completeness, while the no-instance case yields a constant soundness bound after postselection. The paper stresses that earlier postselection proofs for \( \mathrm{postBQP}=\mathrm{PP} \) and \( \mathrm{postQMA}=\mathrm{PSPACE} \) do not directly transfer, because the \(\mathrm{QMA}(2)\) setting does not permit the same garbage-erasure or eigenstate-based reductions.

The same paper presents this as a broader principle: for some proof systems with perfect completeness and exponentially small soundness gap, postselection converts a tiny-gap verifier into a constant-gap postselection class. In the \(\mathrm{QMA}(2)\) case, this identifies the exact power of the postselected model as \( \mathrm{NEXP} \).

A thematically related but methodologically different claim appears in work on adaptive measurements [1107.3271]. There the central statement is that adaptive measurements in a quantum computational model can be simulated by postselected measurements. The argument proceeds informally through three ingredients: MBQC employs adaptive local measurements on a resource state; measurement-based models can be simulated on the quantum circuit model; and
\[
\mathrm{PostBQP} = \mathrm{PP},
\qquad
\mathrm{BQP} \subset \mathrm{PP}.
\]
The intended conclusion is that adaptive-measurement computation can be reproduced in a postselected framework, potentially with consequences such as the ability to solve \(\#P\) problems. However, the paper explicitly does not provide a rigorous standard complexity-theoretic proof, an explicit gate-by-gate simulation, a quantitative overhead, or a branch-by-branch theorem for arbitrary adaptive measurement trees. Its relation to constrained postselection is therefore conceptual rather than formal.

Taken together, these formulations show that constrained postselection is not a single theorem but a technical pattern. In each case, postselection is restricted by a designated postselection bit, a linear conditioning rule, a matched resource bound, or a small-gap hypothesis; and under that restriction, one obtains an exact theorem rather than an unconstrained appeal to postselection as a generic power amplification device.

Source: https://www.emergentmind.com/topics/constrained-postselection-theorem