QuantumAtlas

Research Explained · Algorithms

On the Power of Quantum Computation

Daniel R. Simon

Université de Montréal · 1997 (conference version 1994) · Difficulty ★★★★☆

Reference

Simon, D. R. (1997). On the power of quantum computation. SIAM Journal on Computing, 26(5), 1474-1483. Conference version: Proceedings of the 35th Annual Symposium on Foundations of Computer Science (1994), 116-123.

This page is an independent explanation. For exact wording, figures, and data, read the original paper.

The short version

Daniel Simon describes a problem that a quantum computer solves exponentially faster than any classical probabilistic computer, in the oracle setting. The algorithm finds a hidden bit string using a Fourier transform and was the direct inspiration for Shor's factoring algorithm.

Key findings

  • Given a function that is two-to-one with a hidden XOR period s, a quantum computer finds s with about n queries, while any classical probabilistic algorithm needs exponentially many.
  • The quantum algorithm uses superposition, a measurement of one register to collapse the other, and a Hadamard transform to extract a random string orthogonal to s.
  • Collecting about n such strings and solving a linear system over the field with two elements gives s.
  • This is the first problem with a proven exponential separation between quantum and randomized classical computation, though in the oracle model.

Background: why this paper was written

By 1993 Bernstein and Vazirani had shown that quantum computers can sometimes outperform classical ones, and the Deutsch-Jozsa algorithm had given an exponential speedup over deterministic algorithms. These results left a major gap: the classical comparison was either to deterministic algorithms, which are weak, or the separations were only polynomial. Randomized classical algorithms can solve the Deutsch-Jozsa problem with a few queries, so it did not show that quantum computers beat probabilistic machines.

Simon was studying the power of quantum computation and tried to find a problem for which quantum computers have an exponential advantage even over randomized classical algorithms. His first submission to a conference was rejected, and the revised paper was accepted at the 1994 Symposium on Foundations of Computer Science, in the same session as Peter Shor's paper on factoring.

What the researchers did

The problem is defined for a function f from n-bit strings to n-bit strings, with the promise that there is a hidden string s such that f of x equals f of y exactly when y equals x or x XOR s. A classical algorithm can only learn about s by finding a collision, two inputs with the same output, and by the birthday paradox this takes about 2 to the n over 2 queries even for a randomized algorithm.

The quantum algorithm prepares two n-qubit registers, applies Hadamard gates to the first to make a superposition of all inputs, and applies the oracle to write f of x into the second register. Measuring the second register collapses the first to a superposition of the two inputs x and x XOR s that map to the observed value. Applying Hadamard gates to the first register and measuring gives a string y that satisfies y dot s equal to 0 modulo 2, and every such y is equally likely.

Repeating the procedure about n times yields n minus 1 linearly independent strings with high probability, and a classical computer solves the linear equations by Gaussian elimination to find s. The total number of queries is O of n, against exponentially many classical queries, which the paper proves by a lower bound argument for any probabilistic classical algorithm.

Results

The main result is an exponential separation in query complexity between quantum computers and classical probabilistic computers, relative to an oracle.

The structure of the algorithm, a Fourier transform over a group followed by sampling, was generalized by Shor to the cyclic group of integers modulo N, leading to polynomial-time factoring.

Later work placed Simon's problem in the framework of the hidden subgroup problem for abelian groups, which Kitaev's work on phase estimation also solves.

Key facts and numbers

ItemDetail
Year1994 conference; 1997 journal version
Quantum queriesAbout n, plus classical linear algebra
Classical queriesExponential, about 2^(n/2), even for randomized algorithms
InfluenceDirect inspiration for Shor's algorithm
CryptanalysisKuwakado and Morii (2010 and 2012), Kaplan et al. (2016)

Limitations and caveats

The problem is artificial, and the speedup is proven only relative to an oracle. It says nothing about problems without a black-box structure.

Simon's algorithm needs the function to satisfy a strict promise, and it does not help with general search.

In practical cryptanalysis, the oracle would have to be a quantum implementation of a cipher that the attacker can query in superposition, which is not a standard setting.

Why it matters

Simon's algorithm gave the template for the period-finding approach in Shor's algorithm, and it has been used to analyze symmetric cryptographic constructions in models where an attacker can query a cipher in quantum superposition.

What happened next

Kuwakado and Morii showed in 2010 and 2012 that Simon's algorithm breaks the three-round Feistel construction and the Even-Mansour cipher in the superposition-query model, and Kaplan, Leurent, Leverrier, and Naya-Plasencia extended the idea to attacks on several symmetric-key modes in 2016.

The paper is also a standard teaching example for quantum speedups, since it is simple enough to analyze completely and shows the key ideas of interference and Fourier sampling.

How to read the original paper

The paper is short and clear. The central sections give the algorithm and the lower bound. Readers new to the subject can follow the algorithm with just linear algebra over the field with two elements.

The Simon's algorithm page on this site walks through a three-bit example.

Original abstract (paraphrased)

The paper considers the problem of determining whether a given function is one-to-one or two-to-one with a hidden period. It shows that a polynomial-time quantum algorithm exists for the problem while any classical probabilistic algorithm requires exponential time in the oracle model, providing evidence that quantum computers are more powerful than classical probabilistic ones.

Frequently asked questions

What problem does Simon's algorithm solve?

Finding a hidden bit string s for a function that gives equal outputs exactly for inputs that differ by s.

Why is it important?

It was the first proven exponential separation between quantum and randomized classical computers, and it inspired Shor's algorithm.

Does it break real encryption?

Only in models where an attacker can query the cipher in quantum superposition. It does not affect ordinary encryption on the internet.

Keep exploring

Explanations on this page summarize published work for education (last reviewed September 30, 2026). Numbers are taken from the cited paper or from widely reported follow-up work, and later results may have updated or challenged them. Check the reference above before citing.

← Back to all research papers