Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

✓ 7 results · all verified · 3 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 4 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Quantum Complexity Classes and Oracle Separations

1 · Prerequisites

2 · Summary

This page defines promise-class interfaces in the fixed QC14 model: exact finite gates, full-list uniform circuit generation, and unconstrained behavior outside the promise. It proves the elementary classical and zero-error containments by explicit circuit generation and exact reversible compilation. BQP-to-PP and BQP-to-PSPACE remain separate local proof obligations because their usual counting and simulation arguments must be checked over the exact algebraic gate entries.

The Simon decision promise compares injective functions with nonzero-mask two-to-one functions under XOR-oracle access. A sampled-rank algorithm uses n+2 quantum queries and has error below 1/4; a complete distributional argument proves a classical randomized lower bound of Ω(2n/2) oracle queries. The query count is kept separate from the cost of implementing an explicitly represented function.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

PromiseBPP

Definition

Let Π=(Y,N) be a promise problem, so Y,N⊆{0,1}∗ are disjoint (Promise problem). We say Π belongs to PromiseBPP if there are one fixed probabilistic Turing machine M and one positive integer polynomial p such that every random branch halts within p(∣x∣) transitions and

Pr⁡[M(x) accepts]≥23(x∈Y),Pr⁡[M(x) accepts]≤13(x∈N).

The probability is over the uniform finite tape {0,1}p(∣x∣) of independent fair bits; after the machine halts, unused suffix bits are ignored, as in Probabilistic polynomial time machine interface. The pair has no correctness requirement outside Y∪N. For total promise pairs this is the ordinary BPP acceptance convention of Rp corp zpp bpp and pp classes.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passOpen item page →

Indexed uniform circuits convert to polynomial-time full lists

Statement

Let (Cn)n≥0 be a polynomial-size Boolean circuit family generated in the indexed-gate, logspace sense of A logspace-uniform Boolean circuit family. Assume a fixed polynomial q bounds the number of non-input nodes of Cn by q(n). There is one deterministic polynomial-time machine which, on unary input 1n, writes a complete self-delimiting topological gate list for Cn, including its input count, all node records and its designated output. The resulting list describes the same circuit and therefore computes the same Boolean function.

Facts & Assumptions

Given: A fixed logspace indexed-gate transducer for the family, a fixed polynomial size bound q, and the Boolean gate basis of A logspace-uniform Boolean circuit family.

[F1]

A logspace-uniform Boolean circuit family: On input 1n and a binary gate index of length O(log⁡(n+2)), one deterministic read-only-input logspace transducer halts and returns the circuit size, gate types (including input labels and constant values), predecessor indices, and designated output of the topologically numbered circuit.

Proof

1.1givenF1algebra

Fix one valid query to the indexed transducer. Its read-only input and query tapes have polynomially many head positions in n, its work tapes use O(log⁡(n+2)) cells over a fixed alphabet, and its finite control has finitely many states. Thus it has at most (n+2)c internal configurations for some fixed c. A halting deterministic computation cannot repeat an internal configuration: because the input tapes are read-only and the output tape is write-only, a repetition would repeat the same future transitions forever. Hence each size, type, predecessor, or output query takes polynomial time and writes polynomially many bits.

2.1givenF1step 1.1construct

Query the total node count Nn≤n+q(n) once. For every index 1,…,Nn, query its type, recording its input label or constant value when applicable, and query every predecessor required by that type; also query the designated output. This includes all n input nodes wherever they occur in the topological order. There are polynomially many queries, each of polynomial time by step 1.1. Every node index is at most n+q(n), so each self-delimiting index has O(log⁡(n+q(n)+2)) bits. Writing the input-count header and all records therefore takes polynomial time and produces a polynomial-length full list.

3.1F1step 2.1algebra∎

Each record is the exact gate type, input label or constant value, and predecessor data returned for that same topological node, and the final output field is the exact designated node. The full-list decoder consequently evaluates the same ordered DAG on every input, including the case n=0 when the input list is empty.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

Computational-basis instruments and conditional states on two registers

Statement

Let A,B be nonzero finite-dimensional registers with ordered orthonormal bases (ea)a∈Λ and (gb)b∈Γ. Define Paea′=δa,a′ea and Qbgb′=δb,b′gb; tensor products of these maps use Tensor products of finitely many linear maps. The maps

Ia(R)=(Pa⊗IB)R(Pa⊗IB),Jb(R)=(IA⊗Qb)R(IA⊗Qb)

form finite instruments on A⊗B. If ψ=∑a,bca,bea⊗gb is a unit vector, then their outcome probabilities are

pA(a)=∑b∣ca,b∣2,pB(b)=∑a∣ca,b∣2.

For a positive-probability outcome, the conditional state is the rank-one density operator on the normalized projected vector. This applies to measuring either register of the Simon state after its coherent XOR query.

