Skip to content
DAH
Wiki/Quantum AlgorithmsAlgorithmActive

Quantum algorithms

Algorithms for quantum computers, from Shor's factoring and Grover's search to quantum simulation, and the evidence about which speedups are real, provable or only heuristic.

On this page16 sections
Why other work relies on it

Shor's algorithm is the reason the world is migrating public-key cryptography to post-quantum standards, and the case for building fault-tolerant quantum computers rests on a short list of algorithms with proven speedups.

Step-by-step methods for quantum computers, and the careful question of which speedups over ordinary computers are real.

  1. 1Quantum rules allow interference
  2. 2Arrange for wrong answers to cancel
  3. 3Shor: factoring made fast
  4. 4Grover: only a modest speedup
  5. 5Many claimed speedups later matched by classical

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 nn-bit integer and computes discrete logarithms in time polynomial in nn, 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 NN unstructured items with O(N)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.

Go deeper

The full technical text.

Model and classes

A quantum algorithm is a sequence of unitary gates on qubits followed by measurement. The class BQP\mathsf{BQP} contains problems solvable with bounded error by a polynomial-size quantum circuit family; it contains BPP\mathsf{BPP} and is contained in PP⊆PSPACE\mathsf{PP}\subseteq\mathsf{PSPACE}. Whether BQP\mathsf{BQP} is strictly larger than BPP\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 nn-bit integer and computes discrete logarithms in time polynomial in nn, 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 NN items with O(N)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 field

The Harrow–Hassidim–Lloyd algorithm (2008) solves a sparse linear system Ax=bAx=b in time polylogarithmic in the dimension, but it outputs a quantum state, not the vector xx, 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 estimates

Running 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 O~(n3/2)\tilde O(n^{3/2}) gates, run about n\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 and no structure in the oracle.

Experiments

Sampling experiments since 2019 have claimed "beyond-classical" computation, and nearly every one has been followed by tensor-network or Pauli-path classical simulations that narrow or close the gap. Which of these claims still stand, and whether any computation is both useful and verifiable, is the subject of the open problem on useful quantum advantage.

Words on this page (12)
Words on this page
qubit
The quantum version of a bit; it can be in a blend of 0 and 1 until it is measured.
quantum computing
Computing that uses quantum physics, such as superposition and interference, to process information.
Shor's algorithm
A quantum method that factors large numbers quickly, threatening common public-key encryption.
Grover's algorithm
A quantum search method that needs about the square root as many steps as checking every item.
quantum Fourier transform
A quantum operation that reveals repeating patterns (periods) hidden in data, the key step of Shor's method.
BQP
The class of problems a quantum computer can solve efficiently with a small chance of error.
quantum advantage
A task where a quantum computer is shown to be better than any known ordinary computer method.
Hamiltonian simulation
Using a quantum computer to predict how a quantum system, such as a molecule, changes over time.
quantum error correction
Encoding information redundantly across many physical qubits so errors can be detected and fixed.
query complexity
Counting how many times an algorithm must look at its input, used to prove clean speedup limits.
unitary operation
A reversible transformation of a quantum state that preserves total probability; quantum gates are unitary.
hidden subgroup problem
A general framework (finding a hidden repeating structure in a function) that covers factoring and discrete logarithms.
New to this? Read first (4)
New to this? Read first

Understanding map

map of the whole wiki →

