← New search

Other meanings of Quantum algorithm

COMPUTING & PHYSICS

Quantum algorithm

A quantum algorithm is a finite procedure designed to run on a quantum computer, using quantum states, interference, and measurement to solve a computational problem. Its advantages are problem-dependent: some algorithms offer provable speedups, while others are heuristics whose practical value remains under investigation.1

1994
Shor’s factoring algorithm
Published
O(√N)
Grover search queries
Idealized bound
NISQ
Current hardware regime
Noisy intermediate-scale quantum
1

Definition and operating principles

A quantum algorithm transforms an input encoded in qubits into a measured output through quantum gates and circuits. Unlike a classical algorithm, it can place amplitudes in superposition, alter them through interference, and extract only limited information through measurement. The procedure is not a general shortcut for every computation: its performance depends on how a problem’s structure can be represented and amplified.4

Most algorithms combine reversible computation with a final measurement. The quantum Fourier transform and phase estimation are especially important because they reveal periodicity or eigenvalue information indirectly, rather than reading every component of a quantum state. Error-corrected versions require additional qubits and fault-tolerant operations to suppress physical noise.

2

Major algorithmic families

The best-known quantum algorithms target factoring, database search, simulation, and algebraic problems. Shor’s algorithm factors integers and computes discrete logarithms in polynomial time in the input length, threatening cryptosystems based on the classical difficulty of those problems. Grover’s algorithm searches an unstructured space in roughly the square root of the number of entries, a quadratic rather than exponential improvement.1

Other families include the Deutsch–Jozsa algorithm for a narrowly defined promise problem,2 amplitude amplification, quantum walks, and Hamiltonian-simulation methods for modeling physical systems. Variational algorithms, including the variational quantum eigensolver, use a classical optimizer to tune a parameterized quantum circuit and are intended for noisy devices, although their practical advantage is not established broadly.6

3

Complexity, applications, and limits

Quantum speedup is measured against the best relevant classical method, not against an arbitrary baseline. A quantum algorithm may reduce query complexity while offering little wall-clock benefit after state preparation, error correction, data loading, and measurement are included. Some results are exact and asymptotic; others are heuristic, approximate, or restricted to special input distributions.

Potential applications include cryptanalysis, quantum chemistry, materials modeling, optimization, and sampling. The quantum approximate optimization algorithm and related variational methods seek useful solutions without the deep circuits expected for fault-tolerant algorithms. Hardware demonstrations of quantum computational advantage have shown carefully selected sampling tasks, but they do not establish superiority for ordinary commercial workloads.3 Current devices operate in the noisy intermediate-scale quantum regime, where limited coherence and imperfect gates constrain circuit depth.4

4

Lesser-known aspects

Quantum algorithms often depend on a promise about the input, an oracle model, or access to data that may itself be expensive to prepare. These conditions explain why a textbook query advantage does not automatically become an application-level advantage. In particular, amplitude encoding can store many numerical amplitudes in a state, but extracting a useful classical answer may require many measurements.

Quantum algorithms also intersect with quantum error correction: fault-tolerant implementations replace fragile physical qubits with logical qubits and use error-correcting codes to make long computations possible. Some algorithms are designed around symmetry, sparsity, or conserved quantities, allowing circuits to be shortened for particular scientific models. Conversely, barren plateaus in some variational circuits can make classical parameter training difficult, linking algorithm design to circuit architecture and hardware connectivity.5

Glossary

qubit
The basic unit of quantum information, represented by a two-level quantum system.
superposition
A quantum state formed from a linear combination of basis states.
interference
The enhancement or cancellation of quantum amplitudes through their phase relationships.
oracle
A black-box operation that encodes a problem-dependent function for an algorithm to query.
fault tolerance
The use of error correction and protected operations to perform reliable computation despite physical noise.

Algorithmic speedups are stated in their standard computational models; practical performance depends on hardware, data access, error correction, and classical overhead.