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
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Bounded Linear Operators and Quotient Spaces
- Circuit Syntax, Denotational Semantics, and Measurement
- Clifford+T Exact and Approximate Synthesis
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Norms and Realification
- Complexification, Realification and Real Structures
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Continuous-Gate Universality and Exact Synthesis
- Controlled Gates, Phase, and Entanglement
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Determinants of Matrices over a Commutative Ring
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Effective Numberings, Reductions, Resources, and Randomness
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Dimensional Normed Spaces and Riesz Lemma
- Finite Probability Spaces and Random Variables
- Finite-Dimensional Complex Inner-Product Spaces and Matrix Interfaces
- Formal Languages, Encodings, and Decision Problems
- Foundations of the Real Numbers for Analysis
- Free Modules, Exact Sequences, Projective and Injective Modules
- Fundamental Trigonometric Identities
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Hilbert Space Geometry and Riesz Representation
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Recurrences and Rational Generating Functions
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurable Functions and Simple Approximation
- Measurements, POVMs, and Instruments
- Measures and Their Basic Properties
- Metric Spaces
- Modules, Submodules, Quotient Modules and the Isomorphism Theorems
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Normed and Banach Spaces
- Order, Zorn's Lemma, and the Axiom of Choice
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Pure and Mixed States, Ensembles, and Schmidt Decomposition
- Qubits, Bloch Sphere, Pauli Algebra, and One-Qubit Gates
- Registers, Tensor Products, and Partial Trace
- Relations, Functions, and Quotients
- Resource Bounds and Machine Invariance
- Reversible Computation, Ancillas, and Coherent Oracles
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Strongly Continuous Semigroups and Hille Yosida
- Suprema and Infima
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- Tensor Products of Modules
- The Complex Exponential and Euler's Formula
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Exponential Function
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Polynomial Hierarchy and Relativization
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Turing Machines, Configurations, and Computation
- Vector Spaces, Linear Subspaces, Span and Direct Sums
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 with entries in , acceptance at least on YES and at most 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
Finite quantum promise-computation model
Definition
Let be a promise problem: are disjoint, and no answer is required outside (Promise problem). For every input length , let be the number of auxiliary qubits. The input wires are ordered with the first wire most significant: for , is the computational-basis vector indexed by (Finite registers and their ordered computational bases, Big-endian encoding of ordered bit strings). The auxiliary register has wires and is initialized to . When or , the corresponding zero-qubit register is the one-dimensional space , not the zero vector space.
For each , a finite circuit acts on the ordered register of wires and has the unitary denotation 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 , whose indices lie in . It consists of this tuple and a total predicate for and . 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 with these registers and predicates. Its output is classical: measure only the named output wires in the computational basis and accept exactly when . 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, is supplied by one fixed deterministic Turing machine with an explicit polynomial worst-case time bound in the encoded pair (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.
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 , let be the number of bits in that complete description, its number of gate occurrences, and its total number of wires.
Each clean or dirty ancilla coordinate additionally requires a declared ordered partition of the circuit wires into data register and ancilla register , and a declared target unitary on . 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 , and for such a supplied dirty contract set ; 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 (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 to be the least number of layers in such a layering; if has no gates, set . If layers are written in chronological order, the denotation is , as in Denotational semantics of a finite layered circuit.
For a family with a specified full-list generator , let be the worst-case number of Turing-machine transitions used by on unary input . For a total acceptance predicate , let and be its worst-case deterministic transition count and tape-space use over all valid length- inputs and measured outputs, using a fixed effective encoding of the pair . Any effective input description, classical preprocessing, or threshold computation has its own bit length and time/space bounds; these costs are not included in or 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 , let 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 , 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 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 above may also be denoted . It differs from the declared depth 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 . The inequality can be strict: two gates on disjoint wire sets written in two successive layers have declared depth and minimum-layer depth . Empty written layers also contribute to declared depth, while a gate-free word has minimum-layer depth . These are separate resource quantities; a cost statement must specify which one it bounds.
Full-list uniform quantum circuit family
Definition
A full-list uniform quantum circuit family is a sequence together with one fixed deterministic one-tape Turing machine and constants and such that, on input the unary word , halts within transitions and its final tape is a valid self-delimiting binary description of the entire circuit . 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 is written , including the one-symbol code for . A self-delimiting binary natural is written , where is its ordinary binary numeral with no leading zeros and . The header gives the input-wire count and total wire count in unary, followed by the gate count as a self-delimiting natural; validity requires .
Each gate record consists of a two-bit label ( for respectively), followed by one self-delimiting wire index for and two ordered self-delimiting indices for CNOT. Every index is less than ; CNOT indices are distinct, with the first the control and the second the target. The list contains exactly records. After the gate list, an output-count self-delimiting natural is followed by that many ordered, pairwise distinct wire indices, each less than . 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 of Clifford+T gate library and exact matrices, with entries in ; CNOT is control-first. The remaining 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).
Quantum acceptance probability for a finite promise computation
Definition
Fix a length- finite promise computation from Finite quantum promise-computation model, with input , zero-initialized auxiliary register , circuit unitary , and ordered output-wire tuple . Let be the tensor-factor permutation that moves , in its declared order, to the front, and let be the ordered tuple of all remaining wires (Ordered tensor registers, their inner product, and wire permutations). Set Here coordinates are in the ordered computational basis. In this definition, 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 and , write for the corresponding product-basis vector and define The acceptance probability is Equivalently, if is the diagonal projection onto the basis vectors with , then ; the matrix adjoint is conjugate transpose in an orthonormal basis (The adjoint is characterised by , 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.
Acceptance is invariant under an unconditional global phase
Statement
For a finite promise computation, replacing its entire unconditional circuit unitary by , where and , leaves every output probability and hence 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 with , and the control-first tensor order.
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.
Clifford+T gate library and exact matrices: , , and in the fixed finite gate library.
Finite registers and their ordered computational bases and The computational basis is orthonormal: are the orthonormal basis of the one-qubit register, and the two-qubit input is a unit vector.
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.
Promise problem: a promise problem is a pair of disjoint subsets of , with no answer condition off their union.
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
Let . Replacing the entire unconditional unitary by replaces by . Since the root pairing is linear in its first argument, every coordinate is multiplied by . Its squared modulus is unchanged because .
On a control-first pair of qubits, define . For target and phase , while . By [F2], this second matrix is implemented by applying four times to the control wire. On input , apply to the control, then respectively or , then to the control again. The first gate list maps to because ; the second maps it to because direct matrix multiplication gives and . Each list uses only the fixed finite gates and the second is an explicit circuit realizing the target phase inside the control block.
The finite sums over and then over the accepting strings are therefore unchanged term by term. Thus both and are unchanged under an unconditional global phase.
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 and , and let the total predicate accept exactly when , , and the measured control bit is . Designate wire as the length-two output. The two families differ only by whether the target block is or . By [F1], the first has acceptance probability and the second has acceptance probability , since their length-two outputs are the distinct basis vectors and . 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.
BQP for promise problems in the fixed QC14 model
Definition
A promise problem belongs to BQP in the QC14 model when there exist a full-list uniform family and a polynomial-time acceptance predicate as in Full-list uniform quantum circuit family and Quantum acceptance probability for a finite promise computation such that, for every , and for every , By The partial-output acceptance law is a finite probability law, is the probability of the specified acceptance event and lies in . No condition is imposed for (Promise problem). The gate alphabet is exactly ; its matrix entries lie in 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.
A full-list uniform generator bounds circuit size and width
Statement
If the generator in Full-list uniform quantum circuit family halts on input within transitions, then the generated description has length at most . Consequently its number of gates and total number of wires are polynomial in . 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 in at most transitions on input .
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.
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.
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
Initially the input occupies cells. In transitions the head visits at most 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 . The description is self-delimiting by [F1], so the number of its symbols is bounded by this polynomial quantity.
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 , both quantities are and hence polynomial in . The argument makes no claim that an indexed-gate generator can be converted to a full list.
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 , with the same machine, clock, and final-tape conventions as Full-list uniform quantum circuit family. The access specification gives, at each length , finitely many named ports , each a unitary on a positive number 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 , 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 ; an ungranted variant cannot occur. Forward and inverse have arity ; controlled variants have arity , with the first wire the control and the remaining ordered wires the target. Their mathematical actions are respectively , , and the corresponding controlled unitary (identity on control , the indicated unitary on control ). 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 in unary with , then the total number 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 operation records. A three-bit label denotes respectively ordinary and is followed by the same ordered wire-index fields as in the original format. Label 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 , 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, counts all operation occurrences. Write for the number of ordinary records and for the number of slots for port , variant . Thus . Record the raw call count and, separately, the declared charged query cost . A polynomial bound on the binary description length does not imply a polynomial bound on 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.
Bounded-error repetition amplification
Definition
Inputs. In ordinary mode, a full-list uniform family generator 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 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 with explicit polynomial clock bounds; and a fixed positive integer-valued polynomial 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 , 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 ; the procedure does not decide that global validity property for arbitrary machine descriptions.
Instructions at length .
- Run the supplied machines within their polynomial clocks to obtain the full description of , , , and with positive integers . In oracle mode, also compare the printed port descriptors with the supplied access specification at length ; on any mismatch return INVALID. Evaluate 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.
- Let be the number of binary digits of and set This is a positive integer. No logarithm or irrational ceiling is evaluated.
- Allocate disjoint copies of the entire wire register in block order, with block first. Put the classical-basis input on the first block's first wires; initialize every other wire to zero. For in increasing order, and then in increasing order, append a CNOT from wire of block to wire of block , with the first wire as control. These operations map to and do not clone arbitrary superpositions. Then, for blocks in order, append the records of in their supplied chronological order, shifting each wire index by . 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 input wires first in the output wire order and encode input count ; 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 wires and operation occurrences; in oracle mode its ordinary count is .
- Concatenate the copies of the declared output tuple in copy order and measure that tuple at the final readout. For measured strings , compute . The single total output predicate returns YES exactly when , evaluated exactly: if and with positive denominators, compare with . 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 times: , raw call counts , and charged query costs all scale by , 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.
The partial-output acceptance law is a finite probability law
Statement
For every finite promise computation, every length , and every classical input , the output weights from Quantum acceptance probability for a finite promise computation are nonnegative and sum to one over . The acceptance probability is the probability of the event , lies in , and agrees with the finite computational-basis POVM outcome law on the named output register.
Facts & Assumptions
Given: A length- finite promise computation, an input , its unitary circuit denotation, and its ordered tuple of distinct output wires.
Finite quantum promise-computation model: the input is the ordered computational-basis vector with zero-initialized auxiliary wires; only the named output wires are measured, and the total predicate determines acceptance.
Quantum acceptance probability for a finite promise computation: after moving the named wires to the front, is the finite sum of over every unmeasured string .
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 with basis .
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.
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.
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.
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 .
Finite POVMs and their outcome law: for a finite POVM and a density operator , the outcome weight is .
Partial trace over a finite tensor factor: in ordered product bases, .
The partial trace is characterized by the trace pairing and is basis-independent: for every output-register endomorphism .
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.
Rectangular matrix multiplication and the identity matrix , including zero-sized shapes: matrix multiplication is the finite row-by-column sum.
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.
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
Write and . 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 .
Expand in the finite product basis, where by [F5] and [F6]. Parseval gives . Each is nonnegative, and summing over gives one. By [F13] these weights form a finite probability space on the output strings. Its acceptance event is , so its probability is and lies in .
Let be the endomorphism with coordinate matrix , where . This matrix is Hermitian, and for every coordinate vector , . Also by [F11] and step 2.1. Thus is a density operator by [F7]. Put . Its entries are by [F9], so . For any output-register vector , the root pairing gives ; its trace is . Therefore is a density operator, including when or is empty.
For each output string , let be the coordinate projection that fixes the output basis vector and annihilates every with . The product basis in [F3] and [F4] makes these nonnegative orthogonal projections with . They form the finite computational-basis POVM. By [F8], [F10], [F11], and [F12], its outcome weight is 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 . If is empty, its output set has the single empty string and ; if is empty, the sum over has its single empty-string term. The same formulas cover both cases.
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 for every length- YES input and for every length- NO input, where and . On every input in the YES promise set, the amplified acceptance probability is at least ; on every input in the NO promise set, it is at most . If and are the base gate count and total wire count, the repeated family has gate count and width . Its depth, complete-description length, generator time, and classical predicate time and space are polynomial in . Ordinary mode retains the exact original fixed gate library and full-list code. In oracle mode its ordinary gate count is , every port/variant count satisfies , and both raw query counts and charged query costs are multiplied by 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 input wires, the input-copy stage acts only on data, and the corresponding exact contract is preserved with its declared register count multiplied by ; 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 satisfying on YES inputs and on NO inputs, rational thresholds , gap , target , and the procedure in Bounded-error repetition amplification.
Bounded-error repetition amplification: for , the procedure uses repetitions, copies only classical-basis input bits, and accepts iff .
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.
Chernoff bound for independent bernoulli trials: for mutually independent Bernoulli variables with sum and mean , for and .
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 .
Circuit-family and computation cost model: gate count, width, depth, description length, generator time, query count, and classical bit costs are separate coordinates.
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 , , , , and .
Clifford+T gate library and exact matrices: on computational-basis inputs, CNOT maps to with the first wire as control.
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
Fix a promised input . For each input bit , the basis action of CNOT maps to ; applying this independently to each position produces exact copies of . This uses only a computational-basis input and asserts no cloning of arbitrary superpositions. By [F7], CNOT has the required basis action. The base circuits then act on disjoint full wire blocks, so by [A1] the prepared joint state is , where is the single-run output state. For any output strings , its joint probability is by finite distributivity and [F4]. Hence the measured output strings are mutually independent with the single-run law, and are independent Bernoulli variables with common parameter .
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 input cells and run for transitions can print at most bits, each record occupies at least one bit, and the width is unary. The clocks and bit lengths of are polynomial, so is polynomial. In either mode the repeated circuit uses exactly operations and wires. Copying a record changes each wire index by a block offset with bits; the unary total-wire header has length , and the extra CNOT list has 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.
Put and . The output predicate accepts exactly when . If is YES, then and Thus a false rejection is contained in .
If is NO, then and Thus a false acceptance is contained in the same two-sided deviation event .
In oracle mode no added CNOT record is a query slot, while each original slot occurs exactly once per block. Therefore and . Summing over variants gives ; multiplying each variant count by its unchanged declared charge and summing gives . 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.
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 ; its probability is at most . Since with , and . Therefore because and . Substituting gives . This proves both promised error bounds without evaluating an irrational logarithm.
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 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 ; the additional zero-start input-copy wires remain included in total width, with no claim that they return clean. The output predicate runs on each of the 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.
BQP is unchanged by polynomially small bounded error
Statement
Let be computable in deterministic polynomial time and polynomially bounded, with for all sufficiently large . For every promise problem, the following are equivalent in the QC14 full-list model:
- it has a uniformly generated family and polynomial-time acceptance predicate with acceptance at least on YES and at most on NO;
- it has a uniformly generated family and polynomial-time acceptance predicate with acceptance at least on YES and at most on NO.
More generally, suppose a uniformly generated family with a polynomial-time acceptance predicate satisfies on length- YES inputs and on length- NO inputs, where are polynomial-time computable rationals and there is a positive integer-valued polynomial such that and for all sufficiently large . It can be modified to achieve the same exponentially small target error . This result does not assert the gap-only implication 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 with the stated eventual lower bound.
BQP for promise problems in the fixed QC14 model: BQP in this model requires acceptance at least on YES and at most on NO, with no off-promise condition.
Bounded-error repetition amplification is correct and uniform: for a base family satisfying its YES/NO rational thresholds in , with inverse-polynomial gap and valid rational , repetition gives errors at most with polynomial full-list resources.
Proof
If the promise problem is in BQP, take , , and . Use the all-length rational target when and otherwise, and apply [F2]. Retain the amplified circuit and predicate where , 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 is polynomially bounded, and the gap is , so this gives the second family at those lengths. At any length with , the target bounds are on YES and on NO; with , they are and . The original bounds imply each of these finite exceptional cases.
Conversely, choose such that for all . At those lengths, and , so the high-confidence family meets the BQP bounds. There are finitely many binary strings of length less than . Change the total classical predicate on this finite set to accept each member of and reject each member of , 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.
For the more general thresholds, choose a fixed beyond both the finitely many gap exceptions and the lengths with . To satisfy the all-length input conditions of [F2], define polynomial-time rational functions to equal below and at and above ; set ; and define below and at and above . These functions meet the endpoint, positive-gap and conditions at every length. Before amplification, change the base predicate below 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 and explicitly receives . The fixed finite table gives base probabilities on short YES inputs and on short NO inputs, so the corrected base family meets at every length. Apply [F2] to this corrected base family with these functions. For the resulting circuits have the desired error and , so is polynomial. At the finitely many lengths below , 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 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 .
5 · Examples, counterexamples and false statements
None yet.
Sources
- John Watrous, Quantum Computational Complexity, Sections IV.1–IV.2
- Ronald de Wolf, Quantum Computing: Lecture Notes, Chapter 13, Section 13.2
- John Watrous, Quantum Computational Complexity, Sections III.2 and IV.1
- John Watrous, Quantum Computational Complexity, Section IV.1
- Ronald de Wolf, Quantum Computing: Lecture Notes, Chapters 2 and 13
- John Watrous, Quantum Computational Complexity, Section IV.2
- Ronald de Wolf, Quantum Computing: Lecture Notes, Chapter 13, Section 13.2 and Appendix B.2