■ Change #71 · wiki.edited
Quantum algorithms: Normalize Markdown to canonical form
body
## Model and classes− A quantum algorithm is a sequence of unitary gates on qubits followed by measurement. The class $\mathsf{BQP}$ contains problems solvable with bounded error by a polynomial-size quantum circuit family; it contains $\mathsf{BPP}$ and is contained in $\mathsf{PP}\subseteq\mathsf{PSPACE}$. Whether $\mathsf{BQP}$ is strictly larger than $\mathsf{BPP}$ is open, so no quantum speedup over *all* classical algorithms is proven unconditionally; evidence comes from oracle (query) separations, reductions to problems believed hard, and the absence of good classical algorithms after sustained effort.+ A quantum algorithm is a sequence of unitary gates on qubits followed by measurement. The class $\mathsf{BQP}$ contains problems solvable with bounded error by a polynomial-size quantum circuit family; it contains $\mathsf{BPP}$ and is contained in $\mathsf{PP}\subseteq\mathsf{PSPACE}$. Whether $\mathsf{BQP}$ is strictly larger than $\mathsf{BPP}$ is open, so no quantum speedup over _all_ classical algorithms is proven unconditionally; evidence comes from oracle (query) separations, reductions to problems believed hard, and the absence of good classical algorithms after sustained effort.## The established core**Shor's algorithm** (1994) factors an $n$-bit integer and computes discrete logarithms in time polynomial in $n$, by finding the period of a function with the quantum Fourier transform. It is a special case of the abelian hidden subgroup problem and is the best-known superpolynomial speedup for a problem of practical importance. **Grover's algorithm** (1996) searches an unstructured space of $N$ items with $O(\sqrt N)$ queries, a quadratic speedup that is provably optimal in the query model; it applies to many exhaustive-search problems but its advantage is easily eaten by the overhead of error correction. **Quantum simulation** of physical Hamiltonians, proposed by Feynman and made rigorous by Lloyd, is the most natural application, with chemistry and materials as the main targets.## Caveats that shape the fieldThe Harrow–Hassidim–Lloyd algorithm (2008) solves a sparse linear system $Ax=b$ in time polylogarithmic in the dimension, but it outputs a quantum state, not the vector $x$, assumes efficient state preparation, and its cost depends on the condition number. Tang (2018) showed that for the related recommendation-systems problem, a classical algorithm with comparable sample-and-query access to the data runs in polynomial time, removing the exponential speedup; this "dequantization" programme has since reduced several claimed exponential speedups to polynomial ones. Treat any claimed speedup as conditional on the input and output model.## Resource estimatesRunning Shor's algorithm on a 2048-bit RSA modulus needs error-corrected logical qubits. Gidney (2025) estimated that fewer than one million noisy physical qubits and less than a week would suffice, assuming a 0.1% gate error rate, a two-dimensional grid with nearest-neighbour connectivity, a 1 microsecond surface-code cycle and a 10 microsecond control reaction time. Regev (2023) proposed a factoring circuit with $\tilde O(n^{3/2})$ gates, run about $\sqrt n$ times, under a number-theoretic heuristic. These are paper estimates for machines that have not been built. Separately, an AI-generated manuscript in OpenAI's `openai/math` collection (family 279, dated 25 September 2026, with a Lean formalisation of the statement) claims a polynomial-size uniform circuit family over a fixed finite gate set that factors every integer with probability exactly one; it is unrefereed and has not been assessed by experts.## Optimisation and verifiability− *Decoded Quantum Interferometry* (Jordan, Shutty, Wootters, Zalcman and coauthors; Nature 2025) turns optimisation problems into decoding problems and claims a superpolynomial speedup for an algebraic problem (optimal polynomial intersection, OPI) against known classical algorithms. It has drawn both strengthening and weakening work: Parekh (arXiv September 2025; TQC 2026) showed that the MaxCut instances on which it attains a nontrivial asymptotic guarantee are solvable exactly in classical polynomial time, while Kramer, Gil-Fuster, Jones, Eisert and Schreiber (arXiv October 2026, preprint) claim a provable gap in approximation ratio for a variant of OPI whose constraint sets are accessed through membership oracles. Yamakawa and Zhandry (FOCS 2022; J. ACM 2024) proved a separation between quantum and classical *search* problems relative to a random oracle, with classically verifiable answers a+ _Decoded Quantum Interferometry_ (Jordan, Shutty, Wootters, Zalcman and coauthors; Nature 2025) turns optimisation problems into decoding problems and claims a superpolynomial speedup for an algebraic problem (optimal polynomial intersection, OPI) against known classical algorithms. It has drawn both strengthening and weakening work: Parekh (arXiv September 2025; TQC 2026) showed that the MaxCut instances on which it attains a nontrivial asymptotic guarantee are solvable exactly in classical polynomial time, while Kramer, Gil-Fuster, Jones, Eisert and Schreiber (arXiv October 2026, preprint) claim a provable gap in approximation ratio for a variant of OPI whose constraint sets are accessed through membership oracles. Yamakawa and Zhandry (FOCS 2022; J. ACM 2024) proved a separation between quantum and classical _search_ problems relative to a random oracle, with classically verifiable answers a
explainer.student
− **Model and classes.** A quantum algorithm is a sequence of unitary operations (gates) on qubits followed by measurement. **BQP** is the class of problems solvable with bounded error by a polynomial-size quantum circuit family. It contains BPP (ordinary randomised polynomial time) and is contained in PSPACE. Whether BQP is strictly bigger than BPP is open, so no speedup over *all* classical algorithms is proven unconditionally. Evidence comes from oracle (query) separations, reductions to problems believed hard, and decades of failed classical attempts.+ **Model and classes.** A quantum algorithm is a sequence of unitary operations (gates) on qubits followed by measurement. **BQP** is the class of problems solvable with bounded error by a polynomial-size quantum circuit family. It contains BPP (ordinary randomised polynomial time) and is contained in PSPACE. Whether BQP is strictly bigger than BPP is open, so no speedup over _all_ classical algorithms is proven unconditionally. Evidence comes from oracle (query) separations, reductions to problems believed hard, and decades of failed classical attempts.**The established core.**− - **Shor's algorithm** (1994) factors an $n$-bit integer and computes discrete logarithms in time polynomial in $n$, by finding the period of a function with the quantum Fourier transform. It is a special case of the *hidden subgroup problem* for abelian groups and is the best known superpolynomial speedup for a practically important problem.+ - **Shor's algorithm** (1994) factors an $n$-bit integer and computes discrete logarithms in time polynomial in $n$, by finding the period of a function with the quantum Fourier transform. It is a special case of the _hidden subgroup problem_ for abelian groups and is the best known superpolynomial speedup for a practically important problem.- **Grover's algorithm** (1996) searches $N$ unstructured items with $O(\sqrt N)$ queries, a quadratic speedup provably optimal in the query model. It applies to many brute-force searches, but the overhead of error correction can eat the advantage.- **Quantum simulation** (Feynman; Lloyd) of physical systems is the most natural application; chemistry and materials are the main targets.**Caveats that shape the field.** The Harrow–Hassidim–Lloyd algorithm (2008) solves a sparse linear system in time polylogarithmic in its size, but it outputs a quantum state rather than the full solution, assumes state preparation is cheap, and depends on the condition number. Tang (2018) showed that for a related recommendation-systems problem, an ordinary algorithm with comparable access could do almost as well, removing a claimed exponential speedup ("dequantization").**Benchmarks.** Several experiments have claimed to beat classical computers on contrived sampling tasks. Many have then been matched or approached by improved classical simulations. A strong, easily checkable demonstration of quantum advantage on a task that anyone can verify remains an active goal.**Open questions.** Are there superpolynomial speedups for problems beyond algebraic structure, such as optimisation? Which quantum-chemistry tasks give an advantage after counting error-correction costs? Can the structure of lattice problems be exploited by a quantum algorithm (see lattice cryptography)?The topic links deep theory (query complexity, Fourier analysis) with practical engineering questions about how many error-corrected qubits are needed.
hash d97da25a0b278057d2e81f379a067812539b37a357294858f42716235092c004
previous 678b33ba3c7c1b9f23a464d01c316dc01193c1bb8894fa4218dd2d951a9240d9