Facts & Assumptions

Given: Two nonzero finite registers, their ordered orthonormal bases, and a unit vector on their tensor product. Verify both measurement instruments and their branch laws.

[F1]

Finite instruments and conditional states: a finite instrument has complex-linear completely positive branch maps and satisfies ∑atr⁡(Ia(R))=tr⁡(R) for every input operator; positive-probability conditional states are Ia(ρ)/tr⁡(Ia(ρ)).

[F2]

Completely positive maps: complete positivity requires every finite ancilla amplification of each branch map to preserve nonnegative operators.

[F3]

Non-negative and positive operators: a nonnegative operator is self-adjoint and has nonnegative quadratic form on every vector.

[F6]

Density operator: a density operator is nonnegative and has trace one.

[F7]

Dirac Notation Conversion: ∣u⟩⟨v∣ denotes the rank-one map w↦⟨w,v⟩rootu; in orthonormal coordinates its matrix is uv†.

[F8]

Tensor products of finitely many linear maps: a tensor map acts factorwise on elementary tensors and extends linearly; an identity factor leaves its coordinate unchanged.

Proof

1.1givenF4F8construct

Each basis projection Pa and Qb is diagonal with entries 0 or 1, hence self-adjoint and idempotent; distinct projections in each family are orthogonal and each family sums to the identity. By [F8], their lifted maps Pa⊗IB and IA⊗Qb are self-adjoint idempotents, and each lifted family sums to IA⊗B.

1.2givenF4F6F7algebra

The product basis (ea⊗gb)a,b is orthonormal by [F4]. Therefore the coordinates of ψ satisfy ∑a,b∣ca,b∣2=1. By [F7], ρ=∣ψ⟩⟨ψ∣ has matrix vv†, so for every coordinate vector u its quadratic form is u†vv†u=∣v†u∣2≥0 and its trace is ∑a,b∣ca,b∣2=1. Hence ρ is a density operator by [F6].

2.1givenF2F3F8step 1.1algebra

Each branch map is complex-linear. For any finite reference register R, write an operator Q on (A⊗B)⊗R in the ancilla blocks of [F2]. Its amplified branch sends each block Qij to CQijC, so [F8] identifies the full block matrix as Q′=(C⊗IR)Q(C⊗IR), where C is the lifted projector from step 1.1. If Q is nonnegative, then Q′ is self-adjoint and ⟨Q′u,u⟩=⟨Q(C⊗IR)u,(C⊗IR)u⟩≥0 for every u by [F3], so every amplification preserves nonnegative operators. Thus each branch is completely positive by [F2].

2.2F1F4F5F7step 1.1step 1.2algebra

Write v for the coordinate column of ψ and C for either lifted projector. By [F7], the corresponding branch is Cvv†C=(Cv)(Cv)†. For outcome a, (Pa⊗IB)ψ=∑bca,bea⊗gb, so the diagonal entry at each coordinate (a,b) is ∣ca,b∣2 and every other diagonal entry is zero; off-diagonal entries within the selected a-subspace can be nonzero. Its trace is ∑b∣ca,b∣2. For outcome b, (IA⊗Qb)ψ=∑aca,bea⊗gb, so the diagonal entry at each coordinate (a,b) is ∣ca,b∣2 and every other diagonal entry is zero; off-diagonal entries within the selected b-subspace can be nonzero. Its trace is ∑a∣ca,b∣2. These traces are the asserted probabilities by [F1].

3.1F1F5step 1.1step 2.1algebra

For every operator R, cyclicity of trace and idempotence give ∑atr⁡((Pa⊗IB)R(Pa⊗IB))=tr⁡ ⁣(R∑a(Pa⊗IB))=tr⁡(R). The same calculation gives ∑btr⁡((IA⊗Qb)R(IA⊗Qb))=tr⁡(R). Together with step 2.1 these are the finite-instrument conditions of [F1].

4.1F1F6F7step 2.2algebra∎

If a branch vector w=Cψ has positive probability p=∑i∣wi∣2 from step 2.2, its conditional operator in [F1] is ∣(w/p)⟩⟨(w/p)∣. Its coordinate quadratic form is nonnegative and its trace is ∑i∣wi∣2/p=1, so it is a density operator by [F6]–[F7]; a zero-probability branch has no conditional state by [F1].

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

EQP on promise problems in the QC14 model

Definition

A promise problem Π=(Y,N) belongs to EQP in the QC14 model if there is a full-list uniform family (Cn)n≥0 and a polynomial-time total acceptance predicate An as in Finite quantum promise-computation model, Full-list uniform quantum circuit family, and Quantum acceptance probability for a finite promise computation, using the exact gate and cost conventions of Circuit-family and computation cost model and Clifford+T gate library and exact matrices, such that

