# 密度矩阵

**密度矩阵**（或称密度算符）是一个厄米、半正定、迹为一的算符，它给出了量子态最一般的描述，将纯态与态的概率混合统一在一个数学对象之中。<sup>[1](https://unseel.com/physics/density-matrix)</sup> 态矢量 \( \ket{\psi} \) 描述的是状态完全已知的单一系统，而密度矩阵 \( \hat{\rho} \) 还能处理由不同状态制备的系综，以及纠缠复合系统的子系统——对于后者，根本不存在单一的态矢量。<sup>[2](https://www.lancaster.ac.uk/staff/schomeru/lecturenotes/Quantum%20Information%20Processing/S1.html)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义性质 | 厄米、半正定（\( \rho \geq 0 \)）、迹为一，\( \operatorname{Tr}(\rho) = 1 \)<sup>[3](https://interactivetextbooks.tudelft.nl/mqp-v2/operators.html)</sup><sup> • </sup><sup>[4](https://qiskit.qotlabs.org/learning/courses/general-formulation-of-quantum-information/density-matrices/density-matrix-basics)</sup> |
| 混合形式 | \( \hat{\rho} = \sum_i P_i \ket{\psi_i}\bra{\psi_i} \)，其中系综中有比例 \( P_i \) 处于态 \( \ket{\psi_i} \)，且 \( \sum_i P_i = 1 \)<sup>[2](https://www.lancaster.ac.uk/staff/schomeru/lecturenotes/Quantum%20Information%20Processing/S1.html)</sup> |
| 期望值 | 对任意可观测量 \( \hat{A} \)，有 \( \langle A \rangle_\rho = \operatorname{tr}(\hat{A}\hat{\rho}) \)<sup>[2](https://www.lancaster.ac.uk/staff/schomeru/lecturenotes/Quantum%20Information%20Processing/S1.html)</sup> |
| 纯度 | \( \mathcal{P} = \operatorname{tr}(\hat{\rho}^2) \)；纯态时等于 1，混合态时 \( \sum_n p_n^2 < 1 \)<sup>[2](https://www.lancaster.ac.uk/staff/schomeru/lecturenotes/Quantum%20Information%20Processing/S1.html)</sup> |
| 最大混合态 | 在维数为 \( \mathcal{N} \) 的希尔伯特空间中，\( \hat{\rho} = \frac{1}{\mathcal{N}}\hat{I} \)，纯度为 \( \mathcal{P} = 1/\mathcal{N} \)<sup>[2](https://www.lancaster.ac.uk/staff/schomeru/lecturenotes/Quantum%20Information%20Processing/S1.html)</sup> |
| 约化态 | \( \hat{\rho}_A = \operatorname{Tr}_B(\hat{\rho}) \)，即对另一子系统作偏迹得到；偏迹会丢失关于完整状态的信息<sup>[5](https://etneil.github.io/grad_qm_lec_notes/density.html)</sup> |
| 时间演化 | \( \frac{d}{dt}\hat{\rho} = \frac{i}{\hbar}[\hat{\rho}, \hat{H}] \)，解为 \( \hat{\rho}(t) = \hat{U}(t,t_0)\hat{\rho}(t_0)\hat{U}^\dagger(t,t_0) \)<sup>[2](https://www.lancaster.ac.uk/staff/schomeru/lecturenotes/Quantum%20Information%20Processing/S1.html)</sup> |
| 起源 | 由约翰·冯·诺伊曼（John von Neumann）与列夫·朗道（Lev Landau）于 1927 年各自独立提出<sup>[1](https://unseel.com/physics/density-matrix)</sup> |

## 定义与动机

系综是大量物理上全同的量子系统的集合，但其中各成员可以由不同的状态描述。当所有成员处于同一状态时，系综是纯的；否则是混合的。混合系综无法用单一的量子态描述，但一个统计算符 \( \hat{\rho} \)，即密度矩阵，可以算出系综中所有的期望值。<sup>[2](https://www.lancaster.ac.uk/staff/schomeru/lecturenotes/Quantum%20Information%20Processing/S1.html)</sup>

对纯态，密度矩阵是外积

\[ \hat{\rho} = \ket{\psi}\bra{\psi}. \]

在有限 \( n \) 维希尔伯特空间中，这是一个 \( n \times 1 \) 的列矢量乘以一个 \( 1 \times n \) 的行矢量，得到一个 \( n \times n \) 的矩阵。<sup>[6](https://www.maths.dur.ac.uk/users/kasper.peeters/qcomp/2024/density_matrix.html)</sup> 对混合系综，若有比例 \( P_i \) 处于归一化态 \( \ket{\psi_i} \)，则

\[ \hat{\rho} = \sum_i P_i \ket{\psi_i}\bra{\psi_i}. \]

等价地，希尔伯特空间上的密度算符就是任何厄米、半正定且迹为 1 的算符；密度矩阵则是它在某一选定基下的矩阵。<sup>[3](https://interactivetextbooks.tudelft.nl/mqp-v2/operators.html)</sup> 在其本征表示 \( \hat{\rho} = \sum_n p_n \ket{n}\bra{n} \) 中，所有本征值非负且求和为一；这些 \( p_n \) 只有在各态 \( \ket{\psi_i} \) 相互正交时才与系综比例 \( P_i \) 一致。<sup>[2](https://www.lancaster.ac.uk/staff/schomeru/lecturenotes/Quantum%20Information%20Processing/S1.html)</sup>

矩阵元有直接的读法：对角元给出在标准基测量中各个经典态出现的概率，而非对角元则描述相应态之间量子叠加的程度及其相对相位。<sup>[4](https://qiskit.qotlabs.org/learning/courses/general-formulation-of-quantum-information/density-matrices/density-matrix-basics)</sup>

## 纯态与混合态

对纯系综，一个本征值等于 1，其余全为 0，因此 \( \hat{\rho} = \ket{n}\bra{n} \) 是满足 \( \hat{\rho}^2 = \hat{\rho} \) 的投影算符。由此可知，纯态有 \( \operatorname{tr}(\hat{\rho}^2) = 1 \)，而混合态有 \( \operatorname{tr}(\hat{\rho}^2) = \sum_n p_n^2 < 1 \)。因此，量 \( \mathcal{P} = \operatorname{tr}(\hat{\rho}^2) \)（称为纯度）可以区分纯态与混合态；最大混合态 \( \hat{\rho} = \frac{1}{\mathcal{N}}\hat{I} \) 的纯度最低，为 \( 1/\mathcal{N} \)。<sup>[2](https://www.lancaster.ac.uk/staff/schomeru/lecturenotes/Quantum%20Information%20Processing/S1.html)</sup> 在有限维希尔伯特空间上，密度算符为纯态当且仅当它满足 \( \rho^2 = \rho \)，并且每个密度算符都可以写成纯态的凸组合 \( \rho = \sum_i p_i \ket{e_i}\bra{e_i} \)。<sup>[3](https://interactivetextbooks.tudelft.nl/mqp-v2/operators.html)</sup>

从态矢量到密度矩阵的映射会丢失信息：任何整体相位都消失了，因此 \( e^{i\alpha}\ket{\psi} \) 与 \( \ket{\psi} \) 有相同的密度矩阵。<sup>[5](https://etneil.github.io/grad_qm_lec_notes/density.html)</sup> 反过来，不同的纯态系综可以给出同一个密度矩阵，因此混合态分解为系综的方式并不唯一。<sup>[7](https://www.cs.cmu.edu/~yangke/thesis/proposal.pdf)</sup>

## 期望值与测量

迹在正交归一基下定义为 \( \operatorname{tr}\hat{B} = \sum_n \bra{n}\hat{B}\ket{n} \)，它将密度矩阵转化为可测量的量。期望值为

\[ \langle A \rangle_\rho = \operatorname{tr}(\hat{A}\hat{\rho}), \]

而对于用投影算符 \( \hat{P}_a \) 描述的测量，得到结果 \( a \) 的玻恩规则概率为 \( \operatorname{tr}(\hat{\rho}\hat{P}_a) \)。<sup>[2](https://www.lancaster.ac.uk/staff/schomeru/lecturenotes/Quantum%20Information%20Processing/S1.html)</sup><sup> • </sup><sup>[5](https://etneil.github.io/grad_qm_lec_notes/density.html)</sup> 对具有本征值 \( q_\mu \) 和本征态 \( \ket{\mu} \) 的可观测量 \( \hat{Q} \)，结果概率为 \( P_\mu = \bra{\mu}\hat{\rho}\ket{\mu} \)，且 \( \langle Q \rangle = \operatorname{tr}[\hat{Q}\hat{\rho}] \)；迹与基的选取无关。<sup>[8](https://phys.libretexts.org/Bookshelves/Quantum_Mechanics/Quantum_Mechanics_III_%28Chong%29/03%3A_Quantum_Entanglement/3.06%3A_Density_Operators)</sup> 对纯态，这套形式严格退化为态矢量的规则，并且 \( \ket{\psi} \) 与 \( \ket{\psi}\bra{\psi} \) 之间有一一对应关系。<sup>[6](https://www.maths.dur.ac.uk/users/kasper.peeters/qcomp/2024/density_matrix.html)</sup>

## 约化密度矩阵与纠缠

对希尔伯特空间为 \( \mathscr{H} = \mathscr{H}_A \otimes \mathscr{H}_B \) 的复合系统，仅子系统 A 的状态由约化密度算符描述

\[ \hat{\rho}_A = \operatorname{Tr}_B[\hat{\rho}], \]

其中偏迹只对空间的 \( \mathscr{H}_B \) 部分求迹。<sup>[8](https://phys.libretexts.org/Bookshelves/Quantum_Mechanics/Quantum_Mechanics_III_%28Chong%29/03%3A_Quantum_Entanglement/3.06%3A_Density_Operators)</sup> 约化密度矩阵本身是一个合法的密度矩阵，但偏迹会丢失信息：对于乘积空间上的一般算符 \( \hat{O} \)，仅凭约化矩阵不足以计算 \( \langle \hat{O} \rangle \)。不过，对于只涉及一个子系统的测量，它们已经足够，因为 \( \langle \hat{A} \otimes \hat{1} \rangle = \operatorname{tr}(\hat{\rho}_A \hat{A}) \)。<sup>[5](https://etneil.github.io/grad_qm_lec_notes/density.html)</sup>

联合系统的一个纯态可以约化为某个子系统的混合态。对自旋单态，把其中一个自旋求迹掉得到 \( \hat{\rho}_A = \frac{1}{2}\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} \)，这是一个混合矩阵，纯度为 \( \operatorname{tr}(\hat{\rho}_A^2) = 1/2 \)。这与 EPR 对的物理相符：任一方单独测量，沿任何轴得到自旋向上或向下的概率都是 50%，即一个非极化态。<sup>[5](https://etneil.github.io/grad_qm_lec_notes/density.html)</sup>

## 时间演化

在哈密顿量 \( \hat{H} \) 生成的幺正演化下，密度矩阵满足

\[ \frac{d}{dt}\hat{\rho} = \frac{i}{\hbar}[\hat{\rho}, \hat{H}], \]

其通解为 \( \hat{\rho}(t) = \hat{U}(t,t_0)\hat{\rho}(t_0)\hat{U}^\dagger(t,t_0) \)，其中 \( \hat{U} \) 是幺正时间演化算符。这与纯态下 \( \ket{\psi} \to \hat{U}\ket{\psi} \) 所对应的变换规则 \( \hat{\rho} \to \hat{U}\hat{\rho}\hat{U}^\dagger \) 如出一辙。<sup>[2](https://www.lancaster.ac.uk/staff/schomeru/lecturenotes/Quantum%20Information%20Processing/S1.html)</sup><sup> • </sup><sup>[6](https://www.maths.dur.ac.uk/users/kasper.peeters/qcomp/2024/density_matrix.html)</sup>

## 历史与地位

密度矩阵由约翰·冯·诺伊曼与列夫·朗道于 1927 年各自独立提出。冯·诺伊曼 1932 年的著作《量子力学的数学基础》为量子力学奠定了严格的数学框架，密度算符作为量子统计力学所用的统计算符进入其中。<sup>[1](https://unseel.com/physics/density-matrix)</sup><sup> • </sup><sup>[9](https://citeseerx.ist.psu.edu/document?doi=8cab594773d97319af3e31289452a0a726a554d0&repid=rep1&type=pdf)</sup> 如今，这套形式已成为开放量子系统、退相干和量子信息理论的标准语言，密度算符在其中描述将量子态与经典不确定性结合起来的混合态。<sup>[1](https://unseel.com/physics/density-matrix)</sup><sup> • </sup><sup>[3](https://interactivetextbooks.tudelft.nl/mqp-v2/operators.html)</sup>

## References

1. [The Density Matrix, Explained, Equation & Interactive, Unseel](https://unseel.com/physics/density-matrix)
2. [I.5 Density matrix, PHYS483 Quantum Information Processing Lecture Notes, Lancaster University](https://www.lancaster.ac.uk/staff/schomeru/lecturenotes/Quantum%20Information%20Processing/S1.html)
3. [9. Operators on Hilbert spaces, Mathematics for Quantum Physics, TU Delft](https://interactivetextbooks.tudelft.nl/mqp-v2/operators.html)
4. [Density matrix basics, IBM Quantum Documentation](https://qiskit.qotlabs.org/learning/courses/general-formulation-of-quantum-information/density-matrices/density-matrix-basics)
5. [18 Density matrix formalism, Graduate Quantum Mechanics Lecture Notes](https://etneil.github.io/grad_qm_lec_notes/density.html)
6. [QI III: Measurement and uncertainty, Quantum Computation and Information, Durham University](https://www.maths.dur.ac.uk/users/kasper.peeters/qcomp/2024/density_matrix.html)
7. [On the Communication Complexity of Correlation (thesis proposal), Carnegie Mellon University](https://www.cs.cmu.edu/~yangke/thesis/proposal.pdf)
8. [3.6 Density Operators, Quantum Mechanics III (Chong), Physics LibreTexts](https://phys.libretexts.org/Bookshelves/Quantum_Mechanics/Quantum_Mechanics_III_%28Chong%29/03%3A_Quantum_Entanglement/3.06%3A_Density_Operators)
9. [John von Neumann and the entropy S (on the introduction of the density matrix in the 1932 Mathematische Grundlagen der Quantenmechanik), CiteSeerX](https://citeseerx.ist.psu.edu/document?doi=8cab594773d97319af3e31289452a0a726a554d0&repid=rep1&type=pdf)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 物理学 › 量子物理学 › Quantum mechanics › Quantum formalism and states › Quantum states and wave functions › Mixed and entangled states › Density matrix formalism

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/density-matrix

English original: https://www.edgepedia.org/density-matrix
