Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 51 1 c Solution Created 2026-10-03 Updated 2026-10-14
All four promised functions have . Use quadratic Boolean phase cancellation: apply a Controlled-Z gate to remove the phase , then apply the Walsh-Hadamard transform. With the rightmost gate acting first, chooseBecause and the Controlled-Z gate commutes with the Pauli Z gates,The quantum measurement in the computational basis consequently producesEach answer occurs with probability one for its promised Boolean quantum oracle.