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.

Uniform Circuit Families, Promise Problems, and Complexity

1 · Prerequisites

2 · Summary

This page fixes full-list polynomial-time generation: one deterministic machine prints each complete circuit description from unary input length. It makes no indexed-gate conversion claim. A finite promise computation uses disjoint YES and NO sets, an ordered computational-basis input, zero-initialized auxiliary wires, a distinct ordered output tuple, and a total terminal predicate. No correctness requirement is imposed off the promise, and no intermediate measurement is part of the base model.

Acceptance sums over every unmeasured wire. The local proof identifies these weights with the normalized computational-basis POVM law on the named output register. The cost record separates full-description length, gate count, layered depth, total width, generator time, classical predicate time and space, named oracle queries, and approximate-task precision bits. When the computation interface declares an exact clean or dirty ancilla contract, its wire count is recorded separately; every inapplicable coordinate is marked not applicable rather than treated as zero.

The BQP interface uses exactly H,T,T†,CNOT with entries in Q(i,2), acceptance at least 2/3 on YES and at most 1/3 on NO, and no off-promise condition. The thresholds use The partial-output acceptance law is a finite probability law, which identifies the finite output weights with a normalized acceptance-event law. It asserts no BQP-versus-classical separation. Repetition amplification copies only a classical-basis input, evaluates independent terminal runs, and applies one exact rational threshold; the error and full-list resource bounds are proved separately. The argument does not clone arbitrary superpositions or use coherent amplitude amplification.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Finite quantum promise-computation model

Definition

Let Π=(Y,N) be a promise problem: Y,N⊆{0,1}∗ are disjoint, and no answer is required outside Y∪N (Promise problem). For every input length n≥0, let a(n)∈N be the number of auxiliary qubits. The n input wires are ordered with the first wire most significant: for x=(x0,…,xn−1), ∣x⟩ is the computational-basis vector indexed by enc⁡n(x)=∑k<nxk2n−1−k (Finite registers and their ordered computational bases, Big-endian encoding of ordered bit strings). The auxiliary register has a(n) wires and is initialized to ∣0a(n)⟩. When n=0 or a(n)=0, the corresponding zero-qubit register is the one-dimensional space C, not the zero vector space.

For each n, a finite circuit Cn acts on the ordered register of n+a(n) wires and has the unitary denotation UCn specified by Finite circuit syntax and ordered wire labels and Denotational semantics of a finite layered circuit. The circuit syntax designates an ordered tuple of distinct output-wire indices; an acceptance specification uses that same tuple On, whose indices lie in {0,…,n+a(n)−1}. It consists of this tuple and a total predicate An(x,z)∈{0,1} for x∈{0,1}n and z∈{0,1}∣On∣. The tuple may be empty; then its measured output set contains only the empty word. Auxiliary wires are initialized to zero, but this definition does not require them to return to zero after the computation; that stronger clean-ancilla condition is defined in Clean and dirty ancillas.

A finite quantum promise computation is the data (Π,(Cn)n≥0,a,O,A) with these registers and predicates. Its output is classical: measure only the named output wires in the computational basis and accept exactly when An(x,z)=1. No intermediate measurement is part of this base model. Unless a full-list uniformity condition is imposed separately, the family need not be generated uniformly. When uniformity or cost is claimed, A is supplied by one fixed deterministic Turing machine with an explicit polynomial worst-case time bound in the encoded pair (x,z) (Deterministic one-tape Turing machines with designated accept and reject states, Partial functions computed by a machine under fixed encodings, Worst-case time and space complexity of a machine). This is a mathematical finite-circuit model and makes no assertion about physical realization.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Circuit-family and computation cost model

Definition

Fix the finite circuit syntax and its complete self-delimiting binary description (Finite circuit syntax and ordered wire labels, Effective binary encodings and total decoders). For a circuit C, let L(C) be the number of bits in that complete description, g(C) its number of gate occurrences, and w(C) its total number of wires.

Each clean or dirty ancilla coordinate additionally requires a declared ordered partition of the circuit wires into data register D and ancilla register A, and a declared target unitary V on D. In that factor order, the complete circuit unitary must satisfy the corresponding exact contract of Clean and dirty ancillas. For such a supplied clean contract set aclean(C)=∣A∣, and for such a supplied dirty contract set adirty(C)=∣A∣; the notation suppresses the declared interface, which is part of the cost instance and may differ between the two coordinates. If no corresponding contract is supplied, mark that coordinate not applicable. These are counts of declared contract registers, not maxima over possible partitions. Zero initialization alone supplies neither return contract. Every auxiliary wire remains counted in w(C) (Finite circuit resource accounting).

The gate sequence and supports determine a finite dependency order: each earlier gate occurrence must precede every later occurrence that acts on a shared wire. A layering assigns a positive integer layer to each gate occurrence, strictly increasing along those shared-wire precedence relations. Gates in one layer therefore have pairwise disjoint supports. Define the depth d(C) to be the least number of layers in such a layering; if C has no gates, set d(C)=0. If layers are written L1,…,Ld in chronological order, the denotation is ULd⋯UL1, as in Denotational semantics of a finite layered circuit.

For a family (Cn) with a specified full-list generator G, let tG(n) be the worst-case number of Turing-machine transitions used by G on unary input 1n. For a total acceptance predicate An(x,z), let tA(n) and sA(n) be its worst-case deterministic transition count and tape-space use over all valid length-n inputs and measured outputs, using a fixed effective encoding of the pair (x,z). Any effective input description, classical preprocessing, or threshold computation has its own bit length and time/space bounds; these costs are not included in tG or tA unless the same machine performs them. The machine conventions are those of Deterministic one-tape Turing machines with designated accept and reject states, Partial functions computed by a machine under fixed encodings, and Worst-case time and space complexity of a machine.

