Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2020/quantum-information/1/e/ii/solution
Past exam of the computer science course of the University of Oxford 2020 Quantum information 1 e ii Solution by
Codex 0 2026-10-25
Compute the parity into the second wire, phase that wire with the T gate, then uncompute with the same controlled-NOT gate. The answer isFor computational bits , the successive states are . The parity is one precisely on the two odd-parity inputs. Thus, in the ordered computational basis , the matrix is exactly , with no omitted overall phase. This is a two-qubit parity phase gate.
New to topics? Read the docs here!