pC∣x∣(x)=1(x∈Y),pC∣x∣(x)=0(x∈N).

No condition is imposed on x∉Y∪N (Promise problem). The finite output law is normalized by The partial-output acceptance law is a finite probability law.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

ZQP on promise problems with bounded failure

Definition

In this page, ZQP denotes the following bounded-failure zero-error promise class. A promise problem Π=(Y,N) belongs to ZQP if there are a full-list uniform QC14 family (Cn), a polynomial-time total label decoder Dn(x,z)∈{YES,NO,?}, and the finite output law of Finite quantum promise-computation model, Full-list uniform quantum circuit family, and Quantum acceptance probability for a finite promise computation, such that for every x∈Y the probability of YES is at least 2/3 and the probability of NO is zero, while for every x∈N the probability of NO is at least 2/3 and the probability of YES is zero. All output strings receive one of the three labels, so the remaining probability is the allowed failure label ?; the output law is normalized by The partial-output acceptance law is a finite probability law. No promise condition is imposed off Y∪N.

This explicit fixed-circuit, bounded-failure convention is sufficient for the containments proved on this page. No equivalence with an expected-time quantum zero-error model or with BQP∩coBQP is asserted.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passOpen item page →

Boolean circuits compile exactly into the QC14 gate alphabet

Statement

Let a finite Boolean DAG in the basis of Boolean circuits: basis, fan-in, size, and depth have n ordered input bits, m ordered output ports, S non-input nodes and E input-port uses counted with multiplicity. There is a deterministic compiler which, from its explicit topological list, emits a valid QC14 circuit over exactly H,T,T†,CNOT with the first n wires as data, m zero-initialized target wires, at most S+E clean value wires and one additional clean scratch wire. For every x∈{0,1}n and y∈{0,1}m, its unitary satisfies

∣x,y,0S+E+1⟩⟼∣x,y⊕f(x),0S+E+1⟩,

where f(x) is the ordered Boolean output. It uses at most 27(6S+4E+m) QC14 gate occurrences, and the full self-delimiting circuit list is produced in time polynomial in the Boolean-DAG description length. The same action holds on superpositions by linearity.

Facts & Assumptions

Given: The explicit Boolean DAG, the reversible embedding procedure, and the exact QC14 gate matrices. Construct the full gate list and verify its action, clean workspace, and polynomial generation cost.

[F1]

Reversible embedding of a Boolean circuit: evaluate every Boolean node into a fresh zero value bit, copy the ordered output ports into the target, and reverse the node-evaluation list.

[F2]

Gate, workspace, and serial-depth costs of reversible embedding: the reversible embedding implements the displayed XOR action using at most 6S+4E+m occurrences of X, CNOT, and Toffoli, with at most S+E clean work bits.

[F3]

Clifford+T gate library and exact matrices: T=diag⁡(1,ω), ω=eiπ/4, T4=Z, H=2−1/2(111−1), and CNOT maps ∣a,b⟩ to ∣a,b⊕a⟩ with the first wire as control; the QC14 circuit alphabet contains no implicit Toffoli or extra controlled-T gate.

[F4]

Finite circuit syntax and ordered wire labels and Denotational semantics of a finite layered circuit: a circuit is a finite chronological list of layers, each containing gates with pairwise disjoint wire supports. Any chronological gate list defines such a circuit by placing each gate in its own singleton layer; its matrix is the chronological product with later gates on the left.

[F5]

Full-list uniform quantum circuit family: a full-list QC14 description has unary input and total-wire counts, a self-delimiting gate count, exact gate labels and wire indices, and an ordered output tuple.

Proof

1.1givenF3algebra

For a,b,c∈{0,1} set d=a+b+c−(a⊕b)−(a⊕c)−(b⊕c)+(a⊕b⊕c), with ordinary integer addition and subtraction. If exactly k of a,b,c equal 1, then d=0 for k=0,1,2 and d=4 for k=3. Thus d=4abc.

2.1givenF3step 1.1constructalgebra

Use one clean scratch bit r. Apply T to each of the three data bits. For each of the three pair parities, compute that XOR into r with two CNOTs, apply T† to r, and undo the same two CNOTs. Compute a⊕b⊕c into r with three CNOTs, apply T, and undo those three CNOTs. Each parity routine restores r to zero and leaves the data bits unchanged. The total phase on ∣a,b,c⟩ is ωd=(−1)abc, so this circuit is CCZ; it uses seven T or T† gates and eighteen CNOTs.

3.1F3step 2.1algebra

Conjugate this CCZ circuit by H on the third data wire. If ab=0, CCZ is the identity on that wire; if ab=1, it applies Z=T4, and direct multiplication of the displayed matrices gives HZH=X. The result is therefore ∣a,b,c⟩↦∣a,b,c⊕ab⟩, the Toffoli action. The scratch wire is still zero, and the replacement uses 2+7+18=27 QC14 gates.

