DeepPractise
DeepPractise

Density Matrices (Introductory)

Track: Foundations · Difficulty: Beginner · Est: 15 min

Density Matrices (Introductory)

Overview

Mixed states arise when a system is prepared with classical randomness or when you focus on a subsystem of a larger quantum system.

To reason about mixed states efficiently, we need a representation that:

  • predicts measurement probabilities correctly,
  • does not depend on a particular “ensemble story,” and
  • includes pure states as a special case.

That representation is the density matrix (also called the density operator).

Intuition

A ket ψ|\psi\rangle is a compact way to predict measurement outcomes when the system is in a single pure state.

A mixed situation is more like: “with probability p1p_1 the state is ψ1|\psi_1\rangle, with probability p2p_2 it is ψ2|\psi_2\rangle, …”.

If you try to carry that list around, you run into a problem: there can be multiple different lists that produce the same observable behavior.

A density matrix is the object that keeps exactly what measurements can reveal, and forgets the non-unique bookkeeping details.

Formal Description

Pure states as matrices

Given a pure state ψ|\psi\rangle, define its density matrix as

ρ=ψψ.\rho = |\psi\rangle\langle\psi|.

Here:

  • ψ|\psi\rangle is a column vector (a ket).
  • ψ\langle\psi| is its conjugate transpose (a bra).
  • The product ψψ|\psi\rangle\langle\psi| is a matrix (an operator).

Example: if ψ=α0+β1|\psi\rangle = \alpha|0\rangle + \beta|1\rangle, then in the computational basis the column vector is

ψ=(αβ),|\psi\rangle = \begin{pmatrix}\alpha\\\beta\end{pmatrix},

and the density matrix is

ρ=(αβ)(αβ)=(α2αβαββ2).\rho = \begin{pmatrix}\alpha\\\beta\end{pmatrix}\begin{pmatrix}\alpha^* & \beta^*\end{pmatrix} = \begin{pmatrix} |\alpha|^2 & \alpha\beta^*\\ \alpha^*\beta & |\beta|^2 \end{pmatrix}.

The * means complex conjugate.

Mixed states as averages of pure-state matrices

If the system is in ψk|\psi_k\rangle with classical probability pkp_k, define

ρ=kpkψkψk.\rho = \sum_k p_k\,|\psi_k\rangle\langle\psi_k|.

This single matrix ρ\rho represents the mixed state.

Two core properties (kept conceptual)

A valid density matrix has two crucial properties.

  1. Trace equals 1:
Tr(ρ)=1.\mathrm{Tr}(\rho)=1.

The trace Tr()\mathrm{Tr}(\cdot) means “sum of the diagonal entries.” Trace =1=1 is the matrix version of “total probability is 1.”

  1. Positivity (conceptual):
  • ρ\rho never predicts negative probabilities.
  • Formally, it means all measurement probabilities computed from ρ\rho are 0\ge 0.

You do not need advanced operator algebra here; the takeaway is: density matrices are constrained so that they behave like probability-bearing objects.

Worked Example

Consider the 50/50 mixture:

  • with probability 1/21/2, the state is 0|0\rangle,
  • with probability 1/21/2, the state is 1|1\rangle.

Compute its density matrix:

ρ=1200+1211.\rho = \tfrac{1}{2}|0\rangle\langle 0| + \tfrac{1}{2}|1\rangle\langle 1|.

In the computational basis,

00=(1000),11=(0001).|0\rangle\langle 0| = \begin{pmatrix}1&0\\0&0\end{pmatrix},\quad |1\rangle\langle 1| = \begin{pmatrix}0&0\\0&1\end{pmatrix}.

So

ρ=12(1000)+12(0001)=(1/2001/2).\rho = \tfrac{1}{2}\begin{pmatrix}1&0\\0&0\end{pmatrix} + \tfrac{1}{2}\begin{pmatrix}0&0\\0&1\end{pmatrix} = \begin{pmatrix}1/2&0\\0&1/2\end{pmatrix}.

This matrix encodes “a fair coin over 0|0\rangle and 1|1\rangle.”

Turtle Tip

Turtle Tip

Think of a density matrix as the quantum analogue of a probability distribution: it’s the object that directly predicts measurement statistics, even when you don’t have a single pure state description.

Common Pitfalls

Common Pitfalls

Don’t treat the density matrix as “extra mathematics for experts.” It’s the simplest correct language once you talk about subsystems and noise.

Also, don’t assume the ensemble is unique. Different ensembles can produce the same ρ\rho; what matters physically (for measurements) is ρ\rho.

Quick Check

Quick Check
  1. If ρ=ψψ\rho = |\psi\rangle\langle\psi|, what kind of state is it describing?
  2. What does Tr(ρ)=1\mathrm{Tr}(\rho)=1 mean in plain language?

What’s Next

Now that we have density matrices, we can restate Born’s rule in a way that works uniformly for pure states, mixtures, and subsystems. Next: measurement using ρ\rho, and why it simplifies “ignore part of the system” calculations.