# 普法夫式（Pfaffian）

普法夫式是反对称矩阵（满足 \( x_{ij} = -x_{ji} \) 且对角线为零的矩阵，也称交错矩阵）各元素的多项式，其平方等于该矩阵的行列式。它定义在带单位的交换结合环上、阶为偶数 \( 2n \) 的矩阵上；对于奇数阶矩阵，则规定为零。<sup>[1](https://encyclopediaofmath.org/wiki/Pfaffian)</sup><sup> • </sup><sup>[2](https://bjansen.win.tue.nl/papers/MasterThesisVerhaegh.pdf)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义恒等式 | 对偶数阶反对称矩阵 \( X \)，有 \( (\mathrm{Pf}\, X)^2 = \det X \)<sup>[1](https://encyclopediaofmath.org/wiki/Pfaffian)</sup> |
| 奇数阶 | 奇数阶反对称矩阵的普法夫式定义为 0<sup>[2](https://bjansen.win.tue.nl/papers/MasterThesisVerhaegh.pdf)</sup> |
| 变换规则 | 对任意 \( 2n \) 阶矩阵 \( C \)，有 \( \mathrm{Pf}(C^T X C) = (\det C)(\mathrm{Pf}\, X) \)<sup>[1](https://encyclopediaofmath.org/wiki/Pfaffian)</sup> |
| 次数 | 普法夫式是 \( 2n \times 2n \) 矩阵各元素的 \( n \) 次齐次多项式，且对每个变量分别线性<sup>[3](https://people.math.harvard.edu/~elkies/M55a.99/pfaff.html)</sup> |
| 命名 | 由阿瑟·凯莱（Arthur Cayley）于 1852 年引入并命名，以约翰·弗里德里希·普法夫（Johann Friedrich Pfaff，1765–1825）命名<sup>[4](https://people.eecs.berkeley.edu/~wkahan/MathH90/S16Nov07.pdf)</sup> |
| 组合用途 | 卡斯特莱因（Kasteleyn，1961）将平面格图的二聚体配分函数表示为普法夫式，使其可在多项式时间内计算<sup>[5](https://doi.org/10.1063/1.1703953)</sup> |
| 物理用途 | 普法夫式的符号定义了一维超导线材的 \( \mathbb{Z}_2 \) 拓扑不变量（马约拉纳数）<sup>[6](https://arxiv.org/abs/1306.4459)</sup> |

## 定义

设 \( X = \|x_{ij}\| \) 为 \( 2n \) 阶反对称矩阵。普法夫式是元素

\[ \mathrm{Pf}\, X = \sum_{s} \epsilon(s)\, x_{i_1 j_1} \cdots x_{i_n j_n}, \]

其中求和遍历将集合 \( \{1, \ldots, 2n\} \) 分成互不相交的配对 \( \{i_\alpha, j_\alpha\} \)（满足 \( i_\alpha < j_\alpha \)）的所有划分 \( s \)，而 \( \epsilon(s) \) 是按顺序列出这些配对指标所得排列的符号。<sup>[1](https://encyclopediaofmath.org/wiki/Pfaffian)</sup> 等价地，求和遍历 \( \{1, \ldots, 2n\} \) 的全部 \( (2n-1)!! \) 个配对划分，每一项按其对应排列的符号加权。<sup>[7](https://paperzz.com/doc/8037984/acta-physica-slovaca-vol.-59-no.-2--81-%E2%80%93-168-april)</sup>

最初几种情形显示出这一模式。2 阶时，普法夫式就是 \( a_{12} \)；4 阶时为 \( a_{12}a_{34} - a_{13}a_{24} + a_{14}a_{23} \)；将任一表达式平方，都能还原出行列式。<sup>[3](https://people.math.harvard.edu/~elkies/M55a.99/pfaff.html)</sup>

另一种等价定义使用外代数。设 \( V \) 是维数为 \( 2m \) 的向量空间，其反对称矩阵可视为交错平方 \( \bigwedge^2 V \) 中的元素 \( q \)，而普法夫式是 \( (1/m!)\, q^{\wedge m} \)（即 \( q \) 与自身的 \( m \) 重楔积）中 \( e_1 \wedge \cdots \wedge e_{2m} \) 的系数。<sup>[3](https://people.math.harvard.edu/~elkies/M55a.99/pfaff.html)</sup> 在模的情形下，若 \( u = \sum_{i<j} x_{ij} e_i \wedge e_j \)，则 \( \bigwedge^n u = n!\,(\mathrm{Pf}\, X)\, e_1 \wedge \cdots \wedge e_{2n} \)。<sup>[1](https://encyclopediaofmath.org/wiki/Pfaffian)</sup>

## 基本性质

三条恒等式承载了大部分理论。第一，定义性的平方关系 \( (\mathrm{Pf}\, X)^2 = \det X \)。第二，对任意 \( 2n \) 阶矩阵 \( C \) 的变换规则 \( \mathrm{Pf}(C^T X C) = (\det C)(\mathrm{Pf}\, X) \)，这与行列式的 \( \det(C^T X C) = (\det C)^2 \det X \) 形成对照。第三，上述外代数公式。<sup>[1](https://encyclopediaofmath.org/wiki/Pfaffian)</sup>

平方关系反映了一个关于反对称矩阵的一般事实：任何偶数阶反对称矩阵的行列式都是完全平方，而奇数阶反对称矩阵总是退化的，因此其行列式为零。<sup>[3](https://people.math.harvard.edu/~elkies/M55a.99/pfaff.html)</sup> 这就是为什么普法夫式只对偶数阶定义，而对奇数阶规定为零。<sup>[2](https://bjansen.win.tue.nl/papers/MasterThesisVerhaegh.pdf)</sup>

## 历史

名称与系统理论来自阿瑟·凯莱（Arthur Cayley，1821–1895），这位英国代数家也是不变量理论的先驱。凯莱在其行列式研究中发展了反对称行列式与普法夫式，“普法夫式”一词由他于 1852 年引入，以纪念德国数学家约翰·弗里德里希·普法夫（Johann Friedrich Pfaff，1765–1825）；普法夫的名字也与某些偏微分方程的研究相联系。<sup>[4](https://people.eecs.berkeley.edu/~wkahan/MathH90/S16Nov07.pdf)</sup><sup> • </sup><sup>[8](https://en.wikisource.org/wiki/Page%3AA_History_of_Mathematics_%281893%29.djvu/343)</sup> 1847 年，凯莱证明了一个定理：任何偶数阶反对称矩阵的行列式都等于相应普法夫式的平方。<sup>[9](https://www.sciencedirect.com/science/article/pii/S0021980066800297)</sup> 凯莱还证明了加边反对称行列式可表示为两个普法夫式的乘积。<sup>[10](https://www.cambridge.org/core/journals/proceedings-of-the-royal-society-of-edinburgh/article/abs/theory-of-skew-determinants-and-pfaffians-in-the-historical-order-of-its-development-up-to-1857/92E91B8469E37D75898426CA4F8D889A)</sup> 托马斯·缪尔（Thomas Muir）在 1902 年关于反对称行列式的论述中，追溯了该理论到 1857 年的历史发展，包括雅可比（Jacobi）的贡献以及《克雷勒杂志》（Crelle's Journal）中饱受印刷错误困扰的论文。<sup>[10](https://www.cambridge.org/core/journals/proceedings-of-the-royal-society-of-edinburgh/article/abs/theory-of-skew-determinants-and-pfaffians-in-the-historical-order-of-its-development-up-to-1857/92E91B8469E37D75898426CA4F8D889A)</sup>

## 普法夫定向与完美匹配

普法夫式最重大的现代用途是计数图的完美匹配。反对称带权邻接矩阵的普法夫式的每一项对应图的一个可能完美匹配，并带有一个由相交对奇偶性给出的符号。<sup>[11](https://www.theoryofcomputing.org/articles/v010a007/v010a007.pdf)</sup> 若这些符号以某种方式一致，使得普法夫式在相差一个整体符号的意义下等于所有完美匹配的总权重，则称图的一个定向为普法夫定向。<sup>[11](https://www.theoryofcomputing.org/articles/v010a007/v010a007.pdf)</sup>

**卡斯特莱因定理。** P. W. 卡斯特莱因于 1963 年证明，每个平面图都有普法夫定向。<sup>[12](https://math.mit.edu/~goemans/18438S14/lec4-algmat.pdf)</sup> 具体地说，若一个定向中每个内部面都有奇数条顺时针定向的边，则该定向是普法夫定向；对任何平面图，这样的定向都容易计算。<sup>[11](https://www.theoryofcomputing.org/articles/v010a007/v010a007.pdf)</sup> 这构成了费希尔（Fisher）、卡斯特莱因和坦珀利（Temperley）于 1961 年建立的 FKT 算法的基础；该算法通过计算一个普法夫式，在多项式时间内计数任意平面图的二聚体覆盖，等价地，对于卡斯特莱因定向的反对称邻接矩阵 \( A^K \)，有 \( D(\Gamma) = \sqrt{\det A^K} \)。<sup>[13](https://engineering.nyu.edu/sites/default/files/2018-10/2D_Tiling_Domino_Tetromino_and_Percolation.pdf)</sup>

## 二聚体模型与统计力学

在统计力学中，二聚体占据格子的两个相邻格点，计数二聚体的排列等价于计数完美匹配。卡斯特莱因 1961 年的论文表明，当格图是平面图且二聚体占据所有格点时，二聚体系统的构型配分函数可表示为普法夫式，从而可以显式计算。<sup>[5](https://doi.org/10.1063/1.1703953)</sup> 同年，迈克尔·E. 费希尔（Michael E. Fisher）以闭式解解决了密排正方格问题，他用算子技巧推导结果，将配分函数化为普法夫式，进而化为行列式；二聚体填充数渐近增长为 \( (1.791623)^{mn/2} \)。<sup>[14](https://doi.org/10.1103/PhysRev.124.1664)</sup> 普法夫式方法可推广到其他平面格，如笼目格；在笼目格上，二聚体生成函数写成卡斯特莱因矩阵的单个普法夫式。<sup>[15](https://www.sciencedirect.com/science/article/abs/pii/S0378437108002021)</sup> 基于普法夫式的方法还能表示任意平面图上伊辛模型的配分函数。<sup>[16](https://arxiv.org/abs/1312.7289)</sup>

## 计算

计算普法夫式有若干算法途径。

**化为三对角形式。** 一旦将矩阵化为反对称三对角形式，普法夫式以及反对称矩阵在酉相合下的标准形都容易计算。维默（Wimmer）基于使用高斯变换的帕莱特-里德（Parlett-Reid）算法的反对称分块形式，以及分别用于稠密矩阵和带状矩阵的分块豪斯霍尔德（Householder）变换与吉文斯（Givens）旋转，开发了高效数值约化方法，并在 Fortran、Python、Matlab 和 Mathematica 中实现。<sup>[17](https://arxiv.org/abs/1102.3440)</sup> 另一种基于豪斯霍尔德变换的三对角化方法具有数值稳定性优势，从而无需选主元策略。<sup>[18](https://arxiv.org/abs/1012.5022)</sup>

**法捷耶夫-勒韦里耶算法的改编。** 研究微分几何与线性代数的数学家克里斯蒂安·贝尔（Christian Bär）将用于特征多项式的法捷耶夫-勒韦里耶（Faddeev-LeVerrier）算法改编用于普法夫式，得到一个简单且可并行化的算法，代价为 \( O(n^{\beta+1}) \)，其中 \( O(n^{\beta}) \) 是相乘 \( n \times n \) 矩阵的代价，\( \beta \in [2, 2.37286) \)。<sup>[19](https://arxiv.org/abs/2008.04247)</sup>

**无除法计算。** 2025 年的一种算法不使用除法运算来计算普法夫式，本质上通过迭代矩阵乘法与截断，对于 \( 2n \times 2n \) 矩阵的复杂度为 \( O(nM(n)) \)，其中 \( M(n) \) 是矩阵乘法的代价；它还能给出普法夫特征多项式。<sup>[20](https://www.sciencedirect.com/science/article/abs/pii/S0020019024000802)</sup>

## 物理学应用

除格点统计外，普法夫式也作为拓扑不变量出现。阿列克谢·基塔耶夫（Alexei Kitaev）最初把区分一维拓扑超导体（其两端各承载一个马约拉纳束缚态）的 \( \mathbb{Z}_2 \) 不变量，计算为哈密顿量马约拉纳表示的普法夫式的符号；这个符号将马约拉纳费米子的有隙二次型集合分成两个不等价类。<sup>[6](https://arxiv.org/abs/1306.4459)</sup> 近期关于半导体-超导体纳米线异质结构的工作表明，实空间普法夫不变量——定义为哈密顿量在周期与反周期边界条件下普法夫式乘积的符号——即使没有平移对称性也仍然定义良好；并且，二次哈密顿量的普法夫式符号等于其基态的费米子宇称。<sup>[21](https://arxiv.org/abs/2603.08786)</sup>

## 相关概念

“普法夫式”一词也出现在微分几何中的普法夫形式与普法夫结构里：线性微分形式 \( \sum_i a_i\, dx^i \) 称为普法夫形式，而弗罗贝尼乌斯定理刻画了普法夫结构的完全可积性。<sup>[22](https://encyclopediaofmath.org/index.php?title=Cartan_method_of_exterior_forms)</sup><sup> • </sup><sup>[23](https://encyclopediaofmath.org/wiki/Pfaffian_structure)</sup> 哈夫尼安（hafnian）将普法夫式的配对结构推广到对称矩阵；普法夫型恒等式在组合学中与舒尔 Q 函数恒等式相联系。<sup>[24](https://arxiv.org/abs/1706.01029)</sup>

## References

1. [Pfaffian, Encyclopedia of Mathematics (A.L. Onishchik, originator)](https://encyclopediaofmath.org/wiki/Pfaffian)
2. [Master's thesis, Department of Mathematics and Computer Science, TU Eindhoven](https://bjansen.win.tue.nl/papers/MasterThesisVerhaegh.pdf)
3. [Symplectic spaces, Noam Elkies, Harvard University course notes](https://people.math.harvard.edu/~elkies/M55a.99/pfaff.html)
4. [W. Kahan, course notes (S16Nov07), University of California, Berkeley](https://people.eecs.berkeley.edu/~wkahan/MathH90/S16Nov07.pdf)
5. [P. W. Kasteleyn, Dimer Statistics and Phase Transitions (1963), citation record](https://doi.org/10.1063/1.1703953)
6. [J. C. Budich and E. Ardonne, Equivalent topological invariants for one-dimensional Majorana wires in symmetry class D, arXiv:1306.4459](https://arxiv.org/abs/1306.4459)
7. [Acta Physica Slovaca 59, No. 2 (quantum Monte Carlo review)](https://paperzz.com/doc/8037984/acta-physica-slovaca-vol.-59-no.-2--81-%E2%80%93-168-april)
8. [A History of Mathematics (1893), Wikisource page 343](https://en.wikisource.org/wiki/Page%3AA_History_of_Mathematics_%281893%29.djvu/343)
9. [A combinatorial proof of Cayley's theorem on Pfaffians, Journal of Combinatorial Theory](https://www.sciencedirect.com/science/article/pii/S0021980066800297)
10. [T. Muir, The Theory of Skew Determinants and Pfaffians in the Historical Order of its Development up to 1857, Proceedings of the Royal Society of Edinburgh 23 (1902)](https://www.cambridge.org/core/journals/proceedings-of-the-royal-society-of-edinburgh/article/abs/theory-of-skew-determinants-and-pfaffians-in-the-historical-order-of-its-development-up-to-1857/92E91B8469E37D75898426CA4F8D889A)
11. [J.-Y. Cai and A. Gorenstein, Matchgates Revisited, Theory of Computing 10 (7), 2014](https://www.theoryofcomputing.org/articles/v010a007/v010a007.pdf)
12. [M. Goemans, lecture notes on Kasteleyn orientations, MIT](https://math.mit.edu/~goemans/18438S14/lec4-algmat.pdf)
13. [FKT Formula and Kasteleyn Ordering of Planar Graphs, New York University](https://engineering.nyu.edu/sites/default/files/2018-10/2D_Tiling_Domino_Tetromino_and_Percolation.pdf)
14. [M. E. Fisher, Statistical Mechanics of Dimers on a Plane Lattice, Phys. Rev. 124, 1664 (1961)](https://doi.org/10.1103/PhysRev.124.1664)
15. [Dimers on the kagome lattice I: Finite lattices, Physica A](https://www.sciencedirect.com/science/article/abs/pii/S0378437108002021)
16. [Graph theory and Pfaffian representations of Ising partition function, arXiv:1312.7289](https://arxiv.org/abs/1312.7289)
17. [M. Wimmer, Efficient numerical computation of the Pfaffian for dense and banded skew-symmetric matrices, arXiv:1102.3440; ACM Trans. Math. Software 38, 30 (2012)](https://arxiv.org/abs/1102.3440)
18. [C. González-Ballestero, L. M. Robledo, G. F. Bertsch, Numeric and symbolic evaluation of the pfaffian of general skew-symmetric matrices, arXiv:1012.5022](https://arxiv.org/abs/1012.5022)
19. [C. Bär, The Faddeev-LeVerrier algorithm and the Pfaffian, arXiv:2008.04247; Linear Algebra and its Applications 630 (2021), 39–55](https://arxiv.org/abs/2008.04247)
20. [A. J. Przeździecki, A simple division-free algorithm for computing Pfaffians, Information Processing Letters 189 (2025)](https://www.sciencedirect.com/science/article/abs/pii/S0020019024000802)
21. [B. B. Roy, W. B. Cason, N. Sharma, S. Tewari, Pfaffian-based topological invariants for one dimensional semiconductor-superconductor heterostructures, arXiv:2603.08786](https://arxiv.org/abs/2603.08786)
22. [Cartan method of exterior forms, Encyclopedia of Mathematics](https://encyclopediaofmath.org/index.php?title=Cartan_method_of_exterior_forms)
23. [Pfaffian structure, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Pfaffian_structure)
24. [Pfaffian Formulas and Schur Q-Function Identities, arXiv:1706.01029](https://arxiv.org/abs/1706.01029)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Linear and multilinear algebra › Matrix theory › Determinants and minors

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/pfaffian

English original: https://www.edgepedia.org/pfaffian