4.1F2F3step 3.1algebra

Replace each X in the reversible embedding by HT4H, which equals X because T4=Z and HZH=X; this uses six QC14 gates. Leave each CNOT unchanged and replace each Toffoli by step 3.1.

5.1F2F3step 4.1algebra

By [F2], the original macro list has at most 6S+4E+m occurrences. Each macro replacement has the same action on its data wires, returns the added scratch to zero, and uses at most 27 gates, so the compiled list has at most 27(6S+4E+m) gates and at most S+E+1 clean work wires. The exact matrix identity on every computational-basis input extends by linearity to superpositions.

6.1F1F4F5step 5.1construct∎

Traverse the explicit topological DAG once to produce the finite macro list of [F1], then replace each macro by its fixed gate sequence and fixed scratch-wire indices. Put each emitted gate in its own singleton layer, which satisfies the disjoint-support condition in [F4] and preserves the chronological product. Serialize this gate sequence using [F5], with the target wires as the ordered output tuple. The traversal and each replacement emit a constant number of records per node, port use, or output; every encoded wire index has O(log⁡(n+S+E+m+2)) bits. The unary wire header and all self-delimiting records consequently have polynomial total length and can be written in polynomial time. All gate-wire tuples have distinct entries, the input, target and work blocks are disjoint, and the output indices are distinct. Thus the singleton-layer circuit and its full-list code satisfy [F4]–[F5], with the action established in step 5.1.

RemarkRemark: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

BQP to PP and PSPACE proof obligations in the exact QC14 basis

Remarks

The established containments BQP⊆PP and BQP⊆PSPACE remain proof obligations for the exact QC14 gate alphabet H,T,T†,CNOT, whose entries lie in Q(ζ8)=Q(i,2) (BQP for promise problems in the fixed QC14 model, Clifford+T gate library and exact matrices). The PP route must encode amplitudes and acceptance weights over this number field, prove the required GapP closure, and compare against the strict 1/2 threshold. The BQP thresholds 2/3 and 1/3 differ by 1/3; each is at distance 1/6 from 1/2 (equivalently, 2p−1 has margin at least 1/3). A rational path count cannot simply replace the exact Q(ζ8) computation, since the probabilities can contain 2. The PSPACE route needs exact-field or certified-precision recursive evaluation with explicit bit-length and space bounds for each arithmetic and threshold step. The source containment arguments are context, not local proof suppliers; no containment item is claimed here.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

PromiseP is contained in EQP, EQP in ZQP, and ZQP in BQP

Statement

In the QC14 promise-problem model,

PromiseP⊆EQP⊆ZQP⊆BQP.

Here ZQP has the bounded-failure, no-wrong-definite-answer convention of ZQP on promise problems with bounded failure, and BQP uses the exact 2/3,1/3 thresholds of BQP for promise problems in the fixed QC14 model.

Facts & Assumptions

Given: A binary-string promise pair and the class definitions and suppliers below. Prove each containment for the stated QC14 gate alphabet and full-list uniformity.

[F1]

Promise problem: PromiseP has one deterministic polynomial-time machine correct on Y and N, with no condition off the promise.

[F2]

Polynomial-time computations have logspace-uniform circuit families: every fixed deterministic polynomial-time machine has a polynomial-size logspace-uniform Boolean circuit family computing its answer.

[F3]

Indexed uniform circuits convert to polynomial-time full lists: a logspace indexed Boolean family can be emitted as a complete self-delimiting list by a deterministic polynomial-time generator.

[F4]

Boolean circuits compile exactly into the QC14 gate alphabet: each such Boolean circuit has an exact QC14 reversible embedding, with a polynomial-time full-list compiler.

[F5]

EQP on promise problems in the QC14 model: EQP requires acceptance probability one on YES and zero on NO for a full-list QC14 family.

[F6]

ZQP on promise problems with bounded failure: ZQP has a polynomial-time label decoder, no wrong definite answer, and correct definite answer probability at least 2/3 on each promised side.

[F7]

BQP for promise problems in the fixed QC14 model: BQP requires acceptance probability at least 2/3 on YES and at most 1/3 on NO, with the same full-list QC14 model.

[F8]

The partial-output acceptance law is a finite probability law: the finite output strings of the witnessed computation have a normalized probability law.

Proof

1.1givenF1F2F3F4F5construct

