Quantum order finding (source code)

= Quantum order finding

<Quantum order finding> Fourier-transforms a superposition of arguments having the same modular-exponentiation value, producing peaks near multiples of the reciprocal period.