Lecture Notes Quantum Computing and Quantum Information: ES 643 Indian Institute of Technology Gandhinagar, 2018
Lecture Notes Quantum Computing and Quantum Information: ES 643 Indian Institute of Technology Gandhinagar, 2018
R.R.Puri
Contents
3
4 CONTENTS
Chapter 1
5
6 CHAPTER 1. DENSITY OPERATOR OR DENSITY MATRIX
which it would collapse when a measurement of its z-component is made.
As an analogy of the ensembles Ex and Em , consider a collection of
normal fair coins i.e. the coins having head on one side and tail on the
other with equal probability of showing head up and tail up on landing on
the ground after tossing. When these coins are tossed up no coin knows
whether it will land with head up or tail up but the number of coins landing
with head up will be same as the number landing with tail up within, of
course, statistical error margin. In this regard the ensemble of normal fair
coins tossed up (i.e. while in air) is akin to the ensemble Ex . The act of
landing on ground is akin to making measurement of the z-component of
the qubit.
Now, consider an ensemble of coins half of which have head on both the
sides and the other half tail on both the sides. This is akin to the ensemble
Em . Pick up a coin at random from the given ensemble to see whether it
has head or tail on it. Within statistical error, we will pick up coins with
head half the time and the coins with tail the other half of the time. This is
akin to making measurement of the z-component of the qubit drawn from
the ensemble Em .
We thus see that the ensemble Em is very much different from the
ensemble Ex . In order to identify the state of Em , we consider the results
of measurement, not only of the z-component of the qubits drawn from
Em , but those of an arbitrary observable Â. The expectation value of the
observable for measurement on the qubits drawn in the state |0i would be
h0|Â|0i and that on the qubits drawn in the state |1i would be h1|Â|1i.
Since the probability that the qubit drawn is in state |0i is the same as
that when it is drawn in the state |1i, the average value of the observable
for measurement on all the qubits will evidently be
1
hÂi = (h0|Â|0i + h1|Â|1i) = Tr(Â{|0ih0| + |1ih1|})
2
= Tr(Âρ̂), (1.1)
where we have used the identity
Tr(P̂ |ψihφ|) = hφ|P̂ |ψi, (1.2)
and introduced the object
1
ρ̂ = (|0ih0| + |1ih1|), (1.3)
2
called the density matrix. The expression (1.1) shows that, knowing ρ̂, we
can determine the expectation value of the measurement of any observable
on the qubits in the ensemble Em . We have thus shown that the state of
Em is characterized by the density matrix given in (1.3).
1.2. PROPERTIES OF DENSITY MATRIX 7
Since it is a “mixture” of different states, we say that the ensemble Em ,
and hence the density matrix (1.3), describe a “mixed state”.
The considerations above may be generalized to an ensemble consisting
of large number N of systems each known to be in one of the n state |ψk i
(k = 1, 2, . . . , n). Let the number of systems in the state |ψk i be Nk . Hence
the probability that a system drwan from the ensemble would be found in
the state |ψk i is pk = Nk /N . As in the example discussed above, consider
the result of measurement of an arbitrary observable on the systems drawn
from the ensemble and show that the state of the ensemble is described by
the density matrix
n
X n
X
ρ̂ = pk |ψk ihψk |, pk = 1. (1.4)
k=1 k=1
The states |0i and |x, 0i are not orthogonal. In general we can have a
mixture of qubits each of which is in one of the n states |θk , φk ; 0i (k =
1, 2, . . . , n). Such an ensemble is characterized by the density matrix
n
X
ρ̂ = pk |θk , φk ; 0ihθk , φk ; 0|. (1.6)
k=1
The last line is due to the property hψ|ψk i = hψk |ψi∗ of the scalar
product. Since the right hand side of the equation above is positive,
it follows that hψ|ρ̂|ψi ≥ 0. Now, a matrix  is called positive, and is
indicated by  ≥ 0, if hψ|Â|ψi ≥ 0 for all |ψi. Hence ρ̂ is a positive
matrix i.e.
ρ̂ ≥ 0. (1.11)
λk ≥ 0, k = 1, 2, . . . , n. (1.15)
Since, as shown in (1.15), the λ0i s are non negative, it follows from the
equation above that, in order that their sum be unity, each eigenvalue
must be less than one i.e. the eigenvalues of ρ̂ satisfy the condition
0 ≤ λi ≤ 1, i = 1, 2, . . . , n. (1.17)
where the inequality is due to the fact that λ2i ≤ λi and |hψ|λi i|2 ≥ 0.
The result above implies that hψ|ρ̂ − ρ̂2 |ψi ≥ 0 for all |ψi i.e.
ρ̂2 ≤ ρ̂. (1.23)
The equality would hold when ρ̂ represents a pure state as in that case
it is given by ρ̂ = |ΨA ihΨA | which implies ρ̂2 = |ΨA ihΨA |ΨA ihΨA | =
|ΨA ihΨA | = ρ̂.
10. Let the density matrix of a system at time t = 0 be given by
n
X
ρ̂(0) = ρij |ai ihaj |. (1.24)
i,j=1
Let the system evolve under the hamiltonian Ĥ so that the state |ai i
at time t is given by |ai (t)i. Hence, the density matrix at time t would
be
Xn
ρ̂(t) = ρij |ai (t)ihaj (t)|. (1.25)
i,j=1
where a0 and the b0i s are real. Next, it should have unit trace. To that end,
note that Tr(I) = 2 and
Tr(σ̂µ ) = 0, µ = x, y, z. (1.29)
We thus see that a = hσ̂i i.e. a is the Bloch vector of the qubit. We can
thus rewrite (1.33) as
1
ρ̂ = (I + hσ̂i · σ̂) , |hσ̂i| ≤ 1. (1.37)
2
(You are expected to remember this equation). The condition
|hσ̂i| ≤ 1 means that the length of the Bloch vector of a qubit in mixed
state is less than unity. The case |hσ̂i| = 1 corresponds to the qubit in pure
state. In explicit form, the condition |hσ̂i| ≤ 1 reads
The Eq.(1.37) shows that the density matrix is characterized by the vector
hσ̂i of length less than unity. We can visualize this vector as the one from
the centre of a ”ball” of unit radius to a point inside it. The vectors from
the centre to the points on the surface of the ball represent pure states.
1.3. DENSITY MATRIX OF A QUBIT 13
The said representation of the density matrix is also referred to as Bloch
sphere representation with the understanding that, it is not only the radial
vectors of the sphere, but all the vectors joining the centre of the sphere
with the points inside it represent the density matrix.
Note that, in the case of a pure state it is only two angular coordinates
(θ, φ) which caracterize the state of the qubit but in the case of a mixed
state, apart from two angles, the length of the Bloch vector is an additional
parameter that characterizes the state of the qubit.
Verify that the density matrix (1.37) may be recast in the form