Strengths and Weaknesses of Quantum Computing I: Relative to a Random Oracle, a Quantum Algorithm Needs Ω(2^{n/2}) Queries to Decide Whether 1ⁿ Has a PreimageResearch Paper
Motivation
Grover's algorithm (Grover 1996) finds a marked item among with queries, a quadratic speed-up over any classical algorithm. Whether quantum computers can do substantially better on search, and so solve NP-type problems by brute force in polynomial time, was settled in the negative by Bennett, Bernstein, Brassard and Vazirani (arXiv:quant-ph/9701001, SIAM J. Comput. 26(5), 1997): relative to a random oracle, a quantum algorithm needs queries to decide whether a string has a preimage. The bound matches Grover's algorithm up to a constant factor, and its hybrid argument is one of the two standard lower-bound methods of the field, together with the polynomial method (Beals et al. 1998) and the adversary method (Ambainis 2000).
Timeline:
- 1996: Grover's algorithm searches items with queries.
- 1997: the paper proves relative to a random oracle with probability 1 (Theorem 3.5), and the bound for random permutations (Theorem 3.6).
- 1998: Boyer, Brassard, Høyer and Tapp give tight bounds for quantum searching.
- 1999: Zalka shows Grover's algorithm is exactly optimal.
Setting
A -query algorithm acts on vectors , where is the set of query strings, the set of answers (an additive group) and a finite workspace. A basis configuration with is querying ; is not querying. For an oracle the oracle operator is
The algorithm consists of a unit vector , unitaries that do not depend on the oracle, and a set of accepting configurations. With oracle its states are ; the acceptance probability is the squared norm of the accepting part of . The query magnitude of in is (Definition 3.2). The algorithm decides a property if it accepts with probability at least when the property holds and at most when it fails.
In the main theorem with bitwise addition, and the oracle is a uniformly random function . The question is whether belongs to .
Formalization targets
Goal: Theorem 3.5 (finite form)
The constant is existential, matching the theorem's hypothesis ; and do not depend on the workspace or the algorithm.
Milestones
- Theorem 3.1: unit vectors at distance have measurement distributions within total variation .
- Theorem 3.3 (corrected): changing oracle answers on time–string pairs of total query magnitude moves the final state by at most .
- Corollary 3.4 (corrected): outside a set of at most strings, changing the oracle at one string moves the final state by at most .
- .
- .
- Final states within for and force failure on one of them.
- The double counting: failing oracles with a unique preimage are at least half the successful oracles with none.
Significance
The theorem shows that the quadratic speed-up of Grover's algorithm cannot be improved for unstructured search, and that relative to a random oracle ; any quantum algorithm for NP-complete problems must use the structure of the problem. Theorem 3.3 and Corollary 3.4 isolate the constraint unitary evolution places on "quantum parallelism" and are reused across quantum lower bounds, including the permutation bound of the companion mission (Theorem 3.6).
The results are proved on paper and, to our knowledge, have no machine-checked proof. The mission produces a formal query model with an XOR oracle, a formal hybrid argument, and the lower bound with its constants checked. Two printed bounds are wrong by constant factors (below); the formal statements carry the corrected constants, and a formal proof settles them. Grover's matching upper bound is on the platform as Grover.search_succeeds_bounded, for a phase oracle and one fixed algorithm.
Difficulty
The obvious argument — each query reveals one bit about where the preimage is, so queries are needed — fails for quantum algorithms, which query all strings in superposition at once. The difficulty is to bound how much a superposition of queries can learn, which requires controlling the accumulated effect of small changes across unitary steps, and then converting a bound on states into a statement about the probability of failure over random oracles, where the set of sensitive strings depends on the oracle.
Formalization scope
The paper's oracle quantum Turing machines are replaced by the query model above, the model its proofs use. Every oracle QTM running steps is a -query algorithm: oracle answers on lengths other than are fixed and absorbed into the unitaries, as the proof fixes them, and the input is absorbed into . Queries return the full value ; one Boolean query is two full-value queries, so the goal implies the Boolean-oracle bound with halved. Strings are Fin n → ZMod 2; states are EuclideanSpace ℂ (Option X × R × W); probabilities over oracles are counting fractions over all functions; total variation distance is the paper's without the factor .
Corrections: Theorem 3.3 is printed with conclusion , which fails (one query string, , distance at ; machine-checked); the true bound is . Corollary 3.4 is printed with , which fails (16 strings, , ); the true bound is . The printed constant in the proof of Theorem 3.5 does not support the step even with the paper's own count; the goal states an existential constant, and works with the corrected Corollary 3.4. The closing probability- argument over countably many machines and the class statement about are not formalized.
A formalization in which algorithms query at every step on every branch (no sector), only one side of the bounded-error condition is tested, or the probability is taken over a set of oracles that excludes the hard instances, proves a weaker theorem and is ruled out by these definitions.
Needed infrastructure: norms of finite-dimensional complex vectors, unitaries as linear isometry equivalences, finite counting of functions. The query model and the hybrid argument are reusable for any quantum query lower bound.
Selected references
- C. H. Bennett, E. Bernstein, G. Brassard, U. Vazirani, Strengths and weaknesses of quantum computing, SIAM J. Comput. 26(5):1510–1523, 1997. arXiv:quant-ph/9701001
- L. K. Grover, A fast quantum mechanical algorithm for database search, STOC 1996. arXiv:quant-ph/9605043
- M. Boyer, G. Brassard, P. Høyer, A. Tapp, Tight bounds on quantum searching, Fortschr. Phys. 46, 1998. arXiv:quant-ph/9605034
- C. Zalka, Grover's quantum searching algorithm is optimal, Phys. Rev. A 60, 1999. arXiv:quant-ph/9711070
- R. Beals, H. Buhrman, R. Cleve, M. Mosca, R. de Wolf, Quantum lower bounds by polynomials, J. ACM 48, 2001. arXiv:quant-ph/9802049
- A. Ambainis, Quantum lower bounds by quantum arguments, J. Comput. Syst. Sci. 64, 2002. arXiv:quant-ph/0002066