Computer science Randomized, circuit, counting and interactive complexity Theorem
Grover's algorithm
Builds on Quantum Turing machineFunction
Statement
Let and let be a function with exactly one such that . Suppose is given as a quantum oracle . Let , and let be the integer nearest to . Then a quantum algorithm makes queries to the oracle and finds with probability at least . Here .
Remarks
The algorithm starts from the uniform superposition . Each iteration applies the oracle and then the reflection . Together these two reflections rotate the state by an angle in the plane spanned by and . So after iterations the state makes angle with the axis orthogonal to . The choice of makes this angle differ from by at most , so the success probability is at least .
Example: for one has , and a single iteration rotates from angle to angle . So one query finds with certainty, while a classical search needs up to three queries.
Any classical algorithm needs about queries on average. Bennett, Bernstein, Brassard and Vazirani proved that every quantum algorithm needs queries, so the speedup is optimal.
Going deeper
For a student
Grover's method is an instance of amplitude amplification: two reflections, one about the marked states and one about the start state, rotate the state toward the answer. The same idea speeds up any algorithm that succeeds with small probability , using about repetitions instead of . Applied to brute-force search, it gives a quadratic speedup for NP problems such as SAT. It does not put NP inside BQP, because is still exponential.
Reading path
To understand this page from the ground up, read these 15 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Element definition
- Proposition concept
- Quantum Turing machine concept
- Set definition
- Implication definition
- Predicate definition
- Ordered pair definition
- Existential quantifier definition
- Universal quantifier definition
- Cartesian product definition
- Subset definition
- Uniqueness quantifier definition
- Binary relation definition
- Function definition
- Grover's algorithm statement
Further reading
About this page
| Tag | K9QPQH4YKY |
|---|---|
| URI | m2://K9QPQH4YKY |
| Kind | statement, theorem |
| Writing | W0 stub |
| MSC | 68Q12, 81P68 |
| Status | This copy of the site has no build data. Run m2 status K9QPQH4YKY. |
| About | Quantum complexity class BQP |
| Uses | Quantum Turing machine, Function |
| Same as | |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.