FAC ∈ BQP (Shor)
Statement
Factoring is in BQP: a quantum algorithm finds a nontrivial factor of an -bit composite with constant success probability using quantum gates with fast integer multiplication, or with schoolbook arithmetic — Shor97.
Sketch
Factoring reduces classically to finding the multiplicative order of a random : for odd that is not a prime power, the other cases being handled classically, with probability at least the order is even, , and is a nontrivial factor. The order is the period of , which the quantum Fourier transform over with recovers through continued fractions — Shor97.
Notes
- The same period finding solves discrete logarithms, so factoring- and discrete-logarithm-based cryptography fall to a large quantum computer — Shor97.