Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2023/iii/paper-324/1/b/i/solution

Put and . After the first Hadamard gate and the two controlled Pauli gates, the joint state is
The final Hadamard gate changes this to
Conditioned on ancilla outcome , the normalized data state is therefore
Write the input in the two eigenspaces of as
where the displayed eigenstates are normalized. A direct PBC measurement gives
with probabilities and . Hence the ancilla circuit and the Pauli measurement have identical outcome distributions and conditional data states after identifying the Pauli outcome with .

New to topics? Read the docs here!