Solution

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

Use the standard ancilla-assisted Pauli measurement. To measure a Pauli , reset the ancilla to , apply , apply the controlled version of every nonidentity factor of with the ancilla as control, apply again, and measure the ancilla in the computational basis. The preceding calculation shows that outcome projects the data with
First use this circuit with , obtaining . Since the measured ancilla is , apply the classically controlled correction to reset it to . Reuse it to measure , obtaining . All controlled Pauli gates and single-qubit corrections are Clifford gates. Since , the final data state is
Thus one resettable ancilla implements both measurements of the PBC without disturbing the already measured Pauli eigenvalue.

New to topics? Read the docs here!