MATH31020-2023-Quantum Computing V-Exam
MATH31020-2023-Quantum Computing V-Exam
Title:
Quantum Computing V
Time: 3 hours
Additional Material provided:
Materials Permitted:
Revision:
ED01/2023
University of Durham Copyright
Page number Exam code
2 of 4 MATH31020-WE01
SECTION A
Q1 Given the single qubit Hilbert space, consider the two unitary time evolutions
Û1 = σ1 σ2 σ3 ,
Û2 = σ3 σ2 σ1 ,
(a) How does the pure qubit state |ψi = a|0i + b|1i transform under the time
evolution Û1 ?
(b) Similarly, how does the same state |ψi transform under the time evolution Û2 ?
Q2 Discuss which of the following 2 × 2 matrices can describe a possible qubit density
matrix, and whether the corresponding qubit state is pure or mixed. Justify your
answer.
1 2 1 3 2 1 3 1
ρ1 = , ρ2 = , ρ3 = .
3 0 4 2 1 4 1 1
Q3 Show that the gate set {NOR, CNOT} (where NOR(x, y) := NOT(x OR y)) is a uni-
versal gate set for classical computation. You can assume that {NOT, AND, OR, CNOT}
is a universal gate set. Explain why {NOR, CNOT} cannot be a universal gate set
for quantum computation.
Q4 4.1 Show that the following circuit, written in terms of CNOT, controlled-U and
controlled-U † gates is equivalent to a CC-U 2 gate (controlled-controlled-U 2 ,
note that it is U 2 and not U here), with q1 and q2 the control qubits and q0
the target, for any unitary U :
4.2 Write the matrix representation of the action of this circuit in the computa-
tional basis.
4.3 Find a unitary U such that the CC-U 2 circuit above reduces to the quantum
Toffoli (CCNOT) gate.
ED01/2023 CONTINUED
University of Durham Copyright
Page number Exam code
3 of 4 MATH31020-WE01
SECTION B
where Iˆ denotes the single qubit identity operator and the Pauli matrices σj are
given by
0 1 0 −i 1 0
σ1 = , σ2 = , σ3 = .
1 0 i 0 0 −1
5.1 Show that Û is unitary and evaluate the action of Û on the computational
basis elements |xi ⊗ |yi, with x, y ∈ {0, 1}.
5.2 Consider now the 3-qubit state
1
|0i ⊗ |β00 i = |0i ⊗ √ |0i ⊗ |0i + |1i ⊗ |1i ,
2
in the bipartite system where Alice has access only to the first two qubits,
while Bob can only act on the third qubit. What are the possible outcomes,
with their respective probabilities and final states, if firstly Alice evolves her
two qubits with the unitary operator Û defined above, and then she measures
σ1 on her first qubit and σ3 on her second qubit?
Q6 Consider the ensemble {(p0 , |0i), (p1 , |1i), (p+ , |+i)}, i.e. the mixture of |0i with
probability 0 ≤ p0 ≤ 1, |1i with probability 0 ≤ p1 ≤ 1, and |+i with probability
0 ≤ p+ ≤ 1, subject to p0 + p1 + p+ = 1.
|0i+|1i
[Remember |+i = √
2
.]
6.1 Write the corresponding density operator, ρ̂, and its 2×2 matrix representation,
ρ, using the mapping of
the computational
basis ket vectors to the standard
1 0
basis vectors |0i 7→ and |1i 7→ .
0 1
6.2 For which values of p0 , p1 , p+ , if any, does ρ̂ describe a pure state?
6.3 Consider again the ensemble {(p0 , |0i), (p1 , |1i), (p+ , |+i)} for which we fixed
now p0 = p1 = p and p+ = 1 − 2p, with 0 ≤ p ≤ 21 . What is the expectation
value of the observable σ3 on this state?
ED01/2023 CONTINUED
University of Durham Copyright
Page number Exam code
4 of 4 MATH31020-WE01
0 0 1 0
8.1 Show that |0̄i = |0000i, |1̄i = |1111i provides a suitable encoding, by showing
that the single bit flip errors map the code subspace to orthogonal subspaces.
8.2 Find a set of three error syndromes that distinguish the code subspace and the
subspaces arising from single bit flip errors.
8.3 Show that X̄ = X0 X1 X2 X3 acts as the NOT operation on the logical qubit.
ED01/2023 END
University of Durham Copyright