This is a factoring algorithm reserved for Quantum Computing, used to factor numbers exponentially faster than Classical Computers. Converts a NP problem into a polynomial time problem.

Algorithm

We want to find , where , Given

  1. Estimates the period
  2. We can accurately guess what could be
  3. Repeats with QFT, allowing the algorithm to find the period efficiently
  4. Uses Quantum Phase Estimation to use modular exponentiation and the inverse of to estimate the phase of a quantum state