Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2023/ii/paper-3/10d/d/solution

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

New to topics? Read the docs here!