Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2023/ii/paper-2/15d/c/solution
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 15D c Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
The two registers start in . A quantum Fourier transform on the first and evaluation of giveThe first measurement, on the function register, returns . The compatible inputs are , so the normalized state becomes
Apply to the first register and put . Its state isThe geometric sum vanishes unless . Thus this isup to the unchanged second register. The outcomes each have probability , in accordance with the quantum Fourier transform of a periodic coset state.
For the stated second outcome,The continued-fraction algorithm therefore returns denominator . Since the numerator is coprime to the true period, exact period recovery from a Fourier sample succeeds, and direct evaluation confirms that the least period is
New to topics? Read the docs here!