Lesson02
Density Matrices¶
idea¶
If we consider (or focus) on just a part of a large system, then
- States may not be vectors.
- Evolutions may not be unitaries.
- Measurements may not be orthogonal projections.
definition #1¶
Consider combining two Hilbert space: \(H_A\otimes H_B\)
→ equal to combining the two basis sets \(\{\ket{i}_A\} \otimes \{\ket{\mu}_B\}\), which can be used to describe any state \(\ket{\psi_{AB}}\) in the joint system:
Now if we wanna look at an observable \(M_A\otimes I_B\),
sandwiching \(\textcolor{red}{I_B}\) between \(\bra\nu\) and \(\ket\mu\) makes only those terms with \(\nu=\mu\) survives.
From the above equation, we can naturally define
definition #2¶
We can define an operator \(\rho_A\) such that it satisfies:
- \(\rho_A = \rho_A^\dagger\) (Hermitian)
- \(⟨\phi|\rho_A|\phi⟩ \geq 0\) (non-negative) this is easy to prove from the previous \(\rho_A\) definition. (actually quite not easy?)
- \(\text{Tr}[\rho_A]=1\) (normalized)
definition #3¶
A more convenient notation for all density matrices:
(can view \(\textcolor{red}{p_a}\) as the probability of each state)
Purity¶
The "purity" of a state \(\rho\) (or density matrix) is defined as \(\text{Tr}[\rho^2]\), and it can be shown to be within \(\in[0,1]\).
- Pure state: \(\rho=|\psi⟩⟨\psi|\),
therefore \(\text{Tr}[\rho^2]=\text{Tr}[\rho]=1\). - Mixed state: \(\rho = \sum_a \lambda_a|\psi_{a}⟩⟨\psi_{a}|\), hence \(\rho^2 = \sum_a \lambda_a^2|\psi_{a}⟩⟨\psi_{a}|\),
therefore \(\text{Tr}[\rho^2]=\sum_a(\lambda_a^2) \leq 1 = (\sum_a\lambda_a)^2\).
Bloch representation¶
(for a single qubit)
Since \(\rho\) is Hermitian, it can be parametrized by 4 real coefficients \(\lambda_0, \lambda_x, \lambda_y, \lambda_z\):
But since we need \(\text{Tr}[\rho]=1\), therefore \(\lambda_0=1\). Hence, the expression can be simplified to:
And how does the constraint \(\textcolor{red}{\text{Tr}[\rho^2]\in[0,1]}\) adds any restriction on \(\vec\lambda\)?
Thus, the length of the Bloch vector is at least 0, and at most 1.
extracting the coefficients¶
Reversely, if we were first given the density matrix \(\rho\) instead of the coefficients \(\lambda_x, \lambda_y, \lambda_z\), we can extract them from this given \(\rho\) via:
proof of precession¶
To prove the dynamic of "precession about axis \(\hat\sigma_n\) using angular velocity \(\vec \omega\)" in the previous lesson, we can analyze the case again, but this time from the perspective of Bloch vector.
First, from Schrödinger equation,
which is equivalent to
Next, substitute \(\rho\) with \(\frac12\left( I + \vec\lambda\cdot\vec\sigma \right)\) on both \(\textcolor{blue}{\text{L.H.S.}}\) and \(\textcolor{red}{\text{R.H.S.}}\) of the equation. Also consider the Hamiltonian of the most general form: \(H = \frac{\hbar}{2}\vec\omega\cdot\vec\sigma = \frac{\hbar}{2}|\vec\omega|\hat\sigma_n\)
(\(\hat\sigma_n = \vec n\cdot\vec\sigma= n_x\sigma_x+n_y\sigma_y+n_z\sigma_z\) with \(n_x^2+n_y^2+n_z^2=1\))
Finally, if we want both expressions on \(\textcolor{blue}{\text{L.H.S.}}\) and \(\textcolor{red}{\text{R.H.S.}}\) to match, the following must hold:
This means \(\vec\lambda\) precess about axis \(\vec n\) (or \(\hat\sigma_n\)) with angular velocity \(\omega\) under the action of Hamiltonian \(H = \frac{\hbar}{2}\vec\omega\cdot\vec\sigma = \frac{\hbar}{2}|\vec\omega|\hat\sigma_n\).