Shor's Algorithm

Quantum period finding and integer factorization — visualized step by step

Shor 1994: factor N by finding period r of f(x)=aˣ mod N via QFT — then gcd(a^{r/2}±1, N) yields factors