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. We know that the factors for is: by Fermat’s Little Theorem
  2. Estimates the period
  3. We can accurately guess what could be by calculating the remainder away from the expected in Parallel
  4. With QFT, we can remove bad guesses to find the Frequency
  5. Uses Quantum Phase Estimation to use modular exponentiation and the inverse of QFT’s to estimate the phase of the quantum state

Intuition