If the access model explicitly supplies a named oracle gate O, let qO(C) be the number of calls to it. With several named oracles, record a separate query coordinate for each. Ordinary finite-basis gates, oracle calls, circuit-description length, generator time, and classical bit costs remain separate; no oracle, controlled-oracle, inverse-oracle, or data-loading operation is assigned zero cost unless its interface explicitly says so.

For an approximate task with declared rational tolerance 0<ϵ<1, let ℓ(ϵ) be the bit length of that exact binary-rational encoding. Exact finite-gate computations have no precision field. The cost record consists of all applicable coordinates (L(Cn),g(Cn),d(Cn),w(Cn),aclean(Cn),adirty(Cn),tG(n),tA(n),sA(n),qO(Cn),ϵ,ℓ(ϵ)). An inapplicable coordinate is marked not applicable, not silently charged as zero. This definition records the resource model; separate theorems establish polynomial bounds.

Remarks

The minimum-layer quantity d(C) above may also be denoted dmin⁡(C). It differs from the declared depth ddecl(C) in Finite circuit resource accounting, which counts the layers actually written in the supplied circuit. Its written layering is one admissible layering of the same gate word, so dmin⁡(C)≤ddecl(C). The inequality can be strict: two gates on disjoint wire sets written in two successive layers have declared depth 2 and minimum-layer depth 1. Empty written layers also contribute to declared depth, while a gate-free word has minimum-layer depth 0. These are separate resource quantities; a cost statement must specify which one it bounds.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Full-list uniform quantum circuit family

Definition

A full-list uniform quantum circuit family is a sequence (Cn)n≥0 together with one fixed deterministic one-tape Turing machine G and constants c≥1 and k∈N such that, on input the unary word 1n, G halts within c(n+1)k transitions and its final tape is a valid self-delimiting binary description of the entire circuit Cn. The machine output convention is that of Deterministic one-tape Turing machines with designated accept and reject states and Partial functions computed by a machine under fixed encodings, and running time is as in Worst-case time and space complexity of a machine.

The following fixed-order code makes the full circuit and its designated input/output wires effective. A unary natural r∈N is written 1r0, including the one-symbol code 0 for r=0. A self-delimiting binary natural r is written 1∣bin⁡(r)∣0bin⁡(r), where bin⁡(r) is its ordinary binary numeral with no leading zeros and bin⁡(0)=0. The header gives the input-wire count n and total wire count m in unary, followed by the gate count g as a self-delimiting natural; validity requires m≥n.

Each gate record consists of a two-bit label (00,01,10,11 for H,T,T†,CNOT respectively), followed by one self-delimiting wire index for H,T,T† and two ordered self-delimiting indices for CNOT. Every index is less than m; CNOT indices are distinct, with the first the control and the second the target. The list contains exactly g records. After the gate list, an output-count self-delimiting natural is followed by that many ordered, pairwise distinct wire indices, each less than m. Parsing rejects every other label, malformed or out-of-range index, repeated output index, truncated field, or trailing bit. This defines a total decoder by returning a fixed malformed-code symbol on any invalid word; effective binary encodings and total decoders are as in Effective binary encodings and total decoders.

The gate labels and matrices are the fixed finite library H,T,T†,CNOT of Clifford+T gate library and exact matrices, with entries in Q(ζ8)=Q(i,2); CNOT is control-first. The remaining m−n wires are auxiliary wires; their initial states are determined when a family is used in a computation model. This family convention adopts full-list generation. It makes no equivalence claim with indexed-gate uniformity and, in particular, does not assert that an indexed-gate generator can be expanded to the full list in polynomial time.

Remarks

When a family is used in a promise computation, its output predicate is supplied separately by that computation model; the predicate is not an uncharged quantum gate (Finite quantum promise-computation model).

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Quantum acceptance probability for a finite promise computation

Definition

Fix a length-n finite promise computation from Finite quantum promise-computation model, with input x∈{0,1}n, zero-initialized auxiliary register ∣0a(n)⟩, circuit unitary UCn, and ordered output-wire tuple On. Let POn be the tensor-factor permutation that moves On, in its declared order, to the front, and let Wn be the ordered tuple of all remaining wires (Ordered tensor registers, their inner product, and wire permutations). Set ψx:=UCn(∣x⟩⊗∣0a(n)⟩),vx:=coord⁡(POnψx). Here coordinates are in the ordered computational basis. In this definition, ⟨⋅,⋅⟩root:=⟨⋅,⋅⟩⊗ denotes the inner product on the reordered complete tensor register from Ordered tensor registers, their inner product, and wire permutations, linear in its first argument and conjugate-linear in its second (Real and complex inner-product spaces and their induced length). For z∈{0,1}∣On∣ and w∈{0,1}∣Wn∣, write ez,w for the corresponding product-basis vector and define pCn(z∣x):=∑w∈{0,1}∣Wn∣∣⟨POnψx,ez,w⟩root∣2. The acceptance probability is pCn(x):=∑z∈{0,1}∣On∣An(x,z)=1pCn(z∣x). Equivalently, if EA,x is the diagonal projection onto the basis vectors (z,w) with An(x,z)=1, then pCn(x)=Tr⁡(EA,xvxvx†); the matrix adjoint is conjugate transpose in an orthonormal basis (The adjoint T∗:W→V is characterised by ⟨Tv,w⟩W=⟨v,T∗w⟩V, Every finite-dimensional real or complex inner product space has an orthonormal basis).

These are finite sums. The definition itself does not assert normalization, positivity of the resulting operator expression, or a probability bound; those consequences are the purpose of The partial-output acceptance law is a finite probability law. No Dirac bra convention is used here: every amplitude uses the root pairing displayed above.

