# 态蒸馏（量子计算）

态蒸馏是一种量子计算协议，它把许多含噪量子态转换为数量更少、保真度更高的副本，是通向通用容错量子计算所需非克利福德门的标准途径。<sup>[1](https://iopscience.iop.org/article/10.1088/2058-9565/ace6ca)</sup> 一个协议消耗 \( n \) 个输入错误率为 \( p_{\mathrm{in}} \) 的含噪 |T⟩ 态，并产生 \( k \) 个更干净的态；在一阶近似下 \( p_{\mathrm{out}} = C \cdot p_{\mathrm{in}}^{d} \)，其中距离 \( d > 1 \)，前因子 \( C > 0 \)。<sup>[2](https://arxiv.org/pdf/2606.07734)</sup> 核心权衡是保真度与开销：检测到错误的运行会被丢弃。<sup>[3](https://www.nature.com/articles/ncomms1166)</sup>

| 关键事实 | 数值 |
|---|---|
| 输入–输出关系 | \( n \) 个含噪 |T⟩ 态输入，\( k \) 个更干净态输出，且 \( p_{\mathrm{out}} = C \cdot p_{\mathrm{in}}^{d} \)<sup>[2](https://arxiv.org/pdf/2606.07734)</sup> |
| 15 到 1 协议 | 通过量子里德–米勒 [[15, 1, 3]] 码，把 15 个含噪 |T⟩ 态变为 1 个更干净态，且 \( p_{\mathrm{out}} = 35 p_{\mathrm{in}}^{3} \)<sup>[2](https://arxiv.org/pdf/2606.07734)</sup> |
| 收敛阈值 | 沿魔法方向约 65% 的极化<sup>[4](https://journals.aps.org/pra/abstract/10.1103/PhysRevA.71.022316)</sup>；15 量子比特码协议中 H 本征态的输入错误率为 14.148%<sup>[5](https://ar5iv.labs.arxiv.org/html/quant-ph/0411036)</sup> |
| 标度指数 \( \gamma \) | ≈ 2.46（15 到 1），≈ 2.32（10 到 2），≈ 1.6（三重正交码）；多级协议趋近 1<sup>[6](https://ar5iv.labs.arxiv.org/html/1210.3388)</sup> |
| 示例工厂成本 | (15-to-1)\(_{7,3,3}\) 在物理错误率 \( 10^{-4} \) 时：输出错误率 \( 4.4 \times 10^{-8} \)，810 个量子比特，18.1 个周期，每个态 14,600 量子比特·周期<sup>[7](https://quantum-journal.org/papers/q-2019-12-02-205/pdf/)</sup> |
| 培养替代方案 | 在 \( 10^{-3} \) 线路噪声下逻辑错误率低至 \( 2 \times 10^{-9} \)，且量子比特·轮数比先前工作少一个数量级<sup>[8](https://doi.org/10.48550/arxiv.2409.17595)</sup> |
| 近期进展 | 针对 |T⟩ 和 |CCZ⟩ 态、具有指数 \( \gamma = 0 \) 的恒定开销协议<sup>[9](https://www.nature.com/articles/s41567-025-03026-0)</sup> |

## 工作原理

稳定子操作，即克利福德酉操作加上泡利测量，可由戈特斯曼–克尼尔定理（Gottesman–Knill theorem）在经典上高效模拟，因此不是通用的；加入任意一个在整体相位意义下不是克利福德的单量子比特酉操作，就能恢复通用性。<sup>[10](https://www.rintonpress.com/xxqic9/qic-9-1112/1030-1052.pdf)</sup> 魔法态是构造此类非克利福德门所依据的资源态，它们与稳定子码的横截克利福德门结合，可实现通用容错计算。<sup>[1](https://iopscience.iop.org/article/10.1088/2058-9565/ace6ca)</sup> 因为容错方案只能以约 \( 10^{-3} \) 的现实错误率产生魔法态，而有用的计算要求错误率低于 \( 10^{-10} \)，所以需要纯化步骤。<sup>[2](https://arxiv.org/pdf/2606.07734)</sup>

其机制是后选择错误检测。在五量子比特协议中，一个有缺陷魔法态的五个副本被投影到五量子比特码的码空间，该码的稳定子生成元为 \( XZZX \, I \)、\( I \, XZZX \)、\( X \, I \, XZZ \) 和 \( ZX \, I \, XZ \)。<sup>[10](https://www.rintonpress.com/xxqic9/qic-9-1112/1030-1052.pdf)</sup> 测量四个稳定子；若任一结果为 −1，则丢弃该态，尝试失败。<sup>[3](https://www.nature.com/articles/ncomms1166)</sup> 平凡综合征的运行被保留，解码变换给出的输出态的 m 极化超过输入态的 m 极化；迭代会把极化推向 1。<sup>[3](https://www.nature.com/articles/ncomms1166)</sup> 该过程是一种多对一映射，只保留未检测到错误的运行，而不是复制操作。<sup>[3](https://www.nature.com/articles/ncomms1166)</sup>

## 如何实现

15 到 1 协议把 \( \rho \) 的 15 个副本编码进一个 15 量子比特码，施加解码线路；若检测到任何错误，就拒绝输出。<sup>[5](https://ar5iv.labs.arxiv.org/html/quant-ph/0411036)</sup> 该码是量子里德–米勒 [[15, 1, 3]] 码，结果是把 15 个含噪 |T⟩ 态蒸馏为 1 个更干净的 |T⟩ 态，且 \( p_{\mathrm{out}} = 35 p_{\mathrm{in}}^{3} \)。<sup>[2](https://arxiv.org/pdf/2606.07734)</sup> 精确输出错误率为

\[ p_{\mathrm{out}} = \frac{1 - 15(1-2p)^{7} + 15(1-2p)^{8} - (1-2p)^{15}}{2\left(1 + 15(1-2p)^{8}\right)} \]

它给出约 14.148% 的错误阈值；低于该阈值时 H 本征态可被蒸馏。<sup>[5](https://ar5iv.labs.arxiv.org/html/quant-ph/0411036)</sup> 输出错误率与输入错误率的三次方成正比。<sup>[2](https://arxiv.org/pdf/2606.07734)</sup>

## 起源

2004 年的预印本《用理想克利福德门与含噪辅助比特实现通用量子计算》（Universal Quantum Computation with ideal Clifford gates and noisy ancillas），作者为谢尔盖·布拉维（Sergei Bravyi）和[阿列克谢·基塔耶夫](https://www.edgepedia.org/zh/alexei-kitaev)（Alexei Kitaev），考虑了一个限于克利福德酉操作、|0⟩ 制备、计算基测量，外加一个含噪单量子比特辅助态 \( \rho \) 的模型，并构造了上文所述的纯化协议。<sup>[11](https://doi.org/10.48550/arxiv.quant-ph/0403025)</sup> 该工作于 2005 年发表在《[物理评论 A](https://www.edgepedia.org/zh/physical-review-a)》（Physical Review A）上。<sup>[4](https://journals.aps.org/pra/abstract/10.1103/PhysRevA.71.022316)</sup> 布拉维的一篇后续论文描述了克尼尔提出的一种方案，基于用 \( \rho \) 的十四个副本对 7 比特 Steane/Hamming 码施加一个有故障的逻辑受控哈达玛门，达到完全相同的 \( p_{\mathrm{out}} \)；再编码第十五个副本使其在输出错误上等价，不过接受概率小 \( 2^{14} \) 倍。<sup>[5](https://ar5iv.labs.arxiv.org/html/quant-ph/0411036)</sup> 已发表文献对归属说法不一：一篇把 15 到 1 流程归功于那个独立方案，<sup>[6](https://ar5iv.labs.arxiv.org/html/1210.3388)</sup> 另一篇把 15 到 1 里德–米勒协议归功于布拉维和基塔耶夫；<sup>[2](https://arxiv.org/pdf/2606.07734)</sup> 两种构造给出相同的输出错误。

## 变体

协议效率由指数 \( \gamma \) 刻画：对于非保真度为 \( \epsilon_{\mathrm{out}} \) 的每个输出态，需要 \( O(\log^{\gamma}(\epsilon_{\mathrm{in}}/\epsilon_{\mathrm{out}})) \) 个输入态。<sup>[6](https://ar5iv.labs.arxiv.org/html/1210.3388)</sup> T 本征态的蒸馏使用到 5 量子比特距离 3 码的投影，输入错误阈值为 0.173；而 H 本征态蒸馏使用 15 量子比特里德–米勒码，阈值为 0.141。<sup>[12](https://doi.org/10.26421/qic13.3-4-2)</sup> 10 到 2 流程由亚当·M·迈尔（Adam M. Meier）、布莱恩·伊斯汀（Bryan Eastin）和[伊曼纽尔·克尼尔](https://www.edgepedia.org/zh/emanuel-knill)（Emanuel Knill）在《量子信息与计算》（Quantum Information and Computation，2013）中提出，它使用四量子比特错误检测码，从 10 个输入中蒸馏出 2 个改进的 |H⟩ 态，阈值 \( p_{t} = 0.089 \)。三重正交码由谢尔盖·布拉维（Sergey Bravyi）和河贞完（Jeongwan Haah）在《低开销魔法态蒸馏》（Magic-state distillation with low overhead，Physical Review A，2012）中提出，可降低魔法态蒸馏的开销。<sup>[13](https://doi.org/10.1103/physreva.86.052329)</sup> 具有 \( r \) 轮的多级协议每个输出需要 \( 2^{r} + 1 \) 个输入态，因此当 \( r \rightarrow \infty \) 时 \( \gamma = \log(2^{r}+1)/\log(2^{r}) \rightarrow 1 \)，趋近猜想界 \( \gamma \geq 1 \)。<sup>[6](https://ar5iv.labs.arxiv.org/html/1210.3388)</sup> 一个相关的族常被称为合成蒸馏（synthillation），它消耗 |T⟩ 态以产生高质量的 |CCZ⟩ = CCZ|+++⟩ 态，注入后用于执行托福利门。<sup>[2](https://arxiv.org/pdf/2606.07734)</sup>

最近的三项进展改变了开销图景。魔法态培养由克雷格·吉德尼（Craig Gidney）、诺亚·沙蒂（Noah Shutty）和科迪·琼斯（Cody Jones）于 2024 年描述：它在表面码（二维格点量子纠错码）的一个补片中逐步增大一个 T 态的大小并提高其可靠性，使用的物理门数量大致与同等可靠性的晶格手术 CNOT 门相同；在 \( 10^{-3} \) 均匀退极化线路噪声下，逻辑错误率低至 \( 2 \times 10^{-9} \)。<sup>[8](https://doi.org/10.48550/arxiv.2409.17595)</sup> 零级蒸馏由糸川知宏（Tomohiro Itogawa）及其同事在《PRX Quantum》（2025）中描述：它在物理层面制备高保真逻辑魔法态，使用物理量子比特和方格子上的最近邻两量子比特门。<sup>[14](https://doi.org/10.1103/thxx-njr6)</sup> 使用具有横截非克利福德门和高效解码器的代数几何量子码的协议，对 |T⟩ 和 |CCZ⟩ 态达到最优指数 \( \gamma = 0 \)，即恒定开销。<sup>[9](https://www.nature.com/articles/s41567-025-03026-0)</sup>

## 应用

利廷斯基（Litinski）的资源估计工作量化了在表面码容错方案内 15 到 1 蒸馏的代价。一个全距离 (15-to-1)\(_{7,3,3}\) 工厂在物理错误率 \( 10^{-4} \) 时，输出错误率为 \( 4.4 \times 10^{-8} \)，使用 810 个量子比特、18.1 个周期，每个输出态 14,600 量子比特·周期。<sup>[7](https://quantum-journal.org/papers/q-2019-12-02-205/pdf/)</sup> 一个四级工厂 (15-to-1)\(_{9,3,3}\) × (20-to-4)\(_{15,7,9}\) 在 \( 10^{-4} \) 时达到输出错误率 \( 2.4 \times 10^{-15} \)，使用 16,400 个量子比特、90.3 个周期，每个输出态 371,000 量子比特·周期。<sup>[7](https://quantum-journal.org/papers/q-2019-12-02-205/pdf/)</sup> 对于约 \( 10^{-3} \) 的输入错误率，培养在 \( p_{\mathrm{out}} \approx 10^{-7} \) 处触底，因此近来的资源估计把培养作为第一步，随后接一个最终蒸馏阶段。<sup>[2](https://arxiv.org/pdf/2606.07734)</sup>

## 局限与替代方案

[蒸馏](https://www.edgepedia.org/zh/distillation)只在其阈值以上收敛：在 15 到 1 流程中，H 态的输入错误必须低于约 14.148%；通过五量子比特码的 T 态为 0.173；10 到 2 流程为 0.089。<sup>[5](https://ar5iv.labs.arxiv.org/html/quant-ph/0411036)</sup> 后选择机制也意味着大多数尝试会被丢弃。有文献记载的主要替代方案是培养，它在 \( 10^{-7} \) 到 \( 10^{-9} \) 区间内每个态更便宜，但本身达不到 \( 10^{8} \) 门计算所需的 \( 10^{-10} \) 或更好错误率，因此在当前设计中仍保留一个最终蒸馏阶段。<sup>[2](https://arxiv.org/pdf/2606.07734)</sup><sup> • </sup><sup>[8](https://doi.org/10.48550/arxiv.2409.17595)</sup> 关联错误和泄漏等失效模式在上述协议中没有被量化，这些协议把输入错误当作每个态独立的概率。

## References

1. [Magic state distillation and cost analysis in fault-tolerant universal quantum computation (Quantum Science and Technology, 2023)](https://iopscience.iop.org/article/10.1088/2058-9565/ace6ca)
2. [Exploring the landscape of compact magic-state distillation factories (arXiv:2606.07734)](https://arxiv.org/pdf/2606.07734)
3. [Experimental magic state distillation for fault-tolerant quantum computing (Nature Communications)](https://www.nature.com/articles/ncomms1166)
4. [Universal quantum computation with ideal Clifford gates and noisy ancillas (Bravyi & Kitaev, Phys. Rev. A 71, 022316, 2005)](https://journals.aps.org/pra/abstract/10.1103/PhysRevA.71.022316)
5. [Improved magic states distillation for quantum universality (Bravyi, quant-ph/0411036)](https://ar5iv.labs.arxiv.org/html/quant-ph/0411036)
6. [Multilevel distillation of magic states for quantum computing (arXiv:1210.3388)](https://ar5iv.labs.arxiv.org/html/1210.3388)
7. [Magic State Distillation: Not as Costly as You Think (Litinski, Quantum)](https://quantum-journal.org/papers/q-2019-12-02-205/pdf/)
8. [Gidney, Craig, Shutty, Noah, Jones, Cody (2024). Magic state cultivation: growing T states as cheap as CNOT gates. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2409.17595)
9. [Constant-overhead magic state distillation (Nature Physics, 2025)](https://www.nature.com/articles/s41567-025-03026-0)
10. [Stabilizer Quantum Mechanics and Magic State Distillation (Quantum Information & Computation 9, 1030–1052)](https://www.rintonpress.com/xxqic9/qic-9-1112/1030-1052.pdf)
11. [Bravyi, Sergei, Kitaev, Alexei (2004). Universal Quantum Computation with ideal Clifford gates and noisy ancillas. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.quant-ph/0403025)
12. [Magic state distillation with the four-qubit code (Meier, Eastin, Knill)](https://doi.org/10.26421/qic13.3-4-2)
13. [Sergey Bravyi, Jeongwan Haah (2012). Magic-state distillation with low overhead. Physical Review A.](https://doi.org/10.1103/physreva.86.052329)
14. [Tomohiro Itogawa and colleagues (2025). Efficient Magic State Distillation by Zero-Level Distillation. PRX Quantum.](https://doi.org/10.1103/thxx-njr6)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Algorithms and computational methods

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/state-distillation-quantum-computing

English original: https://www.edgepedia.org/state-distillation-quantum-computing
