Assignment_1
Assignment_1
Assignment 1
1. Quantum theory
1.1
A = r0 1 + rx σx + ry σy + rz σz ,
with r0 , rx , ry , rz ∈ R.
(c) Show that this basis is moreover orthogonal with respect to the (so-called Hilbert-Schmidt) inner
product
⟨A, B⟩ := tr(AT B).
1
Now that this is cleared out, we can go into check if the conditions are satisfied.
• Closed under the sum. This is, A + B → − C, where all the matrices are in H2 .
Knowing that A and B are. of course, in H2 , we can assure that they have the following
form, following eq.1,
a z1 b z2
A= 1 B= 1 .
z1 a2 z2 b2
So, it is easy to check that,
a + b1 z1 + z2 a + b1 z1 + z2 c z3
A+B = 1 = 1 = 1 =C
z1 + z2 a2 + b2 z1 + z2 a2 + b2 z3 c2
Where C is clearly in H2 as it has the same form that we defined before for A and B.
• Closed under the multiplication by scalars. In this case we just have to check that if
A ∈ H2 , then c · A is still in H2 for c ∈ R. We directly check if c · A = (c · A)† .
c · A = (c · A)† = c · A† = c · A† = c · A.
A + B = (A + B)† = A† + B † = B † + A† = B + A.
Where we have used the commutativity for the sum in general matrices.
• Associativity Again, using the definition that was given before (eq.1) and associativity
condition from R and C, it is easy to check that (A + B) + C = A + (B + C)
(a1 + b1 ) + c1 (z1 + z2 ) + z3 a1 + (b1 + c1 ) z1 + (z2 + z3 )
= .
(z1 + z2 ) + z3 (a2 + b2 ) + c2 z1 + (z2 + z3 ) a2 + (b2 + c2 )
• Existence of the null element This can be proved by finding the null element that in
this case is,
0 0
0= .
0 0
0 + A = (0 + A)† = (A)† = A.
From eq.1 we now the general form of the matrices in H2 , but we can also give this additional
definition expressed just in real parameters,
a x + iy
A= , where a, b, x, y ∈ R.
x − iy b
2
Taking into account that the matrices as shown in this form depend only on 4 real parameters,
this coincides with r0 , rx , ry , rz . This is a good sign.
Now, we check the possible combinations,
1 0 0 1 0 −i 1 0 r + rz rx − iry
A = r0 + rx + ry + rz = 0 . (3)
0 1 1 0 i 0 0 −1 rx + iry r0 − rz
Solving this system, it is found that this is only possible if r0 = rx = ry = rz = 0. Thus we can
confirm that {1, σx , σy , σz } is a basis of H2 , then every matrix in H2 can be represented as a
unique linear combination of the elements of the basis, this is
A = r0 1 + rx σx + ry σy + rz σz .
c) Now, we are asked to show that the basis shown above is orthogonal with respect to the following
inner product,
⟨A, B⟩ = tr(A† B).
We just have to show that ⟨x, y⟩ = 0 for x, y whichever different elements of the basis. It becomes
easier after realising that as the space is H2 , the inner product can be expressed just as
Now, we go onto showing that all the possible crossed products are zero.
First of all, because we are working with the Pauli matrices, it is clear that
Taking advantage of another property of the Pauli matrices ((σi )2 = 1), and the trace of 1 is
2. So, ⟨σi , σi ⟩ = 2 (the basis is not normal). Now checking the crossed inner products for the
different combinations, we find
i 0
⟨σx , σy ⟩ = tr(σx , σy ) = tr = 0.
0 −i
0 −1
⟨σx , σz ⟩ = tr(σx , σz ) = tr = 0.
1 0
0 i
⟨σy , σz ⟩ = tr(σy , σz ) = tr = 0.
i 0
Thus, the basis is orthogonal.
d) Here, we have to prove that ρ is a density matrix if and only if
1
ρ= 1 + rx σx + ry σy + rz σz .
2
We will start from
ρ = r0 1 + rx σx + ry σy + rz σz
and prove everything checking the different properties of a density matrix.
First, we know that for a density matrix, tr(ρ) = 1,
3
then r0 = 12 .
The next condition that we will check is that ρ has to be positive semidefinite. This is that all
the eigenvalues of ρ have to be equal or greater than zero.
So, from eq.3 we calculate the eigenvalues. The calculus will not be included in this paper as it
is not of importance (simple eigenvalue problem), the result for the eigenvalues is,
λ = r0 ± (rx + ry + rz )1/2 .
4
1.2
(a) What is the reduced state of parties B and C? What is the reduced state for party A?
(b) Suppose A measures her qubit in the computational basis. What are the probabilities of each
possible outcome? What are the corresponding post-measurement states for ABC? And the
corresponding reduced post-measurement states for BC?
(c) Answer the same questions as above if A measures her qubit in the basis {|+⟩, |−⟩}.
1
ρBC = (2|01⟩⟨01| + 2|10⟩⟨10| + |00⟩⟨00|).
3
2 1
P (|0⟩A ) = , P (|1⟩A ) = ⇒ Observed directly from the coefficients in ρA (shown above).
3 3
This probabilities can also be obtained using the projective measure Pi = |i⟩⟨i|, then
2 1
P (|0⟩A ) = tr(|0⟩⟨0|ρA ) = , P (|1⟩A ) = tr(|1⟩⟨1|ρA ) = .
3 3
5
If the measured state is |0⟩A :
1
|W ′ ⟩ = √ (|001⟩ + |010⟩)
2
If the measured state is |1⟩A :
|W ′ ⟩ = |100⟩
For which we get that the reduced post-measured states are:
If we measure |0⟩A then
1
ρ′BC = (|01⟩ ⟨01| + |01⟩ ⟨10| + |10⟩ ⟨01| + |10⟩ ⟨10|)
2
1
⇒ ρ′BC = (|01⟩ + |10⟩) (⟨01| + ⟨10|)
2
1
⇒ |ψ ′ ⟩BC = √ (|01⟩ + |10⟩)
2
If we measure |1⟩A then
1
|W ⟩ = √ (|0⟩ ⊗ (|01⟩ + |10⟩) + |1⟩ ⊗ |00⟩)
3
1 |+⟩ + |−⟩ |+⟩ − |−⟩
=√ √ ⊗ (|01⟩ + |10⟩) + √ ⊗ |00⟩
3 2 2
1
= √ (|+⟩ ⊗ (|10⟩ + |01⟩ + |00⟩) + |−⟩ ⊗ (|10⟩ + |01⟩ − |00⟩)) .
6
All the states have the same probability (can easily be seen just by looking at the coefficients).
1 1
P (|+⟩A ) = , P (|−⟩A ) = .
2 2
As before, this probabilities are also found using the projective measure,
1 1
P (|+⟩A ) = tr(|+⟩A ⟨+|A |W ⟩⟨W |) = , P (|−⟩A ) = tr(|−⟩A ⟨−|A |W ⟩⟨W |) = .
2 2
Now we compute the post-measurements:
If |+⟩A ⇒ |W ′ ⟩ = √1
3
|+⟩ ⊗ (|10⟩ + |01⟩ + |00⟩)
If |−⟩A ⇒ |W ′ ⟩ = √1
3
|−⟩ ⊗ (|10⟩ + |01⟩ − |00⟩)
and the reduced states are:
1
|W+′ ⟩BC = √ (|10⟩ + |01⟩ + |00⟩) .
3
1
|W−′ ⟩BC = √ (|10⟩ + |01⟩ − |00⟩) .
3
6
1.3
What is the probability of obtaining the outcome 0 on a measurement in the computational basis
on the first qubit? Conditioned on this outcome, what would be the post-measurement state of the
n-qubit system and the corresponding reduced state for the last n − 1 qubits?
From this expression it is easy to obtain the probability of measuring 0 on the first qubit,
X
P (0) = |α0,x2 ,...,xn |2 .
x2 ,...,xn =0,1
This can be expressed as the state for n − 1 qubits in the following way,
1 X
|ψ⟩ = P · α0,x2 ,...,xn |x2 , ..., xn ⟩
[ x2 ,...,xn =0,1 |α0,x2 ,...,xn |2 ]1/2 x
2 ,...,xn =0,1