LemmaStatement: AI-adaptedProof: AI-generatedOpen item page →

Acceptance is invariant under an unconditional global phase

Statement

For a finite promise computation, replacing its entire unconditional circuit unitary UC by λUC, where λ∈C and ∣λ∣=1, leaves every output probability pC(z∣x) and hence pC(x) unchanged. A scalar inserted only in the target block of a controlled operation need not preserve acceptance: there is an explicit two-qubit finite-circuit witness below.

Facts & Assumptions

Given: The finite-dimensional circuit and output law of Quantum acceptance probability for a finite promise computation, a scalar λ∈C with ∣λ∣=1, and the control-first tensor order.

[F1]

Quantum acceptance probability for a finite promise computation: each output weight is a finite sum of squared moduli of root-inner-product coordinates of the prepared output vector.

[F2]

Clifford+T gate library and exact matrices: H=2−1/2(111−1), T=diag⁡(1,eiπ/4), and T4=Z=diag⁡(1,−1) in the fixed finite gate library.

[F3]

Finite registers and their ordered computational bases and The computational basis is orthonormal: ∣0⟩,∣1⟩ are the orthonormal basis of the one-qubit register, and the two-qubit input ∣00⟩ is a unit vector.

[F4]

Ordered tensor registers, their inner product, and wire permutations: tensor factors retain their displayed order, and the associated product basis is ordered lexicographically by its factor-index tuple.

[F5]

Promise problem: a promise problem is a pair of disjoint subsets of {0,1}∗, with no answer condition off their union.

[A1]

Finite circuit syntax and ordered wire labels fixes the ordered wire tuple of each gate. Denotational semantics of a finite layered circuit embeds the local matrix on those factors with identity on the complement and composes gates chronologically with later matrices on the left.

Proof

1.1givenF1algebra

Let ψx=UC(∣x⟩⊗∣0a(n)⟩). Replacing the entire unconditional unitary UC by λUC replaces ψx by λψx. Since the root pairing is linear in its first argument, every coordinate ⟨POψx,ez,w⟩root is multiplied by λ. Its squared modulus is unchanged because ∣λ∣2=1.

1.2givenF2F3F4A1algebra

On a control-first pair of qubits, define C(U)=(I00U). For target U=I2 and phase λ=−1, C(U)=I4 while C(λU)=diag⁡(I2,−I2)=Z⊗I2. By [F2], this second matrix is implemented by applying T four times to the control wire. On input ∣00⟩, apply H to the control, then respectively C(I2) or C(−I2), then H to the control again. The first gate list maps ∣00⟩ to ∣00⟩ because H2=I2; the second maps it to ∣10⟩ because direct matrix multiplication gives HZH=X and X∣0⟩=∣1⟩. Each list uses only the fixed finite gates and the second is an explicit circuit realizing the target phase inside the control block.

2.1step 1.1F1algebra

The finite sums over w and then over the accepting strings z are therefore unchanged term by term. Thus both pC(z∣x) and pC(x) are unchanged under an unconditional global phase.

3.1step 1.2F1F5algebra∎

Use these as the length-two circuits in two finite families, taking gate-free circuits with empty output tuples at other lengths. Let the promise pair be Y={00} and N=∅, and let the total predicate accept exactly when n=2, x=00, and the measured control bit is 0. Designate wire 0 as the length-two output. The two families differ only by whether the target block is I2 or −I2. By [F1], the first has acceptance probability 1 and the second has acceptance probability 0, since their length-two outputs are the distinct basis vectors ∣00⟩ and ∣10⟩. Thus a phase applied only inside a controlled target block can change acceptance, even though the same scalar on an entire unitary leaves acceptance invariant.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

BQP for promise problems in the fixed QC14 model

Definition

A promise problem Π=(Y,N) belongs to BQP in the QC14 model when there exist a full-list uniform family (Cn) and a polynomial-time acceptance predicate An as in Full-list uniform quantum circuit family and Quantum acceptance probability for a finite promise computation such that, for every x∈Y, pC∣x∣(x)≥23, and for every x∈N, pC∣x∣(x)≤13. By The partial-output acceptance law is a finite probability law, pCn(x) is the probability of the specified acceptance event and lies in [0,1]. No condition is imposed for x∉Y∪N (Promise problem). The gate alphabet is exactly H,T,T†,CNOT; its matrix entries lie in Q(ζ8)=Q(i,2) as specified by Full-list uniform quantum circuit family. This definition does not assert a BQP-versus-classical separation, nor does it assert an unproved equivalence with another circuit-uniformity convention.

LemmaStatement: AI-adaptedProof: AI-generatedOpen item page →

A full-list uniform generator bounds circuit size and width

Statement

If the generator in Full-list uniform quantum circuit family halts on input 1n within T(n)≤c(n+1)k transitions, then the generated description has length at most n+T(n)+O(1). Consequently its number of gates and total number of wires are polynomial in n. This is a full-list size bound; it does not establish equivalence with indexed-gate uniformity.

Facts & Assumptions

Given: A full-list family generated by a deterministic one-tape Turing machine G in at most T(n) transitions on input 1n.

[F1]

Full-list uniform quantum circuit family: the output is a complete self-delimiting gate-list description, each gate record has a gate label, and the total wire count is encoded in unary.

[F2]

Deterministic one-tape Turing machines with designated accept and reject states: one transition writes exactly one symbol on the scanned tape cell and moves the head by one cell.

[F3]

Partial functions computed by a machine under fixed encodings: the output is the finite binary word on the final tape, with all later cells blank.

Proof

1.1givenF1F2F3

Initially the input 1n occupies n cells. In T(n) transitions the head visits at most T(n)+1 additional positions, and each transition writes only one symbol by [F2]. At halting, the output convention [F3] therefore gives a binary word of length at most n+T(n)+1. The description is self-delimiting by [F1], so the number of its symbols is bounded by this polynomial quantity.

