Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 57 2 c Solution Created 2026-10-03 Updated 2026-10-14
For the known bit string , define the Pauli gate product . Its diagonal action is , where the binary inner product is taken modulo two. The Hadamard transform produces . Thus the required vectors for Grover search with a nonzero reflection label areThey remain orthonormal and . The new iterate is . Since commutes with the diagonal marked-state phase oracle and ,Consequently its matrix on the signed basis is exactly the rotation matrix in part (a), proving the claimed equivalence of the two evolutions.