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 23, 2026 at 18:31] – 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** (written as $\rho$) is the matrix representation of a quantum state. It is an alternative and superior representation to the state vector $\lvert\psi\rangle$. | + | **Density matrix** (written as $\rho$) is a matrix representation of a quantum state. |
| - | A state vector $\lvert\psi\rangle$ | + | It's a more general way to represent a quantum state compared to the [[state-vector|state vector]] $\lvert\psi\rangle$. While a state vector can only represent [[pure-state|pure states]], a density matrix can represent [[mixed-state|mixed states]] as well, making it the correct tool for open quantum systems, noisy circuits, and statistical ensembles of quantum states. |
| - | It is a strictly better way to represent a quantum | + | Every pure state $\lvert\psi\rangle$ |
| - | Any state vector | + | $$\rho = \lvert\psi\rangle\langle\psi\rvert$$ |
| - | $$\rho = \lvert\psi\rangle\langle\psi\lvert$$ | + | |
| + | 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 | ||
| + | |||
| + | ## 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 | ||
| + | |||
| + | $$\rho = \sum_k p_k\lvert\psi_k\rangle\langle\psi_k\rvert, \qquad \sum_k p_k = 1, \quad p_k \geq 0$$ | ||
| + | |||
| + | ## Time evolution | ||
| + | Under Hamiltonian evolution, the density matrix evolves according to the von Neumann equation $d\rho/dt = -i[H, | ||
density-matrix.1779561118.txt.gz · Last modified: by Ivan Janevski