2.1step 1.1F1algebra∎

Each gate record contains at least one symbol, so its number of gates is no greater than the description length. The total wire count is explicitly unary in the same description, so it too is no greater than the description length. With T(n)≤c(n+1)k, both quantities are O(n+c(n+1)k+1) and hence polynomial in n. The argument makes no claim that an indexed-gate generator can be converted to a full list.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Oracle-aware full-list quantum circuit family

Definition

An oracle-aware full-list family has an access specification and a deterministic polynomial-time full-list generator on unary input 1n, with the same machine, clock, and final-tape conventions as Full-list uniform quantum circuit family. The access specification gives, at each length n, finitely many named ports On,j, each a unitary on a positive number kn,j of qubits. These are mathematical unitary data supplied by the access specification, not matrices computed by the generator. For a parametrized oracle instance, fix that instance throughout a computation and all its repetitions. The generator, printed descriptors, and final classical predicate are independent of the hidden instance: its influence enters only through the granted unitary ports. Any public parameters are fixed explicitly as part of the family specification; oracle comparisons hold them fixed. A port acts only on the wires in its occurrence; there is no persistent private oracle memory, stochastic resampling, or communication between disjoint occurrences through hidden registers.

Each port has a descriptor: a distinct nonempty binary name, its width kn,j, and four grant bits for forward, inverse, controlled-forward, and controlled-inverse access. At least one variant is granted. A granted variant has an explicitly specified positive integer query charge cn,j,v; an ungranted variant cannot occur. Forward and inverse have arity kn,j; controlled variants have arity kn,j+1, with the first wire the control and the remaining ordered wires the target. Their mathematical actions are respectively On,j, On,j†, and the corresponding controlled unitary (identity on control 0, the indicated unitary on control 1). Mathematical existence of an inverse or controlled unitary grants no access to it. The descriptors printed by the generator must agree with the supplied access specification at every length; syntactic decoding alone does not decide this semantic condition.

The following is a separate binary format; the original two-bit Clifford+T format of Full-list uniform quantum circuit family remains unchanged. Use its unary and self-delimiting natural codes. The header gives n,m in unary with m≥n, then the total number g of operation occurrences and the number of port descriptors as self-delimiting naturals. Each descriptor gives the name length as a self-delimiting natural followed by exactly that many name bits, the positive port width in unary, four grant bits in the order above, and one positive self-delimiting charge for each granted variant in that order. Descriptor order fixes port indices starting at zero.

The header and descriptors are followed by exactly g operation records. A three-bit label 000,001,010,011 denotes respectively ordinary H,T,T†,CNOT and is followed by the same ordered wire-index fields as in the original format. Label 100 denotes an oracle slot: a self-delimiting port index, a two-bit variant index in the descriptor order, and exactly the variant's arity many ordered self-delimiting wire indices. Every index is below m, and wires within each record are distinct. The final output-count and ordered distinct output-wire list use the original format. All other labels, duplicate names, ungranted variants, invalid fields, truncations, and trailing bits are rejected. As in the original code, the decoder is total by returning a malformed-code symbol on rejection. The generator prints this entire description, including every descriptor and every slot, within its explicit polynomial clock. The port count, widths, names, and charges must therefore fit in that printed description; neither an exponentially long list nor an implicit operation subroutine counts as full-list output.

For a fixed length and oracle instance, instantiating the slots gives an ordinary finite unitary circuit with a finite enlarged gate alphabet in the sense underlying Full-list uniform quantum circuit family. Use the ordered wire embedding and chronological composition of that item. Zero auxiliary initialization, final output measurement, and a separately supplied total polynomial-time classical predicate are exactly those of Finite quantum promise-computation model; acceptance is the finite coordinate sum in Quantum acceptance probability for a finite promise computation. No oracle call is performed by the classical generator or predicate unless a separate classical access interface is declared; here neither is granted one.

In the cost convention of Circuit-family and computation cost model, g(C) counts all operation occurrences. Write gord(C) for the number of ordinary records and Nj,v(C) for the number of slots for port j, variant v. Thus g(C)=gord(C)+∑j,vNj,v(C). Record the raw call count qj(C)=∑vNj,v(C) and, separately, the declared charged query cost Qj(C)=∑vcn,j,vNj,v(C). A polynomial bound on the binary description length does not imply a polynomial bound on Qj if charges have large binary values. Ordinary CNOT records incur ordinary gate cost and no query, even if a named port happens to have the same matrix. Oracle records remain query records even when their matrices admit an ordinary implementation; substituting such an implementation is a separate construction and cost claim.

The ordinary mode instead uses the exact original full-list code with no ports or query slots. In particular the oracle-aware format does not enlarge the gate library or alter the exact arithmetic convention of the QC14 BQP definition.

AlgorithmAlgorithm: AI-adaptedProof: Not applicableOpen item page →

Bounded-error repetition amplification

Definition

Inputs. In ordinary mode, a full-list uniform family generator G in the exact fixed-library format of Full-list uniform quantum circuit family; or, in oracle mode, an oracle-aware full-list generator and its granted access specification as in Oracle-aware full-list quantum circuit family. In either mode supply a total deterministic acceptance-predicate machine A and explicit polynomial clock bounds, with zero auxiliary initialization, output tuples, and acceptance as in Finite quantum promise-computation model and Quantum acceptance probability for a finite promise computation; machines that output exact binary rationals α(n),β(n),δ(n) with explicit polynomial clock bounds; and a fixed positive integer-valued polynomial s(n) with an exact rational-coefficient representation. The machine descriptions and clock bounds are fixed parts of the input data, and each rational output has polynomial bit length. Valid inputs satisfy, for every n, 0≤β(n)<α(n)≤1,α(n)−β(n)≥1s(n),0<δ(n)≤12. The procedure checks the clock and syntax at each requested length and returns INVALID if a run exceeds its supplied clock, a code is malformed, or any displayed inequality fails. Its domain consists of descriptions whose stated polynomial bounds and inequalities hold for all n; the procedure does not decide that global validity property for arbitrary machine descriptions.

