Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2023/ii/paper-3/15d/d/solution
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 15D d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
After the first Hadamard gate and the controlled unitary gate, the state isThe final Hadamard gate givesHence the Hadamard test returns one with probabilityIf , then and the outcome is zero with certainty. If , then modulo and the outcome is one with certainty. The single measurement therefore distinguishes the two promised cases exactly.
New to topics? Read the docs here!