Let Π=(Y,N)∈PromiseP and choose its deterministic polynomial-time decider M from [F1]. The Boolean circuit family of [F2] computes M; [F3] gives a polynomial-time full-list generator, and [F4] compiles each list into a QC14 family whose one-bit target is 1 exactly when M accepts. The two polynomial-time stages compose to one fixed deterministic multitape generator G on input 1n: it emits the Boolean list and compiles that list to the complete QC14 description. Its intermediate list length and total running time are polynomial in n. Convert G to one tape by storing the finitely many simulated tape contents in aligned tracks of a finite product alphabet, with one head marker per tape. During a computation of at most P(n) steps, each track uses at most n+P(n)+O(1) cells; a constant number of sweeps across this interval simulates each transition, so the one-tape time is O(P(n)(n+P(n))). Write the generated circuit description on an output track starting at cell 0; at halt, a cleanup sweep replaces each product symbol by its output-track component, leaving the exact binary description followed by blanks on the final tape. This is one fixed deterministic one-tape polynomial-time generator as required by [F5]. Use the target bit as the acceptance predicate. For every x∈Y the acceptance probability is 1, and for every x∈N it is 0, so Π∈EQP.

1.2F5F6construct

If Π∈EQP, take its witnessing family and define Dn(x,z)=YES when its acceptance predicate accepts and Dn(x,z)=NO otherwise. This is a total polynomial-time decoder. The exact probabilities in [F5] make the wrong definite label have probability zero and the correct definite label have probability one on each promised side; therefore the same family witnesses Π∈ZQP.

2.1givenF6F7F8step 1.2algebra∎

If Π∈ZQP, keep its full-list family and define the BQP acceptance predicate to accept exactly when Dn(x,z)=YES. On Y this event has probability at least 2/3. On N it has probability zero, since a wrong definite YES label is forbidden. By [F8] these event probabilities are normalized, and [F7] gives Π∈BQP.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

PromiseP is contained in PromiseBPP and PromiseBPP in BQP

Statement

For promise problems in the QC14 model,

PromiseP⊆PromiseBPP⊆BQP,BPP⊆BQP.

Facts & Assumptions

Given: A binary-string promise pair, a polynomial-time randomized machine when needed, and the exact Boolean-to-QC14 compiler. Prove that all random-tape, gate, generator, and output costs remain polynomial.

[F1]

Promise problem: a PromiseP machine is correct on Y and N and is unrestricted elsewhere.

[F2]

PromiseBPP: one PTM with a fixed worst-case polynomial branch bound has acceptance probabilities at least 2/3 on Y and at most 1/3 on N.

[F3]

Probabilistic polynomial time machine interface: a bounded-time PTM on inputs of length n can be represented by one uniform finite tape of polynomially many independent fair bits; unused suffixes are ignored.

[F4]

Polynomial-time computations have logspace-uniform circuit families: a fixed deterministic polynomial-time computation has a polynomial-size logspace-uniform Boolean circuit family.

[F5]

Indexed uniform circuits convert to polynomial-time full lists: its indexed family has a polynomial-time full-list generator.

[F6]

Boolean circuits compile exactly into the QC14 gate alphabet: a complete Boolean circuit list can be reversibly compiled into an exact QC14 list in polynomial time and size.

[F7]

BQP for promise problems in the fixed QC14 model: BQP uses the same QC14 family model and the 2/3,1/3 acceptance thresholds.

[F8]

Clifford+T gate library and exact matrices: H∣0⟩=(∣0⟩+∣1⟩)/2; ordered tensor maps act factorwise on the registers (Finite registers and their ordered computational bases, Ordered tensor registers, their inner product, and wire permutations).

[F9]

The computational basis is orthonormal: the finite ordered computational basis is orthonormal.

[F10]

Quantum acceptance probability for a finite promise computation and The partial-output acceptance law is a finite probability law: the designated target-bit outcome probability sums squared amplitudes over the unmeasured random and work registers.

Proof

1.1givenF1F2algebra

If Π∈PromiseP, run its deterministic decider as a PTM that ignores all random bits. Its acceptance probability is 1 on Y and 0 on N, so it satisfies [F2]. Thus PromiseP⊆PromiseBPP.

1.2givenF2F3construct

Now let Π∈PromiseBPP be witnessed by a PTM M. Choose a strictly increasing positive integer polynomial R(n) that bounds both its run time and the number of fair bits it can use on length-n inputs. By [F3], using a uniform R(n)-bit string and ignoring its unused suffix preserves every acceptance probability.

2.1givenF3step 1.2construct

For a binary word w of length m, define one deterministic polynomial-time machine M♯ as follows. Search for an n with m=n+R(n); strict increase makes it unique if it exists. If none exists, output 0. If it exists, split w=x∥r with ∣x∣=n and ∣r∣=R(n), simulate M on x using r as its fair random tape, and output its accept bit. The search and simulation take polynomial time in m, since n≤m and R is a fixed polynomial. Whenever a fixed multitape stage in this construction or its later composition runs for at most P(m) steps, a one-tape simulator stores its finitely many tape contents in aligned tracks of a finite product alphabet, with one head marker per tape. Each track uses at most m+P(m)+O(1) cells, and a constant number of sweeps simulates each step in O(m+P(m)) time. Put the binary output on a designated track starting at cell 0; a final cleanup sweep replaces each product symbol by its output-track component, leaving the exact output word followed by blanks on the final tape. Thus the construction has a one-tape polynomial-time implementation whenever that convention is needed.