Instructions at length n.

  1. Run the supplied machines within their polynomial clocks to obtain the full description of Cn, α=α(n), β=β(n), and δ=u/v with positive integers u,v. In oracle mode, also compare the printed port descriptors with the supplied access specification at length n; on any mismatch return INVALID. Evaluate s(n) exactly from its fixed rational-coefficient polynomial. Check that it is a positive integer, check exact rational syntax, and check the validity inequalities by integer arithmetic; on failure return INVALID.
  2. Let ℓ(v) be the number of binary digits of v and set r:=2s2(ℓ(v)+1). This is a positive integer. No logarithm or irrational ceiling is evaluated.
  3. Allocate r disjoint copies of the entire Cn wire register in block order, with block 1 first. Put the classical-basis input ∣x⟩ on the first block's first n wires; initialize every other wire to zero. For j=2,…,r in increasing order, and then i=0,…,n−1 in increasing order, append a CNOT from wire i of block 1 to wire i of block j, with the first wire as control. These operations map ∣x⟩∣0n⟩⊗(r−1) to ∣x⟩⊗r and do not clone arbitrary superpositions. Then, for blocks j=1,…,r in order, append the records of Cn in their supplied chronological order, shifting each wire index by (j−1)w(Cn). This serializes each base circuit's records; gates listed in a common layer have disjoint supports, so serialization preserves its denotation. Keep the first block's n input wires first in the output wire order and encode input count n; every other wire is auxiliary. In oracle mode, retain each slot's port and granted variant, shift only its ordered wire indices by the block offset, and copy the access descriptors once. The added CNOTs are ordinary records, never query slots. The repeated circuit has rw(Cn) wires and rg(Cn)+n(r−1) operation occurrences; in oracle mode its ordinary count is rgord(Cn)+n(r−1).
  4. Concatenate the r copies of the declared output tuple in copy order and measure that tuple at the final readout. For measured strings z1,…,zr, compute S=#{i:An(x,zi)=1}. The single total output predicate returns YES exactly when 2S≥r(α+β), evaluated exactly: if α=A/B and β=C/D with positive denominators, compare 2SBD with r(AD+CB). Return NO otherwise.

The output is one full-list repeated circuit in the input mode's format and its total classical predicate. Ordinary mode uses only the original fixed library. In oracle mode every base port/variant occurrence is repeated r times: Nj,v, raw call counts qj, and charged query costs Qj all scale by r, with unchanged grants and per-call charges (Oracle-aware full-list quantum circuit family). Query costs remain separate from ordinary gates and classical bit costs (Circuit-family and computation cost model). The endpoint comparison is classical postprocessing, not an intermediate measurement or coherent amplitude-amplification step. Correctness, uniformity, and resource bounds are separate claims proved by Bounded-error repetition amplification is correct and uniform.

TheoremStatement: AI-adaptedProof: AI-generatedOpen item page →

The partial-output acceptance law is a finite probability law

Statement

For every finite promise computation, every length n, and every classical input x∈{0,1}n, the output weights pCn(z∣x) from Quantum acceptance probability for a finite promise computation are nonnegative and sum to one over z∈{0,1}∣On∣. The acceptance probability is the probability of the event {z:An(x,z)=1}, lies in [0,1], and agrees with the finite computational-basis POVM outcome law on the named output register.

Facts & Assumptions

Given: A length-n finite promise computation, an input x∈{0,1}n, its unitary circuit denotation, and its ordered tuple On of distinct output wires.

[F1]

Finite quantum promise-computation model: the input is the ordered computational-basis vector ∣x⟩ with zero-initialized auxiliary wires; only the named output wires are measured, and the total predicate An(x,z) determines acceptance.

[F2]

Quantum acceptance probability for a finite promise computation: after moving the named wires to the front, pCn(z∣x) is the finite sum of ∣⟨POnψx,ez,w⟩root∣2 over every unmeasured string w.

[F3]

Finite registers and their ordered computational bases and The computational basis is orthonormal: each finite qubit register has its specified ordered computational basis, which is orthonormal; the zero-qubit register is the one-dimensional space C with basis {1}.

[F4]

Ordered tensor registers, their inner product, and wire permutations: the ordered product basis is orthonormal, and a wire permutation sends that basis bijectively to the basis in the reordered factors.

[F5]

Bessel's inequality for a finite orthonormal list and Parseval's identity for an orthonormal basis: in a finite orthonormal basis, the squared norm is the sum of squared coordinate moduli and each coordinate is the root inner product with its basis vector.

[F6]

Real and complex inner-product spaces and their induced length: the root inner product is linear in its first argument and conjugate-linear in its second.

[F7]

Finite POVMs and their outcome law: its outcome-law formula applies to a density operator on a nonzero finite-dimensional complex inner-product space, with weights tr⁡(ρEa).

[F8]

Finite POVMs and their outcome law: for a finite POVM (Ea) and a density operator ρ, the outcome weight is tr⁡(ρEa).

[F9]

Partial trace over a finite tensor factor: in ordered product bases, (Tr⁡Wρ)z,z′=∑wρ(z,w),(z′,w).

[F10]

The partial trace is characterized by the trace pairing and is basis-independent: tr⁡((Tr⁡Wρ)T)=tr⁡(ρ(T⊗IW)) for every output-register endomorphism T.

