density-matrix
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| density-matrix [May 22, 2026 at 23:30] – Ivan Janevski | density-matrix [June 13, 2026 at 03:13] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| # Density matrix | # Density matrix | ||
| - | **Density matrix** $\rho$ is a way to represent | + | **Density matrix** |
| - | If you have a state vector $\langle\psi\rangle$ | + | It' |
| - | $$\rho = \rangle\psi\lvert\psi\langle$$ | + | |
| + | Every pure state $\lvert\psi\rangle$ has a corresponding density matrix constructed by the outer product of the ket with its bra. | ||
| + | |||
| + | $$\rho = \lvert\psi\rangle\langle\psi\rvert$$ | ||
| + | |||
| + | For example, the density matrices of the two computational basis states $\lvert 0\rangle$ and $\lvert 1\rangle$ are the projectors onto those states. | ||
| + | |||
| + | $$\rho_0 = \lvert 0\rangle\langle 0\rvert = \begin{pmatrix}1 & 0 \\ 0 & 0\end{pmatrix}, | ||
| + | |||
| + | ## Properties | ||
| + | A density matrix $\rho$ always satisfies three properties: it is Hermitian ($\rho^\dagger = \rho$), positive semidefinite ($\rho \geq 0$), and has unit trace ($\text{tr}(\rho) = 1$). These three conditions are necessary and sufficient for $\rho$ to represent a valid quantum state. The **purity** $\text{tr}(\rho^2)$ ranges from $1/d$ (maximally mixed state in dimension $d$) to $1$ (pure state). | ||
| + | |||
| + | ## Mixed states | ||
| + | A mixed state arises when a quantum system is in state $\lvert\psi_k\rangle$ with classical probability $p_k$. Its density matrix is the convex combination of the individual pure-state density matrices. | ||
| + | |||
| + | $$\rho = \sum_k p_k\lvert\psi_k\rangle\langle\psi_k\rvert, | ||
| + | |||
| + | ## Time evolution | ||
| + | Under Hamiltonian evolution, the density matrix evolves according to the von Neumann equation $d\rho/dt = -i[H, | ||
density-matrix.1779492610.txt.gz · Last modified: by Ivan Janevski
