Professional Documents
Culture Documents
Ps 2 Solutions
Ps 2 Solutions
MIT 2.111/8.411/6.898/18.435
Quantum Information Science I
September 16, 2010
1. Density matrices. A density matrix (also sometimes known as a density operator) is a representation
of statistical mixtures of quantum states. This exercise introduces some examples of density matrices,
and explores some of their properties.
(a) Let |ψi = a|0i + b|1i be a qubit state. Give the matrix ρ = |ψihψ|, which you may compute using
linear algebra using the vector representations of |ψi and hψ|. What are the eigenvectors and
eigenvalues of ρ?
Answer:
|a| ab∗
2
a
a∗ b∗ =
ρ = |ψihψ| =
b ba∗ |b|2
ρ0 +ρ1
(b) Let ρ0 = |0ih0| and ρ1 = |1ih1|. Give the matrix σ = 2 . What are the eigenvectors and
eigenvalues of σ?
Answer:
1 1 1 1 0
σ = |0ih0| + |1ih1| =
2 2 2 0 1
1
The eigenvalues of σ are both 2 and the eigenvectors are
|0i, |1i
Answer:
∞ ∞ 0 ∞ 0
X 1 X (−1)k 2k0
X i(−1)k 0
exp(iθ~v · ~σ ) = (iθ~v · ~σ )k = 0
(θ~
v · ~
σ ) + 0
(θ~v · ~σ )2k +1
k! 0
(2k )! 0
(2k + 1)!
k=0 k =0 k =0
X3 3
X
(~v · ~σ )2 = ( vi σi )2 = vi vj σ i σ j
i=1 i,j=1
σi σj + σj σi = 0 and σi2 = I
Hence,
3
X
(~v · ~σ )2 = vi2 I = I
i=1
Therefore,
0 0 0 0
(θ~v · ~σ )2k = θ2k I (θ~v · ~σ )2k +1 = θ2k +1~v · ~σ
and
∞ 0 ∞ 0
X (−1)k 2k0 X (−1)k 0
exp(iθ~v · ~σ ) = 0 )!
θ I +i 0 + 1)!
θ2k +1~v · ~σ = cos θI + i sin θ~v · ~σ
0
(2k 0
(2k
k =0 k =0
3. Hadamard operator on n qubits. The Hadamard operator on one qubit may be written as
1 h i
H = √ (|0i + |1i)h0| + (|0i − |1i)h1| . (2)
2
Show explicitly that the Hadamard transform on n qubits, H ⊗n , may be written as
1 X
H ⊗n = √ (−1)x·y |xihy|. (3)
2n x,y
1 h i X
H = √ (|0i + |1i)h0| + (|0i − |1i)h1| = (−1)x1 ·y1 |x1 ihy1 |
2 x1 ,y1
Id: hw2.tex,v 1.4 2009/02/09 04:31:40 ike Exp 3
X
H ⊗n = ⊗ni=1 ( (−1)xi ·yi |xi ihyi |)
xi ,yi
Pn
Define |xi = ⊗|xi i, |yi = ⊗|yi i, x · y = i=1 xi · yi
Therefore,
X X X
H ⊗n = ⊗ni=1 ( (−1)xi ·yi |xi ihyi |) = (⊗ni=1 (−1)xi ·yi |xi ihyi |) = (−1)x·y |xihy|
xi ,yi x,y x,y
In particular,
1 1 1 1
1 1 1 1 1 1 1 1 −1 1 −1
H ⊗2 = √ ⊗√ =
2 1 −1 2 1 −1 2 1 1 −1 −1
1 −1 −1 1
U is unitary if U † U = I.
θ θ
Define cos 2 = |a0 |, then |a1 |2 + |a2 |2 + |a3 |2 = | sin 2 |.
Define
θ
nx = |a1 |/| sin |
2
θ
ny = |a2 |/| sin |
2
θ
nz = |a3 |/| sin |
2
As
That is,
θ θ
U = exp(iα) cos I − i sin (nx X + ny Y + nz Z) = exp(iα)Rn̂ (θ)
2 2
1
H = √ (X + Z)
2
1 1
α = π/2, θ = π, nx = √ , ny = 0, nz = √
2 2
Id: hw2.tex,v 1.4 2009/02/09 04:31:40 ike Exp 5
Answer:
1+i 1−i
S= I+ Z
2 2
α = π/4, θ = π/2, nx = 0, ny = 0, nz = 1