[F11]

The basis-independent trace of an endomorphism of a finite-dimensional vector space: in any ordered basis, the trace is the sum of the diagonal entries.

[F13]

Finite probability spaces, outcome weights, events, and event probabilities: nonnegative weights on a finite outcome set that sum to one define a probability space, and each subset is an event whose probability is the sum of its weights.

[A1]

Finite circuit syntax and ordered wire labels specifies distinct ordered gate supports and disjoint-support layers on the complete register. Denotational semantics of a finite layered circuit proves that their chronological product is a unitary on that complete ordered register, including the empty-circuit identity.

Proof

1.1givenF1F3F4F5A1

Write ψx=UCn(∣x⟩⊗∣0a(n)⟩) and φ=POnψx. The input and zero-auxiliary vector has norm one by the computational-basis orthonormality in [F3]. By [A1] the circuit denotation is unitary, so it preserves norm. The permutation in [F4] bijects an orthonormal product basis; expanding in that basis and applying [F5] shows that it also preserves norm. Hence ∥φ∥2=1.

2.1step 1.1F2F5F6F13algebra

Expand φ=∑z,wcz,wez,w in the finite product basis, where cz,w=⟨φ,ez,w⟩root by [F5] and [F6]. Parseval gives ∑z,w∣cz,w∣2=1. Each pCn(z∣x)=∑w∣cz,w∣2 is nonnegative, and summing over z gives one. By [F13] these weights form a finite probability space on the output strings. Its acceptance event is {z:An(x,z)=1}, so its probability is pCn(x) and lies in [0,1].

3.1step 2.1F6F7F9F11algebra

Let ρ be the endomorphism with coordinate matrix vv†, where v=(cz,w)z,w. This matrix is Hermitian, and for every coordinate vector y, ⟨ρy,y⟩root=y†vv†y=∣v†y∣2≥0. Also tr⁡(ρ)=∑z,w∣cz,w∣2=1 by [F11] and step 2.1. Thus ρ is a density operator by [F7]. Put ρO=Tr⁡Wρ. Its entries are ∑wcz,wcz′,w‾ by [F9], so (ρO)z,z′=(ρO)z′,z‾. For any output-register vector u, the root pairing gives ⟨ρOu,u⟩root=∑w∣∑zcz,w‾uz∣2≥0; its trace is ∑z,w∣cz,w∣2=1. Therefore ρO is a density operator, including when On or Wn is empty.

4.1step 3.1F2F3F4F8F10F11F12algebra∎

For each output string z, let Pz be the coordinate projection that fixes the output basis vector ez and annihilates every ez′ with z′≠z. The product basis in [F3] and [F4] makes these nonnegative orthogonal projections with ∑zPz=I. They form the finite computational-basis POVM. By [F8], [F10], [F11], and [F12], its outcome weight is tr⁡(ρOPz)=tr⁡(ρ(Pz⊗IW))=∑w∣cz,w∣2=pCn(z∣x), where the middle equality is the diagonal trace in the product basis and [F2] gives the last equality. Summing over the accepting outputs identifies its event probability with pCn(x). If On is empty, its output set has the single empty string and Pz=IC; if Wn is empty, the sum over w has its single empty-string term. The same formulas cover both cases.

TheoremStatement: AI-adaptedProof: AI-generatedOpen item page →

Bounded-error repetition amplification is correct and uniform

Statement

Assume the input family, rational threshold functions, gap polynomial, and clocks satisfy the valid-input conditions of Bounded-error repetition amplification. Assume also that the base acceptance satisfies pCn(x)≥α(n) for every length-n YES input and pCn(x)≤β(n) for every length-n NO input, where 0≤β(n)<α(n)≤1 and α(n)−β(n)≥1/s(n). On every input in the YES promise set, the amplified acceptance probability is at least 1−δ(n); on every input in the NO promise set, it is at most δ(n). If g(Cn) and w(Cn) are the base gate count and total wire count, the repeated family has gate count r(n)g(Cn)+n(r(n)−1) and width r(n)w(Cn). Its depth, complete-description length, generator time, and classical predicate time and space are polynomial in n. Ordinary mode retains the exact original fixed gate library and full-list code. In oracle mode its ordinary gate count is r(n)gord(Cn)+n(r(n)−1), every port/variant count satisfies Nj,v(Cnrep)=r(n)Nj,v(Cn), and both raw query counts qj and charged query costs Qj are multiplied by r(n) with the same granted access. Raw query counts are polynomial; charged query costs are polynomial whenever the base charged costs are polynomial. For a base clean or dirty interface whose declared ancillary register is disjoint from the first n input wires, the input-copy stage acts only on data, and the corresponding exact contract is preserved with its declared register count multiplied by r(n); the extra input-copy wires remain in total width and are not counted as returned clean ancillas.

Facts & Assumptions

Given: An ordinary or oracle-aware finite promise computation in the corresponding mode of Bounded-error repetition amplification, with a fixed oracle instance in oracle mode, and acceptance probability pC(x) satisfying pC(x)≥α(n) on YES inputs and pC(x)≤β(n) on NO inputs, rational thresholds α(n),β(n), gap α(n)−β(n)≥1/s(n), target 0<δ(n)≤1/2, and the procedure in Bounded-error repetition amplification.

[F1]

Bounded-error repetition amplification: for δ=u/v, the procedure uses r=2s(n)2(ℓ(v)+1) repetitions, copies only classical-basis input bits, and accepts iff 2S≥r(α+β).

[F2]

Finite probability spaces, outcome weights, events, and event probabilities: probabilities on a finite space are nonnegative weights summing to one, and probabilities of events are finite sums of their outcome weights.

[F3]