What to read before Quantum algorithms (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.

  1. Start with
  2. Step 2
  3. Step 3
  4. Then

Open problems & questions

Progress timeline

  1. Nov 9, 2026
    A second, shorter claimed proof
    Related to: Aaronson–Ambainis conjecture: bounded low-degree polynomials have a variable of influence poly(Var/d)

    Thomas Huffstutler, David Miloschewsky and Supartha Podder posted a short proof that uses only a special case of Turturean's certificate inequality, which they prove themselves, and gives a deterministic simulation with O(Q(f)6/(δε)2)O(Q(f)^6/(\delta\varepsilon)^2) queries on a 1−ε1-\varepsilon fraction of the domain of a partial function of domain density δ\delta. Unrefereed; posted on arXiv as 2611.12795 (submitted 9 November 2026).

    source
  2. Nov 7, 2026
    Independent exposition of the claimed proof
    Related to: Aaronson–Ambainis conjecture: bounded low-degree polynomials have a variable of influence poly(Var/d)

    Guy Blanc, Jordan Docter, Carmen Strassle and Li-Yang Tan posted an exposition of the claimed proof organised around four main steps, with weaker exponents because they did not optimise parameters; their note says Anthropic's public models were used in the process of understanding the proof and preparing the exposition. Unrefereed.

    source
  3. Nov 6, 2026
    AI-produced proof claimed, with Lean formalization
    Related to: Aaronson–Ambainis conjecture: bounded low-degree polynomials have a variable of influence poly(Var/d)

    David Turturean of Physical Superintelligence (PSI) posted a paper and a Lean 4 formalization claiming a proof, with a bound of order ε^{5/2}/d^6. The repository says the statements, draft and Lean were produced by AI models and that Turturean reviewed the paper. Unrefereed; DARC has not rebuilt the Lean code.

    source
  4. Sep 28, 2026
    Distributional variants equivalent (preprint)
    Related to: Aaronson–Ambainis conjecture: bounded low-degree polynomials have a variable of influence poly(Var/d)

    Girish, Mittal, Nehoran and Raz proved that biased-product and slice versions are equivalent to the uniform conjecture. Not refereed.

    source
  5. Sep 22, 2026
    Conditional good qLTCs (preprint)
    Related to: Quantum PCP: constant-relative-gap k-local Hamiltonian is QMA-hard (NLTS now proved; qLTCs open)

    Bafna, Li and Nguyen constructed qLTCs with constant rate, distance and soundness under a Reed–Solomon product-expansion conjecture. Not refereed.

    source
  6. May 21, 2026
    Classical simulation of D-Wave spin-glass dynamics
    Related to: An efficiently verifiable quantum advantage that survives a public classical-spoofing challenge for 12 months

    Tindall et al. matched the annealing claim with belief-propagation tensor networks.

    source
  7. Oct 22, 2025
    Quantum Echoes OTOC measurement
    Related to: An efficiently verifiable quantum advantage that survives a public classical-spoofing challenge for 12 months

    Google reported a measurement estimated 13,000 times faster than a supercomputer, verifiable on other quantum devices.

    source
  8. May 21, 2025
    RSA-2048 under one million noisy qubits (estimate)

    Gidney estimated that factoring a 2048-bit RSA integer needs under one million physical qubits and under a week, under stated hardware assumptions; a preprint, and no such machine exists.

    source
  9. Mar 26, 2025
    Certified randomness on a trapped-ion processor
    Related to: An efficiently verifiable quantum advantage that survives a public classical-spoofing challenge for 12 months

    Liu et al. certified randomness with supercomputer-scale classical verification.

    source
  10. Feb 21, 2024
    Random restrictions
    Related to: Aaronson–Ambainis conjecture: bounded low-degree polynomials have a variable of influence poly(Var/d)

    Bhattacharya proved the conjecture for a non-negligible fraction of random restrictions (ITCS 2025).

    source
  11. Jun 27, 2022
    NLTS proved
    Related to: Quantum PCP: constant-relative-gap k-local Hamiltonian is QMA-hard (NLTS now proved; qLTCs open)

    Anshu, Breuckmann and Nirkhe proved the NLTS conjecture (STOC 2023).

    source
  12. Nov 1, 2021
    Good quantum LDPC codes
    Related to: Quantum PCP: constant-relative-gap k-local Hamiltonian is QMA-hard (NLTS now proved; qLTCs open)

    Panteleev and Kalachev constructed asymptotically good quantum LDPC codes.

    source
  13. Oct 23, 2019
    Random circuit sampling on 53 qubits
    Related to: An efficiently verifiable quantum advantage that survives a public classical-spoofing challenge for 12 months

    Google reported a sampling experiment estimated beyond classical reach; later tensor-network simulations narrowed the gap.

    source
  14. Jul 10, 2018
    Dequantization of recommendation systems

    Tang gave a classical algorithm matching the quantum recommendation-systems algorithm up to polynomial factors, under comparable data access.

    source
  15. Jan 7, 2013
    NLTS conjecture
    Related to: Quantum PCP: constant-relative-gap k-local Hamiltonian is QMA-hard (NLTS now proved; qLTCs open)

    Freedman and Hastings posed the NLTS conjecture as a necessary consequence of qPCP (arXiv January 2013, QIC 2014; day approximate).

    source
  16. Nov 5, 2009
    Conjecture stated with quantum consequences
    Related to: Aaronson–Ambainis conjecture: bounded low-degree polynomials have a variable of influence poly(Var/d)

    Aaronson and Ambainis posed the conjecture and showed it implies classical simulation of quantum query algorithms on most inputs.

    source
  17. May 21, 2006
    Exponential-in-degree bound
    Related to: Aaronson–Ambainis conjecture: bounded low-degree polynomials have a variable of influence poly(Var/d)

    Dinur, Friedgut, Kindler and O'Donnell proved an influence lower bound exponentially small in the degree (STOC 2006).

    source
  18. May 29, 1996
    Grover search

    Grover's algorithm gave a quadratic speedup for unstructured search.

    source
  19. Aug 30, 1995
    Shor's algorithm on arXiv

    Shor's factoring and discrete-logarithm algorithms were announced at FOCS 1994; the arXiv version is dated 30 August 1995 and the journal version appeared in SIAM J. Comput. in 1997.

    source