3.1givenF3F4F5F6step 2.1construct

Apply [F4] to M♯, then [F5] to emit the Boolean gate list at length m(n)=n+R(n). Compose this generator with the polynomial-time map n↦m(n). Apply [F6] to that list. In the resulting QC14 family on input x, designate the next R(n) auxiliary wires as the random register, apply H to each from its initial zero state, and then run the reversible compiler on the x and random registers with a zero target and clean work. Starting from the compiled list with g gates, prefix Hadamard records on wire indices n,…,n+R(n)−1, change the unary input-wire count to n, and rewrite the self-delimiting gate count to g+R(n); retain the same total-wire count, target tuple and compiled gate records. The fixed composition of these list operations runs in polynomial time in n because all intermediate Boolean and QC14 descriptions have polynomial length. The one-tape simulation described in step 2.1 therefore yields one fixed deterministic one-tape generator that leaves the complete QC14 description as its final tape word, as required for the full-list family.

4.1F2F3F7F8F9F10step 3.1algebra

By [F8]–[F9], the Hadamards prepare 2−R(n)/2∑r∈{0,1}R(n)∣r⟩ on the zero-initialized random register. For each basis r, the reversible circuit writes exactly the bit M(x;r) into the target and returns its work to zero. Distinct r values remain in orthogonal computational-basis states of the unmeasured random register. The one-tape generator from step 3.1 satisfies the full-list uniformity condition in [F7]. Therefore, by [F10], the target's acceptance probability is 2−R(n)#{r∈{0,1}R(n):M(x;r) accepts}, which is exactly the PTM acceptance probability in [F3]. Its YES and NO bounds in [F2] are the BQP bounds in [F7]. Hence PromiseBPP⊆BQP.

5.1givenF2F7step 4.1∎

For an ordinary language L∈BPP, use the total promise pair (L,{0,1}∗∖L). Its BPP PTM satisfies the PromiseBPP definition [F2], so step 4.1 gives a BQP family for the language. Thus BPP⊆BQP.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Simon injectivity decision promise with XOR-oracle access

Definition

Fix n≥1 and put Vn={0,1}n, with coordinatewise addition ⊕ over F2 and cardinality N=2n. For s,y∈Vn, define the dot product s⋅y=∑j=0n−1sjyj(mod2). A table code consists of a unary header 1n0 followed by the n-bit words f(x) in lexicographic order of x∈Vn; this identifies function instances with binary strings as in Promise problem, Finite fields and their order, and Big-endian encoding of ordered bit strings.

The YES promise set Yn consists of table codes of injective maps f:Vn→Vn. The NO promise set Nn consists of codes for which there is a nonzero s∈Vn such that, for every x,y∈Vn,

f(x)=f(y)⟺y=x or y=x⊕s.

The sets are disjoint: every NO function has a collision between the distinct inputs x and x⊕s. Its mask is unique, since two different nonzero masks would give a third distinct input in the same fiber. Classical query access returns f(x) at a chosen address. Quantum query access is the coherent XOR oracle Uf∣x,z⟩=∣x,z⊕f(x)⟩ of Coherent XOR function oracle, which is unitary and involutive by A total Boolean XOR oracle is unitary and involutive. Each call is one query; query charges remain separate from ordinary gate costs by Circuit-family and computation cost model. In the query model the table is not supplied as gate data; the table code fixes the promised function only.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Simon promise decision by sampled rank

Definition

Input: an integer n≥1 and oracle access to a promised function f:Vn→Vn from Simon injectivity decision promise with XOR-oracle access. Set m=n+2. For each of m independent runs, initialize two ordered n-qubit registers X,Y to ∣0n⟩∣0n⟩, apply H⊗n to X, and query the coherent XOR oracle Uf once on X,Y. Apply the computational-basis instrument on Y from Computational-basis instruments and conditional states on two registers, record and discard its classical outcome, apply H⊗n again to X, and measure X in the computational basis using the same instrument. Record the resulting yj∈Vn.

Form the m×n binary matrix with rows y1,…,ym. Set the next pivot row to r=1 and scan columns j=1,…,n from left to right. In column j, search rows r,…,m for the first row with a 1 in that column. If there is no such row, leave the column without a pivot and continue to the next column. Otherwise swap that row with row r, XOR row r into every other row with a 1 in column j, and increase r by one. Accept (declare injective) exactly when the number of pivots is n.

The operation counts and correctness of this procedure are established in Simon rank test correctness and linear query cost. A query is charged separately from an implementation of f by Circuit-family and computation cost model. It makes no gate-time separation claim.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Classical randomized Simon decision requires square-root-many queries