Chernoff bound for independent bernoulli trials: for mutually independent Bernoulli variables with sum S and mean μ, P(∣S−μ∣≥t)≤2exp⁡(−2t2/r) for r>0 and t≥0.

[F4]

The partial-output acceptance law is a finite probability law: for a finite promise computation, each run's output weights form a finite probability law and its acceptance event has probability pC(x).

[F5]

Circuit-family and computation cost model: gate count, width, depth, description length, generator time, query count, and classical bit costs are separate coordinates.

[F6]

A full-list uniform generator bounds circuit size and width: in ordinary mode a polynomial-time full-list generator emits polynomial description length, gate count, and total wire count. In oracle mode Oracle-aware full-list quantum circuit family requires a polynomial-time complete output with unary width and explicit ordinary/query records, and distinguishes g, gord, Nj,v, qj, and Qj.

[F7]

Clifford+T gate library and exact matrices: on computational-basis inputs, CNOT maps ∣a,b⟩ to ∣a,b⊕a⟩ with the first wire as control.

[A1]

Finite circuit syntax and ordered wire labels uses distinct ordered gate wires and disjoint-support layers. Denotational semantics of a finite layered circuit embeds each local gate as its action on the named wires tensored with identity on the complement, and composes chronological layers with the later operator on the left. In oracle mode Oracle-aware full-list quantum circuit family supplies fixed unitary ports acting only on their listed wires, so their instantiated occurrences have these same semantics. Consequently gates confined to disjoint full blocks act factorwise on product-basis vectors; the terminal measurement probabilities used below are the finite coordinate sums in [F4].

Proof

1.1givenF1F4F7A1constructalgebra

Fix a promised input x. For each input bit xi∈{0,1}, the basis action of CNOT maps ∣xi⟩∣0⟩⊗(r−1) to ∣xi⟩⊗r; applying this independently to each position produces r exact copies of ∣x⟩. This uses only a computational-basis input and asserts no cloning of arbitrary superpositions. By [F7], CNOT has the required basis action. The r base circuits then act on disjoint full wire blocks, so by [A1] the prepared joint state is ψx⊗r, where ψx is the single-run output state. For any output strings z1,…,zr, its joint probability is ∑w1,…,wr∏i=1r∣⟨POψx,ezi,wi⟩root∣2=∏i=1rpC(zi∣x), by finite distributivity and [F4]. Hence the measured output strings are mutually independent with the single-run law, and Xi=1{An(x,zi)=1} are independent Bernoulli variables with common parameter p=pC(x).

1.2F1F5F6F7algebra

In ordinary mode [F6] bounds the base description length, operation count, and width polynomially. In oracle mode the same bounds follow directly from the explicit code: a machine started on n input cells and run for T(n) transitions can print at most n+T(n)+1 bits, each record occupies at least one bit, and the width is unary. The clocks and bit lengths of α,β,δ,s are polynomial, so r is polynomial. In either mode the repeated circuit uses exactly rg(Cn)+n(r−1) operations and rw(Cn) wires. Copying a record changes each wire index by a block offset with O(log⁡(rw(Cn)+2)) bits; the unary total-wire header has length rw(Cn), and the extra CNOT list has n(r−1) records. In oracle mode each original record's explicit list of wires is copied in full, its port/variant identifier is unchanged, and the entire descriptor table is copied once. Hence the complete repeated description has polynomial length and is produced in polynomial time by running the supplied machines, scanning and copying the base list, and adding offsets by binary arithmetic. These are polynomially many operations on polynomially many bits, implementable by repeated scans on the one-tape machine. A serial layering gives depth at most the total operation count.

2.1givenstep 1.1F1algebra

Put S=∑i=1rXi and μ=rp. The output predicate accepts exactly when S≥r(α+β)/2. If x is YES, then p≥α and μ−r(α+β)/2=r(p−α)+r(α−β)/2≥r/(2s). Thus a false rejection is contained in {∣S−μ∣≥r/(2s)}.

2.2givenstep 1.1F1algebra

If x is NO, then p≤β and r(α+β)/2−μ=r(α−β)/2+r(β−p)≥r/(2s). Thus a false acceptance is contained in the same two-sided deviation event {∣S−μ∣≥r/(2s)}.

2.3step 1.1step 1.2F1F4F5F6algebra

In oracle mode no added CNOT record is a query slot, while each original slot occurs exactly once per block. Therefore gord(Cnrep)=rgord(Cn)+n(r−1) and Nj,v(Cnrep)=rNj,v(Cn). Summing over variants gives qj(Cnrep)=rqj(Cn); multiplying each variant count by its unchanged declared charge and summing gives Qj(Cnrep)=rQj(Cn). Raw call counts are at most the total operation count; large binary-encoded charges do not justify an unconditional polynomial charged-cost bound. The construction uses no new inverse or controlled access. The same instantiated unitary ports act independently on the disjoint blocks, so the factorization in step 1.1 remains valid, and [F4] applies to each instantiated finite unitary circuit. Ordinary mode contains no oracle slots and remains a circuit over exactly the original library.

3.1step 2.1step 2.2F1F2F3algebra

Finite event probabilities are sums of nonnegative weights by [F2], so containment makes the probability of either error event in step 2.1 and step 2.2 at most that of the deviation event. Apply [F3] with t=r/(2s); its probability is at most 2exp⁡(−r/(2s2)). Since δ=u/v with u≥1, δ≥1/v and v≥2. Therefore ln⁡(2/δ)≤ln⁡(2v)=ln⁡2+ln⁡v<1+ℓ(v), because ln⁡2<1 and ln⁡v=(ln⁡2)log⁡2v<log⁡2v<ℓ(v). Substituting r=2s2(ℓ(v)+1) gives 2exp⁡(−r/(2s2))<2exp⁡(−ln⁡(2/δ))=δ. This proves both promised error bounds without evaluating an irrational logarithm.

