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.
Quantum Query Lower Bounds and Search Optimality
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Binary Operations, Monoids, Groups and Subgroups
- Boolean Circuits and Nonuniform Complexity
- Bounded Linear Operators and Quotient Spaces
- Channels, Kraus, Choi, and Stinespring Representations
- 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
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Computational Problems, Promises, and Cost Models
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- 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
- Cyclic Groups and Direct Products
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Effective Numberings, Reductions, Resources, and Randomness
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- 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
- Further Trigonometric Identities and Inverse Functions
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Grover Search and Invariant-Plane Rotations
- Hilbert Space Geometry and Riesz Representation
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- 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
- Measurements, POVMs, and Instruments
- 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
- Polynomial Rings, the Division Algorithm and Roots
- Power and sample size
- Power Series and Real-Analytic Functions
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- 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 Arithmetic and Oracle Conversion
- 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
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Splitting Fields
- Strongly Continuous Semigroups and Hille Yosida
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- 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 Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Galois Correspondence
- 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
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Trigonometric and Oscillatory Examples in One Variable
- Turing Machines, Configurations, and Computation
- Uniform Circuit Families, Promise Problems, and Complexity
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
This page fixes the standard XOR bit-query model, the empty-versus-singleton promise, and the query-address projectors. It proves the BBBV lower bound directly for this bit oracle: a one-query perturbation estimate, a telescoping hybrid bound, a complete address-probability budget, and a bounded-error acceptance gap yield an explicit square-root lower bound. A finding algorithm is reduced to decision by one charged verification query.
The matching upper bound uses a fixed-one Grover schedule even though the promise allows zero marked items. For non-dyadic domains, a reversible validity test and zero-completed oracle simulate a padded power-of-two query using one raw query. Every measured candidate is verified, so the empty input never produces a false positive. The page separates oracle queries from comparator, recurrence, gate, and state-preparation costs and makes no end-to-end polynomial-time claim.
Sources
- Charles H. Bennett, Ethan Bernstein, Gilles Brassard, and Umesh Vazirani, Strengths and Weaknesses of Quantum Computing, §3.1, Theorem 3.3 and Corollary 3.4. Full text. The local proof specializes the query-magnitude argument to empty-versus-singleton search; it does not substitute the paper's random-oracle Theorem 3.5.
- Andrew M. Childs, Lecture Notes on Quantum Algorithms, Chapter 23, §§23.2–23.3. Full lecture notes. The adversary derivation and unstructured-search example independently support the query-address and square-root lower-bound context.
- Ronald de Wolf, Quantum Computing: Lecture Notes, §§7.2 and 11.1–11.3. Full lecture notes. The Grover rotation and query model are cross-checked against the local exact arguments.
- Gilles Brassard, Peter Høyer, Michele Mosca, and Alain Tapp, Quantum Amplitude Amplification and Estimation, §2.1, Theorem 2. Full text. The exact integer schedule is supported by the local recurrence and rounding suppliers.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Coherent normal form for finite quantum query algorithms
Statement
For every and , let the address register have ordered basis , let the response register be one qubit, and let the standard Boolean XOR query act by Fix an integer , a finite register space, and a finite-branch quantum query algorithm whose every execution branch makes at most calls to this oracle. There is a finite pure-state unitary circuit, with input-independent unitaries between exactly ordinary oracle calls and a final output measurement, that has the same output distribution. The construction adds only finite ancillas and nonoracle gates; it does not require controlled access to the oracle and makes no claim that the transformed family is uniformly generated or has bounded gate cost.
Facts & Assumptions
Given: A finite-branch quantum query algorithm on a nonzero finite register, with finite outcome sets, input-independent nonoracle operations, and at most standard Boolean XOR queries on every branch.
Quantum query algorithm: the algorithm has a finite execution tree of unitary and instrument nodes, and every branch uses at most designated oracle calls.
Normalized output law for finite quantum query branches: an instrument branch has its specified outcome weight and conditional state; the output law is the finite sum over terminal histories.
Finite instruments and conditional states: each finite instrument consists of completely positive outcome maps whose traces sum to the input trace.
Kraus and Choi characterizations of complete positivity: every finite-dimensional completely positive map has a finite Kraus representation.
Finite Kraus representation: a finite Kraus family represents by for every operator .
Trace preservation is Kraus normalization: a trace-preserving map with finite Kraus operators satisfies .
The oracle action in the Statement is an involution on the finite product basis, hence a unitary; it preserves each address and acts on the response there as either or . Both actions fix . When , this is the standard bit query of Standard bit-flip query convention under the big-endian address encoding.
Finite registers and their ordered computational bases and The computational basis is orthonormal: the declared finite register has its ordered orthonormal computational basis.
Every finite-dimensional real or complex inner product space has an orthonormal basis: every finite-dimensional inner-product space has an orthonormal basis.
Exact one-qubit gates and rotations: the Hadamard gate sends to .
Toffoli and Fredkin gates: a Fredkin gate swaps its two target wires exactly when its control wire is .
Proof
At an instrument node with outcome maps , choose a finite Kraus family for each by [F3]–[F4]. The formula in [F5] shows that their union is a Kraus family for the total map . The trace identity in [F3] makes trace-preserving, so [F6] gives .
Label every node of the finite execution tree by the number of oracle calls already made on its path. For each , order the finitely many nonoracle nodes in that query-count slice by tree depth, execute each node on histories with its observed-outcome prefix, and use the identity on histories already at their next query or terminal node. This places every next query at one common slot while preserving each branch's transitions; histories that have terminated are inactive in this and every later slot. The retained outcome history identifies the branches that still make a query. On every inactive branch, conditionally swap the caller's entire -level address register with a fresh register of the same dimension initialized to , and swap the caller's response qubit with a fresh qubit initialized to , prepared using from [F11]. The address-register swap is the finite basis permutation exchanging the two ordered register factors; controlling it on the retained history gives a finite input-independent unitary. After the ordinary oracle call, reverse both conditional swaps. On an inactive branch the oracle acts on as either or on the response, both of which fix ; the caller's address and response, including any entanglement with work, are restored. Active branches are unchanged, so this pads the slot without controlled oracle access.
Add a finite label register with orthonormal basis and use the same factor order throughout, defining by . Orthonormality [F9], the adjoint identity [F7], and step 1.1 give ; hence is an isometry. For any density operator , projecting the label onto the outcome subspace spanned by and discarding the label leaves ; orthogonality removes all unequal-label cross terms. By [F5] this is exactly .
In the common codomain , let be the clean-ancilla embedding. The images under and of one orthonormal basis of are orthonormal lists of the same finite length in this same finite-dimensional space. Choose a finite spanning basis by [F10]; process it in order, subtracting its projections onto the current list and appending the normalized nonzero remainder. This finite Gram–Schmidt procedure completes each list to an orthonormal basis. Mapping the first completed basis to the second defines a unitary with , so the instrument node is realized by an ordinary unitary and retained outcome/Kraus labels.
Keep each observed outcome in an orthogonal record register; hidden Kraus labels remain orthogonal environment labels and are not used by later controls. Induct over the finite execution tree, comparing the unnormalized system density for each observed history after tracing out its hidden labels. A unitary node applies the same branch unitary on every hidden-label subspace, and an instrument node has child reduced density by step 2.1, so each history's unnormalized system density agrees with the original instrument computation. At terminal histories, measuring the declared output and ignoring the orthogonal records therefore gives exactly the output law in [F2].
Insert one such ordinary call in each of the slots, using input-independent history controls for active and padded branches. Steps 1.1–4.1 preserve every output probability, and step 1.2 pads only branches with fewer than calls. Thus the resulting pure-state circuit has exactly ordinary XOR calls and the original output distribution.
Boolean oracle query model for search lower bounds
Definition
Let , let the input be a bit string , and let the address register have ordered orthonormal basis in the finite-dimensional register of Finite registers and their ordered computational bases. A standard Boolean query acts on address, response bit, and work register by The response register is one qubit and the work register is any declared finite tensor product. For , this is the standard bit query of Standard bit-flip query convention under the big-endian address encoding; for general , it is the same XOR basis action on the -level address register.
A -query algorithm is a finite circuit whose only input-dependent operations are at most invocations of on every execution branch. By Coherent normal form for finite quantum query algorithms, it may be analyzed as a pure initial unit vector, input-independent unitaries between exactly ordinary queries, and one final measurement. The query coordinate counts these oracle invocations under Quantum query complexity; response preparation, verification queries, gates, and classical work are stated separately. No controlled access to follows from an ordinary query.
For a decision task, bounded error means the correct answer has probability at least on every promised input, as in Worst-case bounded-error correctness. For a finding task, the same threshold applies to producing a valid witness on each promised input. The normal-form construction is finite for each input length; this definition makes no claim about its additional gate cost or preservation of a particular uniform generator.
Facts & Assumptions
Given: , a Boolean string , the ordered address basis, one response bit, and finite work registers.
Finite registers and their ordered computational bases: the -level address register has ordered basis , and the response register has basis .
The computational basis is orthonormal: these declared computational bases are orthonormal bases.
Standard bit-flip query convention: the standard Boolean function oracle preserves its address and XORs the function value into its response register.
The product basis is orthonormal and tensor dimensions multiply: the product of the declared address, response, and work bases is an orthonormal basis.
Proof
Applying the displayed twice to a basis vector gives . Thus it is an involution on the declared product basis.
By [F1], [F2], and [F4], the input and response basis vectors, tensored with any work basis, form a finite orthonormal basis. Step 1.1 shows that permutes this basis, so its linear extension is unitary. For it is the standard query in [F3] with the address labeling fixed in the Definition; for general it is the same XOR permutation on the -level address basis.
Reversible zero-completion of an N-address bit query
Definition
Input: An integer , a power of two with , a padded address register with basis for , a response bit, and the raw XOR oracle whose address input is the -level register with basis for . If , identify with the raw address register. If , supply a separate clean -level raw-address register initialized to , together with clean comparator and routing workspace.
Output: The zero-completed query action on and the response bit, where for and for , with every added register restored to its specified computational-basis zero state.
Instructions:
- If , call directly on and the response bit, then return. If , continue with Steps 2--5.
- Compute the validity bit into a clean bit by a reversible binary comparison. For most-significant-first address bits and the fixed binary digits , initialize and update Implement this Boolean comparison into the validity bit with Reversible embedding of a Boolean circuit, leaving its comparison workspace clean. The raw query address is an -level register, not an -bit target. Route it as follows. For each , apply the basis transposition to conditioned on and ; apply no transposition for other control values. These mutually disjoint controlled permutations define a finite input-independent unitary , with where if and , and otherwise. In particular, on the computed validity bit it writes for valid padded addresses and for invalid ones. The operation is a finite basis permutation; its inverse is itself.
- Allocate a fresh clean response bit in and apply to prepare . Controlled on , swap the caller's response bit with using Fredkin gates.
- Make one ordinary call to on the -level raw-address register and response .
- Reverse the response swap, then apply to to return it to . Apply to clear , and reverse the reversible comparison to restore and all comparison workspace to zero. Return the caller's padded address and response registers.
The address comparison, the finite basis-permutation routing operation, response preparation, controlled swaps, and cleanup are nonoracle operations and must be charged in a gate-cost coordinate. The procedure uses no controlled-oracle capability. For , and the direct-call branch applies.
Query-register projectors and mismatch indicators
Definition
For the address register of Boolean oracle query model for search lower bounds, let be the orthogonal projection onto address , tensored with the identity on the response and work registers, for . For any finite input domain , define the mismatch matrix by when and otherwise, for . This model has no separate skip-query address; if an implementation adjoins one, its basis projection is included as an additional orthogonal summand.
Facts & Assumptions
Given: , the finite address register with ordered computational basis, and the response/work tensor factors.
Boolean oracle query model for search lower bounds: the address basis is indexed by and is orthonormal.
The computational basis is orthonormal: the declared register basis is an orthonormal basis.
Dirac Notation Conversion: is the rank-one map in the root inner-product convention.
Verification
For each address , is self-adjoint and idempotent by [F1]–[F3], so it is an orthogonal projection. If , orthogonality gives .
The address vectors form a complete basis by [F1]–[F2], hence and therefore on address, response, and work registers. If a no-query basis state is adjoined, the same basis expansion includes its projection and the search-address sum is then at most .
All-zero versus exactly-one-marked search promise
Definition
For every integer , use the identity encoding of Input encoding and size for algorithmic tasks and let , where is the all-zero string and has a exactly in coordinate . This is a promise decision task in the sense of QA task and promise domain: its yes set is , its no set is , and its output is .
For the associated search task, set and let be the length- binary expansion of , most significant bit first and padded with leading zeros. Its promise domain is and its witness relation is The output labels none and mean these encoded strings for and , respectively. The marked query address corresponding to is in Boolean oracle query model for search lower bounds. Verifying a measured candidate costs a separate query. No correctness condition is imposed outside .
Acceptance-gap lower bound on final-state distance
Statement
If a common final two-outcome measurement accepts one unit state with probability at least and another with probability at most , then the distance between their state vectors is at least .
Facts & Assumptions
Given: Unit vectors in the same finite-dimensional register and one common final acceptance measurement.
A common two-outcome POVM has an acceptance effect with and acceptance weight on a unit state (Finite POVMs and their outcome law, Finite positive effect family).
A non-negative operator is equivalently self-adjoint with nonnegative eigenvalues, a positive semidefinite matrix in an orthonormal basis, or an operator of the form S^*S: a finite nonnegative operator has an orthonormal eigenbasis with nonnegative real eigenvalues.
A unit-vector outer product is a density operator: for a unit , is its density operator. The root pairing is linear in the first argument.
The basis-independent trace of an endomorphism of a finite-dimensional vector space: trace is the sum of diagonal entries in any basis.
Worst-case bounded-error correctness: bounded-error decision correctness gives acceptance probability at least on a yes input and at most on a no input.
Proof
By [F1] and [F4], choose an orthonormal eigenbasis for . Positivity of and puts each eigenvalue in . For , . For a unit , [F5]–[F6] give . Thus the same acceptance expectation and contraction estimate hold for every two-outcome POVM.
Put . The acceptance-probability difference equals . By [F2], unit normalization, and step 1.1, its absolute value is at most . The probability gap in [F3] is at least , so .
One-query oracle perturbation bound
Statement
For , , and any vector in the address, response, and work registers, where is the input with its only in coordinate and projects onto zero-based query address .
Facts & Assumptions
Given: The standard XOR query from Boolean oracle query model for search lower bounds, the singleton input from All-zero versus exactly-one-marked search promise, and the address projector from Query-register projectors and mismatch indicators.
Query-register projectors and mismatch indicators: is the orthogonal projection onto address , tensored with the identity on response and work registers.
All-zero versus exactly-one-marked search promise: has value exactly at input coordinate and has value at every coordinate.
Proof
On each address block other than , the two oracle actions in [F1] agree; on block , the singleton oracle applies Pauli to the response and the zero oracle applies identity. Hence , where acts on response and identities act on address and work.
The orthogonal projection is contractive and preserves norm because it permutes the two orthonormal response basis vectors; thus . Step 1.1 and idempotence of give the claimed bound.
Zero-completed query simulation is exact and uses one raw query
Statement
For and with , the procedure of Reversible zero-completion of an N-address bit query implements exactly one zero-completed XOR query per raw -address query, restores all scratch registers, and uses no controlled oracle call.
Facts & Assumptions
Given: The finite address registers, the raw XOR action on addresses , the procedure instructions, and clean scratch registers.
Reversible zero-completion of an N-address bit query: for it makes one direct raw query and returns; for it computes , routes a clean -level raw-address register to if valid and otherwise by a finite controlled basis permutation, prepares a fresh response helper in from , swaps it with the caller's response only when valid, makes one raw query, reverses the response swap, applies to return the helper to , and reverses the routing and comparison operations.
Boolean oracle query model for search lower bounds: on a valid raw address , .
Toffoli and Fredkin gates: a Fredkin gate swaps its two target bits exactly when its control bit is .
Reversible embedding of a Boolean circuit and Gate, workspace, and serial-depth costs of reversible embedding: the finite Boolean comparison circuit computes the validity bit reversibly into a clean target and restores its work bits by reversing its explicit gate list. The -level raw-address routing is the finite basis permutation specified directly in [F1].
Proof
If , the procedure returns after one direct raw oracle call, which has the required action. Suppose . The comparison recurrence maintains exactly when the first bits of and agree, and exactly when the first differing bit has -bit and -bit . Induction on therefore gives iff . The controlled transpositions in [F1] preserve and and send a clean basis state to when and , and leave it at otherwise. Thus the raw query address is an -level basis state that equals on valid padded addresses and on invalid ones.
In the branch, when , [F4] swaps the caller's response into ; the raw oracle then changes it to , and reversing the swap returns exactly this bit to the caller and leaves , which the final maps to . When , the route sets , which is valid because , while ; the raw query applies either or to , both of which fix , and the caller's response is unchanged. The final again returns to .
The raw oracle preserves its address, so the inverse controlled routing permutation clears after the response swap is undone. By step 1.2 the helper response is then , so the prescribed has returned it to . Reversing the comparison circuit clears and its work registers. In both branches the resulting action on each padded-address basis state is for and for ; linearity gives the same zero-completed action on every superposition. Exactly one raw oracle call occurred in either branch, and no controlled call was used.
Fixed-one Grover search with candidate verification
Definition
Input: An integer , standard Boolean XOR-query access on the ordered -level address register of Boolean oracle query model for search lower bounds, with from All-zero versus exactly-one-marked search promise, and no information about whether or . Any auxiliary registers used by the procedure start in their declared clean states; the procedure returns all subroutine workspace clean before reuse or termination.
Gate model: Inherit the nonoracle model of One Grover iterate in the standard bit-query model: exact and are callable, with each occurrence charged as one elementary gate, including the Hadamards preparing the uniform address state and all response preparations. The exact reflection on the padded addresses is supplied either as an explicitly costed primitive or by a declared costed exact circuit over the selected alphabet. All preparation and reflection costs are counted separately from raw oracle queries.
Output: The symbol no and no candidate if verification fails; otherwise yes and a verified marked coordinate.
Instructions:
- Set , , so , and hard-code the schedule parameter . This is a fixed schedule; it is not an assertion that the actual input has one mark.
- Set and . Compute exactly , , and for . For , compute and choose the least maximizing this finite list.
- Prepare the uniform state on addresses and apply the Grover iterate of One Grover iterate in the standard bit-query model exactly times, implementing each padded bit query by Reversible zero-completion of an N-address bit query. Allocate the clean raw-address, comparison, and routing workspace required by each call; return it clean before the next call. The iterate's phase-kickback response is supplied in as specified by that iterate.
- Measure the padded address . Prepare a fresh response bit in and use Reversible zero-completion of an N-address bit query for the candidate-verification query, with its required clean workspace. Measure the response bit. If and this bit is , output yes and original coordinate . Otherwise output no and no candidate. Return all clean workspace to zero.
The schedule is defined on every input in and never receives an actual marked count. The recurrence and gate costs are classical/nonoracle costs; every simulated Grover or verification query uses one standard raw bit query.
Cumulative hybrid distance for a T-query algorithm
Statement
For a -query algorithm in the model of Boolean oracle query model for search lower bounds, let be its unit state on input immediately before query , for , and set . If and are the final unit states on and , then
Facts & Assumptions
Given: The coherent -query normal form, the two oracle inputs , and the one-query bound.
Coherent normal form for finite quantum query algorithms: every finite-branch algorithm with at most standard XOR queries has the same output law as a pure unitary circuit with exactly ordinary queries.
One-query oracle perturbation bound: replacing one zero oracle by the singleton oracle changes a query state by at most twice its norm on the differing address block.
Boolean oracle query model for search lower bounds: the query calls are separated by input-independent unitaries, which preserve vector norms.
Proof
If , both inputs give the same circuit and hence the final vectors agree, so the inequality holds with empty sum. Suppose . For each , define as the final state of the circuit that uses the zero oracle in its first query slots and the oracle in its remaining slots. Then and .
For each , the circuits defining and have the same state immediately before query slot : they have used the zero oracle for the first calls. This pre-query state is . At slot the oracle changes from to ; after that slot both circuits use the same suffix, whose unitaries preserve norm. By [F2], .
The triangle inequality gives . The normal form [F1] preserves the output distribution, so this bound applies to the original algorithm's pure-state realization.
Aggregate hybrid distance budget over all marked indices
Statement
For every query algorithm on addresses, with final states and query magnitudes as in Cumulative hybrid distance for a T-query algorithm,
Facts & Assumptions
Given: The cumulative hybrid estimate and the complete orthogonal address projectors.
Query-register projectors and mismatch indicators: are pairwise orthogonal and sum to identity on the query address, response, and work registers.
Cauchy–Schwarz: , with equality exactly for dependent pairs: for finite real vectors, the square of the sum of coordinates is at most the vector length times the sum of their squares.
Proof
If , [F1] gives zero distance for every , so the sum is zero. If , squaring [F1] and applying [F3] to the real numbers gives ; each is nonnegative because it is a squared norm.
Summing over and interchanging finite sums, completeness and orthogonality in [F2] give for each . Therefore .
The rational Grover recurrence equals the success probability
Statement
Let , let , put and . If , , and , then for every integer , Thus the exact rational values used by the known-count Grover schedule equal its actual marked-address probabilities.
Facts & Assumptions
Given: , , the recurrence above, and .
Known-count Grover search by exact integer maximization: the known-count schedule uses and computes , , and .
Exact success probability after an integer number of Grover iterates: after Grover iterates the marked-address probability is .
Proof
Since , [F5] gives . Define . Then and .
For every integer , applying [F3] and [F4] with and and adding the identities gives . This is the same recurrence as ; the initial values in step 1.1 and induction on give for every .
Setting in step 2.1 and applying the power-reduction identity [F5] gives . By [F2] this is the actual Grover success probability.
Grover search upper-bound query cost
Statement
For every , Fixed-one Grover search with candidate verification uses at most standard bit queries, including the final candidate verification. Hence its query cost is . Address comparison, reversible computation, recurrence evaluation, state preparation, reflection gates, and all other nonoracle work are separate costs; no polynomial-time claim is made.
Facts & Assumptions
Given: The fixed-one algorithm, the Grover-iterate query count, exact zero-completion simulation, and the worst-case query-cost convention.
Fixed-one Grover search with candidate verification: the chosen iteration count satisfies , and one verification query is made.
One Grover iterate uses one standard bit query: each Grover iterate contains exactly one standard bit query.
Zero-completed query simulation is exact and uses one raw query: each padded bit query, including verification, uses exactly one raw standard bit query.
Quantum query complexity: the query coordinate counts designated oracle invocations and excludes gates and classical work.
Fixed-one Grover search with candidate verification: the padded domain size obeys .
Proof
The procedure of [F1] makes Grover iterates and one verification. By [F2] each iterate needs one padded bit query, and [F3] replaces every one of those calls and the verification with exactly one raw query. Therefore the total raw query count is at most .
Since , we have because . By [F5], . Thus the worst-case standard bit-query cost is at most by [F4]. None of the reversible address tests, classical recurrence steps, or gates were counted as oracle invocations, so this estimate makes no claim about their cost.
BBBV hybrid lower bound for unstructured search
Statement
For the promise of All-zero versus exactly-one-marked search promise, every bounded-error quantum algorithm deciding whether the input is zero or one-marked uses at least standard bit queries. Every bounded-error finder that outputs a marked coordinate on each and none on also uses at least standard bit queries. The decision part satisfies the stronger bound .
Facts & Assumptions
Given: The promise task, pure query normal form, final acceptance gap, aggregate hybrid bound, and worst-case query cost convention.
All-zero versus exactly-one-marked search promise: the no input is , each yes input is , and finding succeeds exactly when a valid marked coordinate is returned on a yes input or none on the no input.
Coherent normal form for finite quantum query algorithms: finite-branch algorithms with worst-case standard XOR queries have equivalent pure-state circuits with exactly ordinary queries and the same output law.
Acceptance-gap lower bound on final-state distance: a common final measurement with probabilities at least and at most forces final vector distance at least .
Aggregate hybrid distance budget over all marked indices: the squared final-state distances over all singleton inputs sum to at most .
Worst-case bounded-error correctness: bounded-error decision correctness is per promised input with success probability at least .
Quantum query complexity: query cost is the maximum number of oracle calls on any promised input and branch.
Proof
Let a bounded-error decision algorithm use queries. Apply [F2] and use the common final acceptance event. For each , correctness [F5] gives acceptance at least on and at most on . By [F3], .
Summing the squares of these inequalities gives . By [F4], the right side is at most , so .
Now let a bounded-error finder use queries. Append a decision step that measures its output and, if it is a coordinate , makes one standard bit query at address with response initialized to ; accept exactly when that response is . If the output is none or invalid, reject without a query. On this decision never accepts; on it accepts whenever the finder returns , which has probability at least by [F1]. This is a bounded-error decision procedure with at most queries, so [F6] and step 2.1 give .
If , then , and step 3.1 gives . If , a zero-query finder has the same output law on and , yet success would require probability at least on the disjoint outcomes none and under this one common law. Their probabilities would sum to at least , impossible; hence .
Grover search upper-bound success guarantee
Statement
On every promised input of All-zero versus exactly-one-marked search promise, the fixed-one procedure Fixed-one Grover search with candidate verification returns the correct decision and, on a one-marked input, its marked coordinate with probability at least , where and when . In particular, its one-marked success probability is at least ; when it succeeds with certainty. On verification always returns no.
Facts & Assumptions
Given: The fixed-one schedule, its reversible simulation of the padded oracle, the exact recurrence identity, and the integer-rounding theorem.
Fixed-one Grover search with candidate verification: the procedure pads to , fixes its schedule count to , maximizes over , and verifies the measured candidate by initializing the XOR-query response to and measuring the resulting bit.
Zero-completed query simulation is exact and uses one raw query: each padded query is exactly simulated using one raw query, and padded addresses have value zero.
The rational Grover recurrence equals the success probability: for a dyadic domain and exact mark count , the recurrence value equals the actual Grover marked-address probability.
Integer rounding gives a high-success Grover iterate: if , some has Grover success at least ; for , has success .
All-zero versus exactly-one-marked search promise: on a one-mark input the padded length- string has exactly one marked valid address, while the zero input has no marked address.
Proof
If , then and the schedule in [F1] includes . Its recurrence value is , since and . The maximizing choice in [F1] has value at least , and [F3] identifies every list value with a probability at most , so the selected success probability is . If , then , so the padded one-mark input in [F5] has ratio .
For , [F4] supplies an integer with actual marked probability at least . The recurrence probabilities in [F1] equal these actual probabilities by [F3], so their finite maximizing choice has probability no smaller than that candidate. The case already has probability one by step 1.1.
The simulation in [F2] makes the algorithm's padded Grover evolution exactly the evolution analyzed in step 2.1. Initializing the verification response to makes its XOR output equal to the queried bit. On a one-mark input, a marked measurement is valid and the final verification returns , so the algorithm returns the correct marked coordinate with probability at least the bound from step 2.1. On , every verification query returns , so it returns no with certainty. Finally implies .
Bounded-error unstructured search query complexity is Theta of square root N
Statement
Under the empty-versus-one-marked promise All-zero versus exactly-one-marked search promise and standard bit-query cost, bounded-error decision and finding each have worst-case query complexity .
Facts & Assumptions
Given: The direct bit-query lower bound and the verified fixed-one Grover upper-bound procedure, with query costs counted as in the promise model.
BBBV hybrid lower bound for unstructured search: both decision and finding require at least standard bit queries.
Grover search upper-bound success guarantee: the fixed-one procedure returns a verified marked item with probability at least on each one-mark input and returns no on the empty input.
Grover search upper-bound query cost: one fixed-one run uses at most standard bit queries.
All-zero versus exactly-one-marked search promise: the promise consists only of and the singleton inputs, and a verified coordinate decides yes.
Quantum query complexity: worst-case query cost is the maximum over promised inputs and execution branches.
Proof
The lower bound for both tasks is [F1], so each complexity is at least a positive constant times .
For , the one-run success probability in [F2] is at least . For , [F2] gives certainty. For , run the fixed-one procedure twice with fresh registers and independent measurements, returning a verified candidate if either run verifies one. Each run has success probability at least by [F2]; conditional independence of the fresh runs gives failure probability at most , hence success at least .
Verification prevents a false yes on , by [F2] and [F4]. On each singleton input the procedures in step 1.2 return its marked coordinate with probability at least . They are therefore bounded-error solvers for both the decision and finding tasks. The two-run case uses at most twice the cost in [F3], and the other cases use at most one run, so [F5] bounds their worst-case query cost by .
Combining steps 1.1 and 2.1 gives matching positive constant lower and upper multiples of for both decision and finding. All statements concern standard bit queries; nonoracle gate and preprocessing costs remain separate.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Ronald de Wolf, Quantum Computing: Lecture Notes, arXiv:1907.09415v6
- Andrew M. Childs, Lecture Notes on Quantum Algorithms (2025)
- John Watrous, The Theory of Quantum Information (2018 author-hosted draft)
- Charles H. Bennett, Ethan Bernstein, Gilles Brassard, and Umesh Vazirani, Strengths and Weaknesses of Quantum Computing
- Gilles Brassard, Peter Høyer, Michele Mosca, and Alain Tapp, Quantum Amplitude Amplification and Estimation