Statement

Let N=2n with n≥4. A classical randomized adaptive algorithm that, given only classical query access x↦f(x) to the Simon decision promise of Simon injectivity decision promise with XOR-oracle access, must decide injective versus nonzero-mask two-to-one with worst-case error at most 1/3 requires Ω(N)=Ω(2n/2) queries. Ordinary classical computation between queries is unrestricted.

Facts & Assumptions

Given: N=2n, the Simon promise, a query budget T≤N/8, and the equal mixture of a uniformly random YES permutation and a uniformly random valid NO Simon function. Prove that no such T-query algorithm has average success 2/3 under this mixture.

[F1]

Simon injectivity decision promise with XOR-oracle access: YES functions are injections on N points; every NO function has fibers equal to the pairs {x,x⊕s} for one unique nonzero s.

[F2]

Finite probability spaces, outcome weights, events, and event probabilities: the finite sets of promised functions, masks, output-label assignments, and deterministic query trees can be assigned finite uniform or mixed probability weights.

[F3]

Normalization, nonnegativity, monotonicity, complements, and differences in a finite probability space: event probabilities are sums of weights, are monotone, and obey finite arithmetic.

Proof

1.1givenF1F2construct

Consider the finite input distribution that chooses YES or NO with probability 1/2. In the YES case choose a uniform permutation of Vn. In the NO case choose a uniform nonzero mask s, then a uniform injection from the N/2 cosets {x,x⊕s} into the N output labels. Every valid NO function has a unique mask, and each mask has the same number of such injections, so this is uniform over valid NO functions.

1.2givenF2F3algebra

It suffices to bound every deterministic query strategy: any randomized strategy has finitely many possible histories and actions up to depth T, so its conditional action choices can be represented as a finite distribution over deterministic decision trees. Repeated queries can be removed by caching their earlier answer, so assume every queried address is fresh.

2.1F1step 1.1F2algebra

Fix a deterministic strategy and a query index k≤T. Since N≥16, the premise T≤N/8 implies k≤N/2. Suppose its first k−1 distinct query addresses x1,…,xk−1 have produced distinct outputs. Under a NO mask, this transcript is possible exactly when s≠xi⊕xj for every i<j<k. Thus at most (k−12) of the N−1 nonzero masks are excluded. For every remaining mask, the queried addresses lie in distinct cosets; the number of injective assignments of output labels to the unqueried cosets is (N−k+1)!(N/2)!, independent of the mask. Hence, conditioned on this transcript, the mask is uniform among at least N−1−(k−12) candidates.

3.1F1step 2.1F2algebra

The next address xk is determined by the transcript. At most k−1 candidate masks, namely xk⊕xj for j<k, make its output collide with a previous output. Therefore Pr⁡[first collision at query k∣no earlier collision]≤k−1N−1−(k−12). If there is no collision, xk belongs to a new coset whose output label is uniform among the N−k+1 unused labels, exactly as the next output of a uniformly random permutation. Couple the two oracle transcripts to use the same unused label until a Simon collision occurs; the adaptive address choices then also agree up to that time.

4.1step 3.1algebra

For T≤N/8 and N≥16, each denominator in step 3.1 is at least N−1−T2/2>N/2. Summing the conditional first-collision bounds gives Pr⁡NO[a collision by query T]≤∑k=2T2(k−1)N=T(T−1)N≤164<13. This also bounds the probability that the coupled transcripts differ.

5.1F2F3step 1.2step 4.1algebra∎

Let D be the deterministic decision bit, with 1 meaning YES. Under the coupling, its outputs in the two cases differ with probability at most 1/64, so Pr⁡YES[D=1]−Pr⁡NO[D=1]≤164. Its average success under the equal mixture is 12(Pr⁡YES[D=1]+Pr⁡NO[D=0])=12(1+Pr⁡YES[D=1]−Pr⁡NO[D=1])≤1+1/642<23. By step 1.2 the same bound holds for every randomized algorithm. A worst-case error bound of 1/3 would imply average success at least 2/3, a contradiction. Therefore at least N/8 queries are required for all sufficiently large n, which is Ω(2n/2).

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Simon rank test correctness and linear query cost

Statement

For every n≥1, the sample in Simon promise decision by sampled rank is uniform on Vn when f is YES, and uniform on s⊥={y:s⋅y=0} when f is NO with mask s≠0. The rank test rejects every NO instance. On YES its error probability is at most

(2n−1)2−(n+2)<14.

It uses exactly n+2 queries, 2n(n+2) ordinary Hadamard gates, 2(n+2) finite register readouts, and O(n3) classical bit operations.

Facts & Assumptions

Given: n≥1, N=2n, a promised Simon function f, and m=n+2 independent runs of the algorithm.

[F1]

