OF

Order Finding

Cryptography & Number Theory

The quantum core of Shor's algorithm: given a and N, find the smallest r with a^r = 1 (mod N). Classically this period-finding is as hard as factoring; quantumly, phase estimation on the modular-multiplication unitary extracts r efficiently because the function's periodicity becomes a phase pattern the QFT can read. Order finding generalises to the hidden subgroup problem, the framework unifying most exponential quantum speedups in algebra.

Key factFor RSA-2048, a widely cited estimate (Gidney & Ekerå, 2019) is ~20 million physical qubits running ~8 hours at realistic error rates.
Leader lensWhen someone quotes 'quantum computers break RSA', this subroutine is what they mean, and the resource estimate is the part to quote back.