Professional Documents
Culture Documents
Exercise 2 - The Qubit - v1.0
Exercise 2 - The Qubit - v1.0
Superposition
a) Find R(z).
The real part of z is give by R(z) = -3
b) Find I(z).
The imaginary part of z is given by I(z) = -1
d) Write z in polar form reiθ . Hint: The angle should be between π and 3π /2 (i.e., 180º
and 270º ).
r = mod(z) ¿∨z∨¿ √ (−3 )2+ (−1 )2=√ 10
θ = arg(z)¿ arctan( )
−1
−3
=arctan ()
1
3
+π=
3π
4
(we add pi to keep it in the right quadrant)
3π
Therefore, z in polar form is: z=√ ( 10 )∗ei 4
e) Find z*.
The complex conjugate of z is z* = -3 + i
f) Find |z|.
¿ z∨¿ √ (−3 ) + (−1 ) =√ 10
2 2
g) Find |z|2.
2
√ 10 =10
María Longo García
3º Ingeniería Matemática UFV
Measuring
Exercise 2.7. The following two states are opposite points on the Bloch sphere:
We can get either |a⟩ or |b⟩ as outcomes. The probabilities of getting these outcomes can
be calculated as follows:
2 2 ( ) ()
P(¿ a ⟩)=¿− ∗ √ + ∗ ∨¿2 ¿
i 3 1 i
2 2
1
P(¿ a ⟩)=
4
P(¿ b ⟩)=¿ (
−i 1 1 √3
)⟨ a∨+( )⟨ b∨( ∨0 ⟩− |1 ⟩ )∨ ¿
2
2 2 2 2
2 2 2 2() ( )
i i 1 √3 2
P(¿ b ⟩)=¿− ∗ + ∗ ∨¿
3
P(¿ b ⟩)=
4
María Longo García
3º Ingeniería Matemática UFV
Bloch Sphere
a) Where on the Bloch sphere is this state? Give your answer in (θ,φ) coordinates.
1−i
α=
2 √2
β= √
3
2
φ= Arg
β
α ( )
|α|= |√|
1−i 1
=
2 2 2
Exercise 2.11. Consider a map U that transforms the Z-basis states as follows:
a) Calculate U|ψ⟩.
U |0 ⟩=
√ 3 |0 ⟩ + √3+ i ∨1 ⟩
2 4
U |1 ⟩ = √ |0 ⟩ − √
3+i 3+3 i
∨1 ⟩
4 4
U|ψ⟩ = U(α|0⟩ + β|1⟩)
= αU|0⟩ + β U|1⟩
= α(√3/2 |0⟩ + (√3+i)/4 |1⟩) + β(√(3+i)/4 |0⟩ - (√3+3i)/4 |1⟩)
= (√3/2 α + √(3+i)/4 β) |0⟩ + ((√3+i)/4 α - (√3+3i)/4 β) |1⟩
Normalization:
U preserves normalization.
Unitarity:
UT = [(√3/2)* (√(3+i)/4)*]
[((√3+i)/4)* - (√3+3i)/4*]
María Longo García
3º Ingeniería Matemática UFV
UTU = [(√3/2)* (√(3+i)/4)*] [√3/2 (√(3+i)/4)]
[((√3+i)/4)* - (√3+3i)/4*] [(√3+i)/4 -(√3+3i)/4*]
= [(4+i)/2 0 ]
[0 (4+i)/2]
=I