Simon injectivity decision promise with XOR-oracle access: in the NO case each fiber is {x,x⊕s} for one nonzero mask s; in the YES case each nonempty fiber is a singleton.

[F2]

Simon promise decision by sampled rank: each run prepares ∣0n,0n⟩, applies H⊗n, queries Uf, measures the function register with the computational-basis instrument, applies H⊗n to the input register, and measures the input register.

[F3]

Clifford+T gate library and exact matrices: H∣x⟩=2−1/2∑y∈{0,1}(−1)xy∣y⟩ on one bit.

[F4]

Computational-basis instruments and conditional states on two registers: for a basis state superposition, measuring one register has probability equal to the squared norm of its projected branch; a positive branch is the normalized projection.

[F5]

Tensor products of finitely many linear maps and Ordered tensor registers, their inner product, and wire permutations: tensor gates act factorwise and the displayed register order is retained.

[F6]

Finite probability spaces, outcome weights, events, and event probabilities: probabilities on a finite outcome set are sums of its nonnegative weights.

[F7]

Product weights normalize, and coordinate events are mutually independent: independent fresh runs have the product output law.

Proof

1.1F1F2F3F4F5algebra

By the factorwise tensor rule [F5], H⊗n∣x⟩=N−1/2∑y∈Vn(−1)x⋅y∣y⟩. In particular the first Hadamards prepare N−1/2∑x∈Vn∣x,0n⟩. After one query the state is ∣ψf⟩=N−1/2∑x∈Vn∣x,f(x)⟩. For each function-register result z in the image of f, [F4] gives probability ∣f−1(z)∣/N and the conditional input superposition that is uniform on that fiber.

2.1F1F2F3F4F5step 1.1algebra

If f is YES, every fiber is a singleton {x}. The conditional input state is ∣x⟩, and the second Hadamards give amplitude N−1/2(−1)x⋅y at every y∈Vn. By the first-register instrument law [F4], its squared modulus is the conditional output probability 1/N, independent of the measured function-register value; hence the unconditional sample is uniform on Vn.

2.2F1F2F3F4F5step 1.1algebra

If f is NO with mask s≠0, a positive-probability fiber has the form {x,x⊕s}. Its conditional input state is (∣x⟩+∣x⊕s⟩)/2. After the second Hadamards the amplitude at y is (−1)x⋅y2N(1+(−1)s⋅y). It is zero when s⋅y=1 and has squared modulus 2/N when s⋅y=0. By [F4], these squared moduli are the conditional output probabilities. Pairing y with y⊕ej for a coordinate j with sj=1 shows that exactly N/2 strings lie in s⊥. The conditional law is therefore uniform on s⊥ and independent of the measured fiber label, so the unconditional law is the same.

3.1F1F2step 2.2constructalgebra

In the NO case every sample lies in s⊥, which is proper because ej∉s⊥ when sj=1. The span of the samples is proper, so its rank is less than n and the algorithm rejects. The elimination procedure preserves row span under row swaps and row XORs; at termination its nonzero rows have distinct pivot columns and are linearly independent. They still span the original rows, so the pivot count is the matrix rank. At most n pivots each inspect and update O(n+2) rows of n bits, giving O(n3) bit operations.

3.2F2F7step 2.1algebra

Each run reinitializes both registers and uses no earlier outcome as an input. Thus the conditional law of the next sample given any previous transcript is the same one-run law; induction on the number of runs gives the product law, and [F7] identifies the coordinates as independent. In the YES case each sample is uniform on Vn by step 2.1. Their matrix has rank below n exactly when some nonzero t∈Vn satisfies t⋅yj=0 for every row j: Gaussian elimination uses invertible row operations and produces fewer than n pivot columns, so a free variable can be set to 1 and the pivot variables solved backwards to give a nonzero solution of the homogeneous system. Conversely, if such a t exists, every row lies in its kernel; a coordinate vector ek with tk=1 is outside that kernel, so the rows cannot span Vn.

4.1F2F6F7F8step 3.1step 3.2algebra∎

Fix t≠0 and choose k with tk=1. The involution y↦y⊕ek pairs vectors with opposite values of t⋅y, so a uniform sample satisfies t⋅y=0 with probability 1/2. Independence gives probability 2−m that all m samples are orthogonal to t. Pointwise, the indicator of the union over the N−1 nonzero t is at most the sum of their indicators; summing over the finite probability space yields Pr⁡[rank⁡<n]≤(N−1)2−m=(2n−1)2−(n+2)<14. Each of the m=n+2 runs in [F2] makes one oracle call, applies two layers of n ordinary Hadamard gates, and performs two finite register readouts. Thus the totals are n+2 queries, 2n(n+2) Hadamard gates, and 2(n+2) readouts; step 3.1 gives the classical elimination cost.

5 · Examples, counterexamples and false statements

None yet.

Sources