2.4. The density operator¶
2.4.1. Ensembles of Quantum States¶
Definition 2.4.1 : Ensemble of pure states, density operator
Suppose a quantum system is in one of a number of states \(\left|\psi_{i}\right\rangle\) with respective probabilities \(p_{i}\). We shall call \(\left\{p_{i},\left|\psi_{i}\right\rangle\right\}\) an ensemble of pure states.
The density operator for the system is defined by
The density operator is often known as the density matrix, and we will use the two terms interchangeably.
Concept 2.4.2 : Evolution of density operators under unitary operators (postulate 2)
Suppose a closed system is evolved by a unitary operator \(U\). If the system is initially in state \(\left|\psi_{i}\right\rangle\) with probability \(p_{i}\), then after evolution it is in state \(U\left|\psi_{i}\right\rangle\) with the same probability \(p_{i}\). The density operator therefore transforms as
Concept 2.4.3 : Measurement in density matrix form (postulate 3)
Measurements are also easily described in the density operator language. Suppose we perform a measurement described by measurement operators \(M_{m}\). If the initial state was \(|\psi_i\rangle\), then the probability of getting result \(m\) is
where we have used Theorem 2.1.62 to obtain the last equality. By the law of total probability, the probability of obtaining result \(m\) is
What is the density operator of the system after obtaining the measurement result \(m\)? If the initial state was \(|\psi_{i}\rangle\), then the state after obtaining the result \(m\) is
Thus, after a measurement that yields result \(m\) we have an ensemble of states \(|\psi_{i}^{m}\rangle\) with respective probabilities \(p(i \mid m)\). The corresponding density operator \(\rho_{m}\) is therefore
But by elementary probability theory, \(p(i \mid m)=p(m, i) / p(m)=p(m \mid i) p_{i} / p(m)\). Substituting from the previous formulas we obtain
Concept 2.4.4 : Pure and mixed states
A quantum system whose state \(|\psi\rangle\) is known exactly is said to be in a pure state. In this case the density operator is simply \(\rho=|\psi\rangle\langle\psi|\). Otherwise, \(\rho\) is in a mixed state; it is said to be a mixture of the different pure states in the ensemble for \(\rho\).
A few words of warning about the nomenclature: sometimes people use the term mixed state as a catch-all to include both pure and mixed quantum states. The origin for this usage seems to be that it implies the writer is not necessarily assuming that a state is pure. Second, the term pure state is often used in reference to a state vector \(|\psi\rangle\), to distinguish it from a density operator \(\rho\).
Theorem 2.4.5 : Criterion to decide if a state is mixed or pure
Let \(\rho\) be a density operator. Then \(\operatorname{tr}\left(\rho^{2}\right) \leq 1\). Equality holds if and only if \(\rho\) is a pure state.
Proof
Write \(\rho\) in its spectral decomposition as \(\rho=\sum_i \lambda_i |i\rangle\langle i|\). Since \(\rho\) is a density operator, \(\lambda_i \geq 0\) and \(\sum_i \lambda_i = 1\). Therefore
Since \(\sum_i \lambda_i = 1\) and each \(\lambda_i \geq 0\), we have
Hence \(\operatorname{tr}\left(\rho^{2}\right) \leq 1\).
Equality requires exactly one \(\lambda_i\) be nonzero. Then one eigenvalue is \(1\) and the rest are \(0\), so \(\rho\) is rank one and therefore pure.
Conversely, for a pure state, \(\rho^2=\rho\). Hence
Concept 2.4.6 : Mixture of density matrices
If the system is prepared in state \(\rho_{i}\) with probability \(p_{i}\), then the corresponding density matrix is \(\sum_{i} p_{i} \rho_{i}\).
To justify this, write \(\rho_{i}=\sum_{j} p_{ij}|\psi_{ij}\rangle\langle\psi_{ij}|\) for fixed \(i\), so that state \(|\psi_{ij}\rangle\) occurs with probability \(p_{i} p_{ij}\).
For each fixed \(i\) this becomes
We therefore call \(\rho\) a mixture of the states \(\rho_{i}\) with probabilities \(p_{i}\). This idea reappears in quantum-noise models, where noise produces classical uncertainty about which state actually describes the system.
Concept 2.4.7 : State after forgotten measurement result
Imagine that, for some reason, our record of the result \(m\) of a measurement was lost. We would have a quantum system in state \(\rho_{m}\) with probability \(p(m)\), but we would no longer know the actual value of \(m\). According to Concept 2.4.6, the state of such a quantum system is therefore described by the density operator
This compact formula is a useful starting point for analyzing further operations on the system after the measurement information is forgotten.
2.4.2 General Properties of the Density Operator¶
Theorem 2.4.8 : Characterization of density operators
An operator \(\rho\) is the density operator associated to some ensemble \(\{p_i,|\psi_i\rangle\}\) if and only if it satisfies the following conditions:
- (Trace condition) The trace of \(\rho\) equals one.
- (Positivity condition) The operator \(\rho\) is positive.
Proof
Suppose \(\rho=\sum_i p_i|\psi_i\rangle\langle\psi_i|\) is a density operator. Then
so the trace condition \(\operatorname{tr}(\rho)=1\) is satisfied. For any vector \(|\varphi\rangle\), we have
so the positivity condition is satisfied.
Conversely, suppose \(\rho\) is any operator satisfying the trace and positivity conditions. Since \(\rho\) is positive, it has a spectral decomposition
Here the vectors \(|j\rangle\) are orthogonal, and the eigenvalues \(\lambda_j\) are real and non-negative. The trace condition gives \(\sum_j\lambda_j=1\). Therefore a system in the state \(|j\rangle\) with probability \(\lambda_j\) has density operator \(\rho\). Hence the ensemble \(\{\lambda_j,|j\rangle\}\) is an ensemble giving rise to the density operator \(\rho\). In this way, a density operator can be characterized intrinsically as a positive operator with unit trace.
Definition 2.4.9 : Postulates 1, 2, 3, 4 for density operators
-
Postulate 1
Postulate 1 associates to any isolated physical system a complex vector space with inner product as its state space. The system is completely described by its density operator \(\rho\), which is a positive operator with trace one. If the system is in the state \(\rho_i\) with probability \(p_i\), then the density operator for the system is,
\[ \sum_i p_i \rho_i. \] -
Postulate 2
Postulate 2 gives the evolution of a closed quantum system as a unitary transformation. If the state is \(\rho\) at time \(t_1\) and is \(\rho'\) at time \(t_2\), then,
\[ \rho'=U\rho U^\dagger. \] -
Postulate 3
Postulate 3 says that quantum measurements are described by operators \(\{M_m\}\) acting on the state space. If the state is \(\rho\), then the probability for outcome \(m\) is,
\[ p(m)=\operatorname{tr}\left(M_m^\dagger M_m \rho\right). \]The post-measurement state is,
\[ \frac{M_m \rho M_m^\dagger}{\operatorname{tr}\left(M_m^\dagger M_m \rho\right)}. \]The measurement operators satisfy,
\[ \sum_m M_m^\dagger M_m=I. \] -
Postulate 4
Postulate 4 says that the state space of a composite system is the tensor product of its component spaces. If systems \(1\) through \(n\) are in states \(\rho_1,\rho_2,\ldots,\rho_n\), then the joint state is.
\[ \rho_1\otimes\rho_2\otimes\cdots\otimes\rho_n. \]
Example 2.4.10 : Two ensembles for one density matrix
It is a common fallacy to think that the eigenvectors and eigenvalues of a density matrix uniquely specify the underlying ensemble. Consider the density matrix
This is one valid ensemble decomposition.
Instead, define
Suppose the system is prepared in state \(|a\rangle\) with probability \(1/2\) and in state \(|b\rangle\) with probability \(1/2\). The resulting density matrix is
This shows, according to Section 2.4.1, that two different ensembles can represent the same density matrix. The same density matrix is not tied to a single privileged decomposition. In general, eigenvectors and eigenvalues give one possible ensemble only.
Theorem 2.4.11 : Unitary freedom in the ensemble for density matrices
A natural question is what class of ensembles gives rise to a particular density matrix. We define unnormalized vectors by \(\left|\tilde{\psi}_{i}\right\rangle=\sqrt{p_i}\left|\psi_i\right\rangle\) and say they generate the operator \(\rho \equiv \sum_{i}\left|\tilde{\psi}_{i}\right\rangle\left\langle\tilde{\psi}_{i}\right|\). The sets \(\left|\tilde{\psi}_{i}\right\rangle\) and \(\left|\tilde{\varphi}_{j}\right\rangle\) generate the same density matrix if and only if there is a unitary matrix \(u_{ij}\) such that
where we pad whichever set is smaller with zero vectors. As a consequence, normalized ensembles satisfy
for some unitary \(u_{ij}\), where the smaller ensemble is padded by zero-probability elements.
This theorem therefore characterizes the ensemble freedom, and indeed Example 2.4.10 with two different decompositions is a special case of this theorem.
Proof
-
(\(\Rightarrow\))
Suppose \(\left|\tilde{\psi}_{i}\right\rangle=\sum_{j} u_{i j}\left|\tilde{\varphi}_{j}\right\rangle\) for some unitary \(u_{ij}\).
\[ \begin{aligned} \sum_{i}\left|\tilde{\psi}_{i}\right\rangle\left\langle\tilde{\psi}_{i}\right| &=\sum_{i j k} u_{i j} u_{i k}^{*}\left|\tilde{\varphi}_{j}\right\rangle\left\langle\tilde{\varphi}_{k}\right|\\ &=\sum_{j k}\left(\sum_{i} u_{k i}^{\dagger} u_{i j}\right)\left|\tilde{\varphi}_{j}\right\rangle\left\langle\tilde{\varphi}_{k}\right|\\ &=\sum_{j k}\left(u^{\dagger} u\right)_{k j}\left|\tilde{\varphi}_{j}\right\rangle\left\langle\tilde{\varphi}_{k}\right|\\ &=\sum_{j k} \delta_{k j}\left|\tilde{\varphi}_{j}\right\rangle\left\langle\tilde{\varphi}_{k}\right|\\ &=\sum_{j}\left|\tilde{\varphi}_{j}\right\rangle\left\langle\tilde{\varphi}_{j}\right|. \end{aligned} \]Hence the two sets generate the same operator.
-
(\(\Leftarrow\))
Conversely, assume
\[ A=\sum_{i}\left|\tilde{\psi}_{i}\right\rangle\left\langle\tilde{\psi}_{i}\right|=\sum_{j}\left|\tilde{\varphi}_{j}\right\rangle\left\langle\tilde{\varphi}_{j}\right|. \]Let \(A=\sum_{k} \lambda_{k}|k\rangle\langle k|\) be an orthogonal decomposition with strictly positive \(\lambda_k\), and define \(|\tilde{k}\rangle \equiv \sqrt{\lambda_{k}}|k\rangle\). For any \(|\psi\rangle\) orthogonal to the span of \(\{|\tilde{k}\rangle\}\), we have
\[ 0=\langle\psi| A|\psi\rangle=\sum_{i}|\langle\psi| \tilde{\psi}_{i}\rangle|^{2}. \]Therefore \(\langle\psi|\tilde{\psi}_{i}\rangle=0\) for every \(i\), so each \(|\tilde{\psi}_{i}\rangle\) is a linear combination of the \(|\tilde{k}\rangle\). Write \(|\tilde{\psi}_{i}\rangle=\sum_{k} c_{i k}|\tilde{k}\rangle\). Using \(A=\sum_k|\tilde{k}\rangle\langle\tilde{k}|=\sum_i |\tilde{\psi}_{i}\rangle\langle\tilde{\psi}_{i}|\) gives
\[ \sum_{k}|\tilde{k}\rangle\langle\tilde{k}|=\sum_{k l}\left(\sum_{i} c_{i k} c_{i l}^{*}\right)|\tilde{k}\rangle\langle\tilde{l}|. \]Since the operators \(|\tilde{k}\rangle\langle\tilde{l}|\) are linearly independent, \(\sum_i c_{i k} c_{i l}^{*}=\delta_{k l}\). Therefore the coefficients \(c\) can be extended by zero rows to a unitary \(v\) and
\[ \left|\tilde{\psi}_{i}\right\rangle=\sum_{k} v_{i k}|\tilde{k}\rangle. \]Similarly, there is a unitary \(w\) with
\[ \left|\tilde{\varphi}_{j}\right\rangle=\sum_{k} w_{j k}|\tilde{k}\rangle. \]Combining these equations gives
\[ \left|\tilde{\psi}_{i}\right\rangle=\sum_{j}(v w^{\dagger})_{i j}\left|\tilde{\varphi}_{j}\right\rangle. \]The matrix \(u=v w^{\dagger}\) is unitary, completing the converse.
Concept 2.4.12 : Bloch sphere for mixed states
-
(a) Any density matrix \(\rho\) for a single qubit can be written as
\[ \rho = \frac{I+\vec{r} \cdot \vec{\sigma}}{2}. \]where \(\vec{r}\) is a real three-dimensional vector with \(\|\vec{r}\| \leq 1\). The vector \(\vec{r}\) is the Bloch vector for the state \(\rho\).
-
(b) The Bloch vector for the state \(\rho=I / 2\) is \(\vec{r}=0\).
- (c) A state \(\rho\) is pure if and only if \(\|\vec{r}\|=1\).
- (d) For pure states, this Bloch-vector description coincides with that in textbook Section 1.2.
Proof
-
(a)
Every \(2 \times 2\) Hermitian matrix has a unique Pauli expansion
\[ \rho=\frac{1}{2}(a_0 I+a_x\sigma_x+a_y\sigma_y+a_z\sigma_z)=\frac{1}{2}(a_0 I+\vec a\cdot\vec\sigma). \]For a density matrix, \(\operatorname{tr}(\rho)=1\). Since \(\operatorname{tr}(\sigma_j)=0\) and \(\operatorname{tr}(I)=2\), we get \(a_0=1\). Let \(\vec r=\vec a\) to get \(\rho=(I+\vec r\cdot\vec\sigma)/2\). The square of \(\vec r\cdot\vec\sigma\) is \(\|\vec r\|^2 I\). Therefore
\[ \det(\rho-\lambda I)=\frac{(1-2\lambda)^2-\|\vec r\|^2}{4}. \]The eigenvalues are \(\lambda_{\pm}=(1\pm\|\vec r\|)/2\). Positivity gives \(\lambda_{\pm}\ge0\), so \(\|\vec r\|\le1\). Conversely, if \(\|\vec r\|\le1\), the same eigenvalue formula gives \(\lambda_{\pm}\ge0\) and therefore \(\rho\ge0\) with unit trace. Hence \(\rho\) is exactly a density matrix of the claimed form.
-
(b)
If \(\rho=I / 2\), then comparison with \(\rho=(I+\vec r\cdot\vec\sigma)/2\) gives \(\vec r=0\) by basis uniqueness. If \(\vec r=0\), then \(\rho=I/2\).
-
(c)
A pure state satisfies \(\rho^2=\rho\). Using \((\vec r\cdot\vec\sigma)^2=\|\vec r\|^2 I\), we compute
\[ \operatorname{tr}(\rho^2)=\frac{1+\|\vec r\|^2}{2}. \]Since purity is equivalent to \(\operatorname{tr}(\rho^2)=1\), we get \(\|\vec r\|=1\). If \(\|\vec r\|=1\), then eigenvalues are \(1\) and \(0\), so \(\rho\) is rank one and pure. If \(\rho\) is pure, then \(\operatorname{tr}(\rho^2)=1\), and the formula gives \(\|\vec r\|=1\).
-
(d)
For \(\rho=|\psi\rangle\langle\psi|\) with \(|\psi\rangle=\cos(\theta/2)|0\rangle+e^{i\phi}\sin(\theta/2)|1\rangle\), one gets
\[ \rho= \frac{1}{2}\begin{pmatrix} 1+\cos\theta & e^{-i\phi}\sin\theta\\ e^{i\phi}\sin\theta & 1-\cos\theta \end{pmatrix} =\frac{I+\vec r\cdot\vec\sigma}{2}, \quad \vec r=(\sin\theta\cos\phi,\sin\theta\sin\phi,\cos\theta). \]This is exactly the pure-state Bloch parametrization from textbook Section 1.2.
Concept 2.4.13 : Minimal ensemble containing a support state
A minimal ensemble for a density operator \(\rho\) is an ensemble with exactly \({\operatorname{rank}}(\rho)\) elements. For any state \(|\psi\rangle\) in the support of \(\rho\), there exists a minimal ensemble containing \(|\psi\rangle\). In any such minimal ensemble, if \(|\psi_i\rangle=|\psi\rangle\), then the corresponding probability is given by
Proof
Let \(\rho=\sum_{k=1}^{r}\lambda_k |k\rangle\langle k|\) be the spectral decomposition on \(\operatorname{supp}(\rho)\), with all \(\lambda_k>0\) and \(r={\operatorname{rank}}(\rho)\). Then \(\rho^{-1}=\sum_{k=1}^{r}\lambda_k^{-1}|k\rangle\langle k|\) is the inverse of \(\rho\) on its support. Choose
Extend \(|\phi_1\rangle\) to an orthonormal basis \(\{|\phi_i\rangle\}_{i=1}^{r}\) of \(\operatorname{supp}(\rho)\). For each \(i\), define
Then
Since the number of terms is \(r\), this ensemble is minimal and contains \(|\psi\rangle\). Indeed,
For the second claim, write any minimal ensemble in the form \(|\tilde\psi_i\rangle=\sqrt{p_i}|\psi_i\rangle\). Then \(\rho=\sum_i |\tilde\psi_i\rangle\langle\tilde\psi_i|\). Because these \(r\) vectors span the support, the matrix \(T\) with columns \(|\tilde\psi_i\rangle\) is invertible and satisfies \(\rho=TT^\dagger\). Hence \(\rho^{-1}=(T^{\dagger})^{-1}T^{-1}\).
Therefore,
and rearranging gives
2.4.3. The Reduced Density Operator¶
Definition 2.4.14 : Partial trace
Suppose we have physical systems \(A\) and \(B\). The partial trace over \(B\) is defined by
Here \(\left|a_{1}\right\rangle\) and \(\left|a_{2}\right\rangle\) are any two vectors in the state space of \(A\), and \(\left|b_{1}\right\rangle\) and \(\left|b_{2}\right\rangle\) are any two vectors in the state space of \(B\). The trace operation appearing on the right is the usual trace operation on \(B\), so \(\operatorname{tr}\left(\left|b_{1}\right\rangle\left\langle b_{2}\right|\right)=\left\langle b_{2} \mid b_{1}\right\rangle\).
We have defined the partial trace on a special subclass of operators on \(AB\). The definition is completed by requiring in addition that the partial trace be linear in its input.
Definition 2.4.15 : Reduced density operator
A reduced density operator gives a useful description of a subsystem of a composite quantum system. Suppose the composite systems \(A\) and \(B\) are described by a density operator \(\rho^{AB}\). The reduced density operator for system \(A\) is defined by
Here, \(\operatorname{tr}_{B}\) is the partial trace map over system \(B\) defined in Definition 2.4.14.
Concept 2.4.16 : Why the partial trace
It is not obvious that this map always gives a valid state description for system \(A\). The physical justification is that it yields the correct measurement statistics for measurements performed on \(A\).
The reason is that the partial trace is the unique map that gives the correct observable statistics for subsystems of a composite system. Suppose \(M\) is an observable on system \(A\), and \(\tilde{M}\) is the observable corresponding to the same physical measurement on the composite system \(AB\). Let \(|m\rangle\) be an eigenstate of \(M\) with eigenvalue \(m\), and \(|\psi\rangle\) be an arbitrary state of \(B\). For input state \(|m\rangle|\psi\rangle\), the measurement result must be \(m\) with certainty. If \(P_m\) is the projector onto the \(m\)-eigenspace of \(M\), then the projector for the joint measurement is \(P_m \otimes I_B\).
The reduced-state condition for any measurement is
Choosing \(\rho^{A}=\operatorname{tr}_{B}\left(\rho^{AB}\right)\) satisfies this condition. To see that this condition characterizes the reduced state uniquely, let \(f(\cdot)\) map density operators on \(AB\) to density operators on \(A\). Then for all observables \(M\),
Let \(M_i\) be an orthonormal basis of Hermitian operators under the Hilbert-Schmidt inner product \((X,Y)\equiv \operatorname{tr}(XY)\). Expanding \(f(\rho^{AB})\) in this basis gives
Therefore \(f\) is uniquely determined by this condition. The partial trace satisfies this condition, so it is the unique operation with this property.
Example 2.4.17 : Reduced density operator for non-entangled composite system
Suppose a quantum system is in the product state \(\rho^{A B}=\rho \otimes \sigma\), where \(\rho\) is a density operator for system \(A\), and \(\sigma\) is a density operator for system \(B\). Then
which is the result expected from intuition. Similarly, \(\rho^{B}=\sigma\) for this state.
A less trivial example is the Bell state \((|00\rangle+|11\rangle) / \sqrt{2}\). Its density operator is
Tracing out the second qubit, we find
Notice that this state is mixed, since \(\operatorname{tr}\left((I / 2)^{2}\right)=1 / 2<1\). The state of the joint system of two qubits is a pure state, that is, it is known exactly. However, the first qubit is in a mixed state, that is, a state about which we apparently do not have maximal knowledge. This remarkable property is another hallmark of quantum entanglement.
Example 2.4.18 : Reduced density operator for non-entangled composite of pure state
For the product state \(|a\rangle|b\rangle\), the joint density operator is
The reduced density operator on system \(A\) is the partial trace over \(B\).
Because the trace over \(B\) of a rank-one projector is one,
we get
So the reduced state of \(A\) is pure.
Example 2.4.19 : Quantum teleportation and the reduced density operator
A useful application of the reduced density operator is to the analysis of quantum teleportation. Recall from textbook Section 1.3.7 that quantum teleportation is a procedure for sending quantum information from Alice to Bob, given that Alice and Bob share an EPR pair, and have a classical communications channel.
At first sight it appears as though teleportation can be used to do faster than light communication, a big no-no according to the theory of relativity. We surmised in textbook Section 1.3.7 that what prevents faster than light communication is the need for Alice to communicate her measurement result to Bob. The reduced density operator allows us to make this rigorous.
Recall that immediately before Alice makes her measurement the quantum state of the three qubits is:
Measuring in Alice's computational basis, the state of the system after the measurement is:
The density operator of the system is thus
Tracing out Alice's system, we see that the reduced density operator of Bob's system is
Thus, the state of Bob's system after Alice has performed the measurement but before Bob has learned the measurement result is \(I/2\). This state has no dependence upon the state \(|\psi\rangle\) being teleported, and thus any measurements performed by Bob will contain no information about \(|\psi\rangle\), thus preventing Alice from using teleportation to transmit information to Bob faster than light.