4.1step 1.2step 2.3F1F5algebra∎

For the declared interfaces covered by the Statement, the input-copy CNOTs act only on the repeated data registers. On the declared ancillary registers the copy unitary is the identity; composing it with the r blockwise exact contracts therefore preserves the clean or dirty return condition, with data target equal to the product of the base targets composed after that copy unitary. Their declared counts are multiplied by r; the n(r−1) additional zero-start input-copy wires remain included in total width, with no claim that they return clean. The output predicate runs An on each of the r strings, counts successes, computes the rational threshold by exact integer additions and multiplications, and compares the two integers. These operations use polynomial time and space in the polynomially many input bits. Together with step 1.2 and step 2.3, this proves the claimed separate resource bounds and exact query scaling.

TheoremStatement: AI-adaptedProof: AI-generatedOpen item page →

BQP is unchanged by polynomially small bounded error

Statement

Let q:N→N be computable in deterministic polynomial time and polynomially bounded, with q(n)≥2 for all sufficiently large n. For every promise problem, the following are equivalent in the QC14 full-list model:

  1. it has a uniformly generated family and polynomial-time acceptance predicate with acceptance at least 2/3 on YES and at most 1/3 on NO;
  2. it has a uniformly generated family and polynomial-time acceptance predicate with acceptance at least 1−2−q(n) on YES and at most 2−q(n) on NO.

More generally, suppose a uniformly generated family with a polynomial-time acceptance predicate satisfies pCn(x)≥α(n) on length-n YES inputs and pCn(x)≤β(n) on length-n NO inputs, where α(n),β(n) are polynomial-time computable rationals and there is a positive integer-valued polynomial s(n) such that 0≤β(n)<α(n)≤1 and α(n)−β(n)≥1/s(n) for all sufficiently large n. It can be modified to achieve the same exponentially small target error 2−q(n). This result does not assert the gap-only implication BQP(α,β)=BQP for arbitrary endpoint thresholds.

Facts & Assumptions

Given: A promise problem, the QC14 BQP definition, the amplification-correctness theorem, and a polynomial-time computable polynomially bounded q with the stated eventual lower bound.

[F1]

BQP for promise problems in the fixed QC14 model: BQP in this model requires acceptance at least 2/3 on YES and at most 1/3 on NO, with no off-promise condition.

[F2]

Bounded-error repetition amplification is correct and uniform: for a base family satisfying its YES/NO rational thresholds in [0,1], with inverse-polynomial gap and valid rational 0<δ≤1/2, repetition gives errors at most δ with polynomial full-list resources.

Proof

1.1givenF1F2algebra

If the promise problem is in BQP, take α=2/3, β=1/3, and s=3. Use the all-length rational target δ^(n)=2−q(n) when q(n)≥2 and δ^(n)=1/4 otherwise, and apply [F2]. Retain the amplified circuit and predicate where q(n)≥2, and retain the original circuit and predicate at the remaining lengths; this polynomial-time length test preserves full-list uniformity. The rational values have polynomial bit length because q is polynomially bounded, and the gap is 1/3, so this gives the second family at those lengths. At any length with q(n)=0, the target bounds are p≥0 on YES and p≤1 on NO; with q(n)=1, they are p≥1/2 and p≤1/2. The original 2/3,1/3 bounds imply each of these finite exceptional cases.

1.2givenF1algebra

Conversely, choose N such that q(n)≥2 for all n≥N. At those lengths, 1−2−q(n)≥3/4≥2/3 and 2−q(n)≤1/4≤1/3, so the high-confidence family meets the BQP bounds. There are finitely many binary strings of length less than N. Change the total classical predicate on this finite set to accept each member of Y and reject each member of N, while leaving it unchanged off the promise and on longer strings. The finite table is a fixed finite description and adds only constant time and space. The circuit generator is unchanged, so the modified family remains full-list uniform and satisfies [F1] on every promised input.

2.1step 1.2F2algebra∎

For the more general thresholds, choose a fixed N beyond both the finitely many gap exceptions and the lengths with q(n)<2. To satisfy the all-length input conditions of [F2], define polynomial-time rational functions α^,β^ to equal 2/3,1/3 below N and α,β at and above N; set s^(n)=s(n)+3; and define δ^(n)=1/4 below N and 2−q(n) at and above N. These functions meet the endpoint, positive-gap and 0<δ^≤1/2 conditions at every length. Before amplification, change the base predicate below N to accept exactly the YES members of the finite set of short inputs and reject its NO members, independently of the measured string; leave it unchanged at longer lengths. This is legal because the predicate API is An(x,z) and explicitly receives x. The fixed finite table gives base probabilities 1 on short YES inputs and 0 on short NO inputs, so the corrected base family meets α^,β^ at every length. Apply [F2] to this corrected base family with these functions. For n≥N the resulting circuits have the desired error and ℓ(2q(n))=q(n)+1, so r(n)=2(s(n)+3)2(q(n)+2) is polynomial. At the finitely many lengths below N, replace the amplified predicate by a finite table that answers each promised input exactly; this table is a fixed constant-size addition to a polynomial-time predicate. The resulting family is full-list uniform and meets the target on every promised input. The finite table is an existence argument for this fixed promise problem; no algorithm for recovering its short YES membership from an arbitrary family description is asserted.

Source qualification

Watrous, Proposition 3, as printed in Section IV.2 (PDF p. 13), states the broader equality BQP(a,b)=BQP from an inverse-polynomial gap alone. The proof here uses only amplification for the standard BQP thresholds and a finite-table treatment of exceptional lengths. It does not use that printed gap-only equality for arbitrary a,b.

5 · Examples, counterexamples and false statements

None yet.

Sources