Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2013/iii/paper-58/1/b/solution
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 58 1 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
Use the quantum Fourier transform convention , where . Reindexing the shifted sum givesThus the cyclic shift operator has these eigenvectors, with eigenvalues . This is cyclic shift diagonalization by the quantum Fourier transform, and it implies with .
For , the binary encoding is , with the more significant qubit. The required diagonal phase isso . The allowed-gate circuit is thereforeIn execution order, apply the inverse QFT, then the two phase gates, then the forward QFT. There is no extra global phase. Reversing the Fourier sign convention would conjugate both phase gate parameters.
New to topics? Read the docs here!