Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2022/ii/paper-3/15d/b/solution
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 3 15D b Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Use the conventionChanging the summation variable from to givesThus the Fourier-basis states are eigenvectors of the cyclic shift, with respective eigenvalues , and the cyclic shift diagonalization by the quantum Fourier transform is
For , write with . ThensoHence the required quantum circuit applies, from input to output,The first phase gate acts on the most significant qubit and the second on the least significant qubit .
New to topics? Read the docs here!