Library Web

How does Shor's algorithm factor integers?

Shor's algorithm is a quantum algorithm developed by Peter Shor in 1994 to find the prime factors of an integer. On a quantum computer, it runs in polynomial time, demonstrating a superpolynomial speedup compared to the best known classical algorithms like the general number field sieve. It achieves this by transforming the factoring problem into a period-finding problem.

What we know

Where to go next

Sources