Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Explainer

What famous quantum algorithms actually do

Names such as Shor and Grover can make quantum computing sound like a catalog of magic tricks. A better approach is to ask four questions for each algorithm: what is the input, what structure is assumed, what answer is returned and what resource improvement is established?

Edition released Entry updated Coverage: Overview
On this page

Early algorithms teach a mechanism

Deutsch and Deutsch-Jozsa extract a global property of a promised function in a query model. Bernstein-Vazirani learns a hidden parity string. Simon learns a hidden XOR period through repeated quantum samples and classical linear algebra. These examples are important because they reveal how phase and interference can expose structure. Their importance does not require pretending that the toy problem itself is a major commercial application.

Search improves a specific bottleneck

Grover's algorithm reduces oracle checks for an unstructured search task. It needs a coherent way to recognize acceptable candidates and uses an appropriate number of amplification steps. The improvement is quadratic in the standard model. It does not instantly search every real database, because classical indexes, input access and oracle construction can change the comparison. The problem definition is part of the result.

Period finding exploits number structure

Shor's factoring method reduces the task to order finding and classical arithmetic. Its theoretical efficiency is measured in input length, not the numerical value of the integer. A small factoring example can illustrate the logic but says little about practical resources at large sizes. The valuable insight is that arithmetic periodicity can be exposed by coherent operations and interpreted through classical postprocessing.

Estimation algorithms return limited quantities

Quantum phase estimation extracts eigenphase information from a specified unitary. Amplitude estimation targets a success probability. These procedures can support larger applications, but their assumptions about preparation, controlled operations, inverse access and precision must be satisfied. The algorithm name alone does not establish that an application has an advantage. The full path from real input to useful answer must be described.

Takeaway

Algorithms are specific procedures with specific promises. Learning their input, output and cost model is more useful than memorizing a list of names or treating every quantum speedup as the same phenomenon.

Sources

  • John Preskill, Caltech · Reference · preskill.caltech.edu
    Verification scope

    Recorded source check ·

    Quantum query methods, Fourier methods, phase estimation and algorithms

    Algorithm guarantees depend on access and resource models.

  • Peter W. Shor · Reference · arXiv
    Verification scope

    Recorded source check ·

    Theoretical factoring and discrete-logarithm algorithms and their scaling

    Expanded preprint of the 1994 result; no claim about contemporary cryptographic-scale execution.

  • Lov K. Grover · · Research paper · Publication status unspecified · arXiv
    Verification scope

    Recorded source check ·

    The version date comes from the arXiv submission record.

    Theoretical or mathematical source anchor; original definitions and worked instances are independent. No experimental or end-to-end performance claim inferred.

  • IBM Quantum Learning · Reference · quantum.cloud.ibm.com
    Verification scope

    Recorded source check ·

    Query model, Deutsch, Deutsch-Jozsa and Simon

    Query-model advantages are not automatically end-to-end practical speedups.

  • Gilles Brassard; Peter Hoyer; Michele Mosca; Alain Tapp · · Research paper · Publication status unspecified · arXiv
    Verification scope

    Selected source text checked ·

    Theoretical oracle model; independent examples do not constitute end-to-end hardware demonstrations.