Paper 2, Section II, 15C

Quantum Information and Computation
Part II, 2020

(a) Show how the nn-qubit state

ψn:=12nxBnx\left|\psi_{n}\right\rangle:=\frac{1}{\sqrt{2^{n}}} \sum_{x \in B_{n}}|x\rangle

can be generated from a computational basis state of Cn\mathbb{C}^{n} by the action of Hadamard gates.

(b) Prove that CZ=(IH)CNOT12(IH)C Z=(I \otimes H) C N O T_{12}(I \otimes H), where CZC Z denotes the controlled- ZZ gate. Justify (without any explicit calculations) the following identity:

CNOT12=(IH)CZ(IH)C N O T_{12}=(I \otimes H) C Z(I \otimes H)

(c) Consider the following two-qubit circuit:

What is its action on an arbitrary 2-qubit state ψϕ?|\psi\rangle \otimes|\phi\rangle ? In particular, for two given states ψ|\psi\rangle and ϕ|\phi\rangle, find the states α|\alpha\rangle and β|\beta\rangle such that

U(ψϕ)=αβ.U(|\psi\rangle \otimes|\phi\rangle)=|\alpha\rangle \otimes|\beta\rangle .

(d) Consider the following quantum circuit diagram

where the measurement is relative to the computational basis and UU is the quantum gate from part (c). Note that the second gate in the circuit performs the following controlled operation:

0ψϕ0ψϕ;1ψϕ1U(ψϕ).|0\rangle|\psi\rangle|\phi\rangle \mapsto|0\rangle|\psi\rangle|\phi\rangle ;|1\rangle|\psi\rangle|\phi\rangle \mapsto|1\rangle U(|\psi\rangle|\phi\rangle) .

(i) Give expressions for the joint state of the three qubits after the action of the first Hadamard gate; after the action of the quantum gate UU; and after the action of the second Hadamard gate.

(ii) Compute the probabilities p0p_{0} and p1p_{1} of getting outcome 0 and 1 , respectively, in the measurement.

(iii) How can the above circuit be used to determine (with high probability) whether the two states ψ|\psi\rangle and ϕ|\phi\rangle are identical or not? [Assume that you are given arbitrarily many copies of the three input states and that the quantum circuit can be used arbitrarily many times.]