Unit 2 Part2
Unit 2 Part2
Exercise 4.1: In Exercise 2.11, which you should do now if you haven’t already done
it, you computed the eigenvectors of the Pauli matrices. Find the points on the
Bloch sphere which correspond to the normalized eigenvectors of the different
Pauli matrices.
The Pauli matrices give rise to three useful classes of unitary matrices when they are
exponentiated, the rotation operators about the x̂, ŷ, and ẑ axes, defined by the equations:
−iθX/2 θ θ cos θ2 −i sin θ2
Rx (θ) ≡ e = cos I − i sin X = (4.4)
2 2 −i sin θ2 cos θ2
−iθY /2 θ θ cos θ2 − sin θ2
Ry (θ) ≡ e = cos I − i sin Y = (4.5)
2 2 sin θ2 cos θ2
−iθ/2
−iθZ/2 θ θ e 0
Rz (θ) ≡ e = cos I − i sin Z = . (4.6)
2 2 0 eiθ/2
Single qubit operations 175
Exercise 4.2: Let x be a real number and A a matrix such that A2 = I. Show that
exp(iAx) = cos(x)I + i sin(x)A. (4.7)
Use this result to verify Equations (4.4) through (4.6).
Exercise 4.3: Show that, up to a global phase, the π/8 gate satisfies T = Rz (π/4).
Exercise 4.4: Express the Hadamard gate H as a product of Rx and Rz rotations and
eiϕ for some ϕ.
If n̂ = (nx , ny , nz ) is a real unit vector in three dimensions then we generalize the
previous definitions by defining a rotation by θ about the n̂ axis by the equation
θ θ
Rn̂ (θ) ≡ exp(−iθ n̂ · σ /2) = cos I − i sin (nx X + ny Y + nz Z) , (4.8)
2 2
where σ denotes the three component vector (X, Y, Z) of Pauli matrices.
Exercise 4.5: Prove that (n̂ · σ )2 = I, and use this to verify Equation (4.8).
Exercise 4.6: (Bloch sphere interpretation of rotations) One reason why the
Rn̂ (θ) operators are referred to as rotation operators is the following fact, which
you are to prove. Suppose a single qubit has a state represented by the Bloch
vector λ. Then the effect of the rotation Rn̂ (θ) on the state is to rotate it by an
angle θ about the n̂ axis of the Bloch sphere. This fact explains the rather
mysterious looking factor of two in the definition of the rotation matrices.
Exercise 4.7: Show that XY X = −Y and use this to prove that
XRy (θ)X = Ry (−θ).
Exercise 4.8: An arbitrary single qubit unitary operator can be written in the form
U = exp(iα)Rn̂ (θ) (4.9)
for some real numbers α and θ, and a real three-dimensional unit vector n̂.
1. Prove this fact.
2. Find values for α, θ, and n̂ giving the Hadamard gate H.
3. Find values for α, θ, and n̂ giving the phase gate
1 0
S= . (4.10)
0 i
An arbitrary unitary operator on a single qubit can be written in many ways as a
combination of rotations, together with global phase shifts on the qubit. The following
theorem provides a means of expressing an arbitrary single qubit rotation that will be
particularly useful in later applications to controlled operations.
Proof
Since U is unitary, the rows and columns of U are orthonormal, from which it follows
that there exist real numbers α, β, γ,and δ such that
i(α−β/2−δ/2)
e cos γ2 −ei(α−β/2+δ/2) sin γ2
U= . (4.12)
ei(α+β/2−δ/2) sin γ2 ei(α+β/2+δ/2) cos γ2
Equation (4.11) now follows immediately from the definition of the rotation matrices and
matrix multiplication.
Exercise 4.9: Explain why any single qubit unitary operator may be written in the
form (4.12).
Corollary 4.2: Suppose U is a unitary gate on a single qubit. Then there exist unitary
operators A, B, C on a single qubit such that ABC = I and U = eiα AXBXC,
where α is some overall phase factor.
Proof
In the notation of Theorem 4.1, set A ≡ Rz (β)Ry (γ/2), B ≡ Ry (−γ/2)Rz (−(δ + β)/2)
and C ≡ Rz ((δ − β)/2). Note that
γ γ
δ+β δ−β
ABC = Rz (β)Ry Ry − Rz − Rz =I. (4.14)
2 2 2 2
Since X 2 = I, and using Exercise 4.7, we see that
γ γ
δ+β δ+β
XBX = XRy − XXRz − X = Ry Rz . (4.15)
2 2 2 2
Thus
γ γ
δ+β δ−β
AXBXC = Rz (β)Ry Ry Rz Rz (4.16)
2 2 2 2
= Rz (β)Ry (γ)Rz (δ) . (4.17)
Thus U = eiα AXBXC and ABC = I, as required.
1 1 1
Hadamard √
2 1 −1
0 1
Pauli-X
1 0
0 −i
Pauli-Y
i 0
1 0
Pauli-Z
0 −1
1 0
Phase
0 i
1 0
π/8
0 eiπ/4
Figure 4.2. Names, symbols, and unitary matrices for the common single qubit gates.