For coprime integers with , the multiplicative order of modulo is
The Fermat-Euler theorem gives
so the multiplicative order exists. For every integer ,
Thus the modular exponential is periodic with period . If were a smaller period, then would give , contradicting the minimality of . Hence is its least positive period.
Modulo ,
so . This order is even and
The factor extraction from an even modular order therefore gives
Thus
The quantum Fourier transform measurement supplies a rational approximation
where is the desired multiplicative order. Here
Its reduced continued fraction convergent has denominator two, so continued-fraction recovery in quantum order finding proposes . Direct order verification from divisors confirms it:
Hence
As a check, the classical final step of the Shor algorithm gives

Articles by others on the same topic (0)

There are currently no matching articles.