Skip to content

Lecture 7.1: The Density Matrix

Last lecture, we learned about continuous (i.e. weak) measurements in QM, which we can summarize as follows

  1. In continuous measurements, collapse events occur randomly in time, following a Poisson distribution

  2. At each collapse event, we apply the usual recipe for quantum measurement

  3. The average rate at which the collapse events occur is proportional to how fast we (or other people) extract information about the observable we are observing

  4. These collapse events result in "quantum backation" that disturbs the state we are measuring and can (but does not always) add noise to the observable we are measuring

We then saw a few examples

  1. Noise in the oscillations of of a spin when measuring

  2. Noise in of a harmonic oscillator induced by measurements of

Another example: measure of a coherent state

After the first collapse, no longer changes in subsequent collapses. The reason is because the number operator commutes with the Hamiltonian: . Thus, they share an eigenbasis, and upon measurement the system collapses to a stationary state, where is not time-dependent. This is an example of a quantum non-demolition experiment. The first measurment always collapses , but the next measurements don't cause more "damage"; as a result, you can average stationary quantities for a long time, say, if your detector adds a lot of classical noise.

But there is a problem: what if we miss some of the measurement results, or our detector is noisy, giving us only partial information? Or even none at all?

If our lack of information makes it ambiguous as to what state the system is in, then should we then keep track of two Schrodinger equations (like in the image)? Actually, in such a case, we would need to average over different collapse events in time, which is exactly what the Monte Carlo Wave Function (MCWF) method does, which we will see later in QuTip.

However, if we are only interested in the average result over different quantum trajectories, then we can just use the density matrix formalism.

Density matrix

The density matrix is defined as where is some state (column) vector. We recall the usual inner product between state vectors which is a scalar quantity.

But what does it mean to reverse this notation, as in the definition of a density matrix? Writing is called an outer product, and instead of a scalar, it is a matrix:

Some properties of :

Example: Spin-

The typical example is spin-:

Now we need to keep track of numbers in matrix instead of in a vector, so what is the benefit? For one, there is a very handy expression for expectation values:

A few examples of using this nice trace formula:

Mixed and pure states

The time-dependent Schrodinger equation (TDSE) also takes on a compact form:

But how does this help with the collapse problem? The key concept is that can allow us to include classical uncertainty into our quantum calculations.

Let's say that we do not know the exact state of the quantum particle, but we know that there is a 50% chance it is in state and 50% chance it is in . The density matrix for this situation is

This kind of density matrix is called a "mixed state" (or more appropriately, but less commonly, a "mixed ensemble"), in contrast to the case where there is only one term in the sum, which is called a pure state and was the first example we saw.

We can use the same formula above to calculate an "ensemble" expectation value of an observable:

For pure states, this has the usual meaning of preparing a state , measuring the observable , and repeating this process to build up an average measurement result .

For mixed states, the process is a bit different. We do not prepape the same state each time, since we need to import classical uncertainty into the process. Each new is either or with probability 50% for each (we can just flip a coin to decide). The uncertainty in our measurement results has two distinct origins: there is fundamental "quantum" randomness from the collapse of the wavefunction, and also boring "classical" randomness from the coin flip that decides the state preparation.

Let's assume the mixed state is split 50-50 between spin-up and spin-down, that is, and . If we measure the observable , we would expect to get either up or down about half the time on average.

What if we had instead used the pure state ? We would get the same measurment statistics! But surely these states aren't the same, so how can we tell the difference? The answer to this question is, at its core, what makes quantum quantum.

If we instead measure the observable , the mixed state will still yield 50-50 results because either of its two states can be written as superpositions between the eigenstates. However, the pure state obviously will only ever give upon measuring the observable . This difference can be visualized with the density matrix

where the diagonal terms are called weights or populations, and the off-diagonal terms are called coherences. Mixing states suppresses the off-diagonal terms. We can check how pure a state is by computing its "purity"

If the state is pure, then squaring won't change the fact that its trace is . But if some diagonal element is less than 1, then squaring the matrix will reduce the trace.

Lastly, the Wigner functions we saw earlier (for pure states) can also be used to encode classical uncertainty, like the density matrix. If we have a density matrix (pure or mixed), then its Wigner function is

where are the eigenstates of the position operator, expressed in whatever basis was chosen for .

From the above, we can see that Wigner functions of mixed states have an interesting property: unlike the Wigner functions of superposition states, the Wigner functions of mixed states do add: