# 容错量子计算

**容错量子计算**（FTQC）是指这样一种量子计算机设计：即使每一个物理组件——量子比特、门和测量——都带有噪声，也能精确地执行任意长的计算。它将量子纠错码（以编码的“逻辑”量子比特冗余存储信息）与门操作及纠错本身的执行程序结合起来，使单个故障不会扩散为不可纠正的故障。<sup>[1](https://arxiv.org/abs/0904.2557)</sup>

| 关键事实 | 详情 |
|---|---|
| 阈值定理 | 只要每个位置上的错误概率低于某个固定的非零阈值，规模为 N 的电路就可以由一个带噪电路高精度地实现；带噪电路的规模按 O(N log^c N) 增长，其中 c 为常数<sup>[2](https://qiskit.qotlabs.org/learning/courses/foundations-of-quantum-error-correction/fault-tolerant-quantum-computing/threshold-theorem)</sup> |
| 表面码阈值 | 二维最近邻晶格的阈值错误率接近 1%；计入稳定子测量电路开销后的操作阈值约为 0.5–1%<sup>[3](https://journals.aps.org/pra/abstract/10.1103/PhysRevA.80.052312)</sup><sup> • </sup><sup>[4](https://quantagram.org/articles/quantum-error-correction/)</sup> |
| 量子比特开销 | 距离为 d 的表面码每个逻辑量子比特使用 2d² − 1 个物理量子比特，逻辑错误率按 ε_d ∝ (p/p_thr)^((d+1)/2) 缩放<sup>[5](https://www.nature.com/articles/s41586-024-08449-y)</sup> |
| 低于阈值的演示 | 谷歌的 Willow 处理器运行了一个 105 量子比特、距离为 7 的表面码，每周期逻辑错误率为 0.143% ± 0.003，距离每增加 2 步的错误抑制因子 Λ = 2.14 ± 0.02<sup>[5](https://www.nature.com/articles/s41586-024-08449-y)</sup> |
| 超越盈亏平衡点 | 距离为 7 的逻辑量子比特保持信息的时间是其最佳组成物理量子比特的 2.4 ± 0.3 倍<sup>[5](https://www.nature.com/articles/s41586-024-08449-y)</sup> |
| 实时解码 | 容错运行要求以综合征数据的产生速度对其进行解码；Willow 在 1.1 μs 的纠错周期下，以 63 μs 的平均延迟维持了实时解码<sup>[5](https://www.nature.com/articles/s41586-024-08449-y)</sup> |

## 阈值定理

该领域的核心成果是阈值定理。按照 IBM Quantum 学习材料给出的形式：只要每个位置上的错误概率低于某个固定的非零阈值 p_th > 0，规模为 N 的量子电路就可以由一个带噪量子电路高精度地实现，且带噪电路的规模按 O(N log^c N) 增长。<sup>[2](https://qiskit.qotlabs.org/learning/courses/foundations-of-quantum-error-correction/fault-tolerant-quantum-computing/threshold-theorem)</sup> 当时在圆周理论物理研究所任职的量子纠错研究者丹尼尔·戈特斯曼（Daniel Gottesman）在其入门介绍中给出了同样的结论：只要每个物理门或时间步的错误率低于某个常数阈值，就有可能建造出执行任意量子计算的量子计算机。<sup>[1](https://arxiv.org/abs/0904.2557)</sup> 阿哈罗诺夫（Aharonov）和本-奥尔（Ben-Or）证明了该结果的一个版本，表明当错误率 η 小于常数阈值 η_c 时，计算可以变得稳健。<sup>[6](https://arxiv.org/abs/quant-ph/9906129)</sup>

该定理的实际意义在于：用带噪部件进行计算不存在根本性障碍。如果物理错误率 p 低于阈值，每一级纠错都会降低逻辑错误率，而将各级级联起来，逻辑错误率会随级数呈双指数下降，而电路规模仅呈指数增长。<sup>[2](https://qiskit.qotlabs.org/learning/courses/foundations-of-quantum-error-correction/fault-tolerant-quantum-computing/threshold-theorem)</sup> 如果该定理不成立，大规模量子计算将难以想象，因为每增加一个量子比特，带来的失败机会都会多于纠错所能消除的。<sup>[2](https://qiskit.qotlabs.org/learning/courses/foundations-of-quantum-error-correction/fault-tolerant-quantum-computing/threshold-theorem)</sup>

阈值的数值取决于所用的码、噪声模型和所选的容错组件，但与所实现电路的规模无关。<sup>[2](https://qiskit.qotlabs.org/learning/courses/foundations-of-quantum-error-correction/fault-tolerant-quantum-computing/threshold-theorem)</sup> 对于一般的基本容错模型，加州大学伯克利分校的讲义将阈值定在 0.001 左右，具体数值取决于详细的假设。<sup>[7](https://math.berkeley.edu/~linlin/qasc/live_notes_0202.pdf)</sup>

## 如何实现容错

**编码计算。** 量子纠错码将 k 个逻辑量子比特编码为 n 个物理量子比特，记作 [[n, k, d]]，其中 d 为码距。随后，容错协议通过对物理量子比特的一系列操作来实现每个逻辑门，其安排方式使得单个物理故障无法破坏编码信息。<sup>[1](https://arxiv.org/abs/0904.2557)</sup><sup> • </sup><sup>[8](https://www.quantum.gov/wp-content/uploads/2024/12/DOE_QIS_Roadmap_Final.pdf)</sup>

**横截门与魔法态。** 有些逻辑门可以横截地施加，即分别对码块中的每个量子比特施加相应的物理门，从而防止一个物理量子比特中的错误传播到同一码块的多个量子比特中。表面码支持横截的 X 门和 Z 门，而色码还额外支持横截的哈达玛门和 S 门。<sup>[9](https://www.preprints.org/manuscript/202509.2149)</sup> 无法做成横截的门——尤其是非克利福德的 π/8 门——则改用魔法态蒸馏（将带噪量子态纯化，以执行纠错码无法直接完成的门操作）来实现，即先纯化专门制备的带噪资源态，再消耗它们来实现该门。表面码量子计算通常对其 π/8 门使用魔法态蒸馏，而规范色码则是作为无需此步骤即可执行容错纠错的替代方案而发展起来的。<sup>[10](https://www.nature.com/articles/ncomms12302)</sup>

**错误传播控制。** 容错电路设计还管理错误如何通过门扩散：在每个门之后加入一个纠错步骤，并安排电路，使一个码块中的故障不会在另一个码块中累积到超出该码纠错能力的程度。<sup>[11](https://qis.rwth-aachen.de/teaching/25ss/intro-quantum-computing/script/content/faultTolerant.html)</sup>

## 码与阈值

表面码在当前的容错格局中占据主导地位。它由阿列克谢·基塔耶夫（Alexei Kitaev）和谢尔盖·布拉维（Sergey Bravyi）于 20 世纪 90 年代末在彼得·肖尔（Peter Shor）1995 年基于冗余的纠错码基础上提出，使用二维最近邻耦合的量子比特晶格，阈值错误率接近 1%，具有天然的非对称且强度可调的纠错能力，以及低开销的远程逻辑门。<sup>[12](https://www.lemonde.fr/sciences/article/2024/04/22/calcul-quantique-l-inevitable-besoin-de-corriger-les-erreurs_6229240_1650684.html)</sup><sup> • </sup><sup>[3](https://journals.aps.org/pra/abstract/10.1103/PhysRevA.80.052312)</sup> 计入稳定子测量电路本身引入的错误后，其操作容错阈值约为 0.5–1%。<sup>[4](https://quantagram.org/articles/quantum-error-correction/)</sup> 在电路级去极化噪声模型和最小权重完美匹配解码下，阈值约为 1%，且量子比特开销仅随目标错误率倒数 1/ε 呈多对数增长。<sup>[13](https://lucidalu.github.io/Quantum-algorithms-A-survey-of-applications-and-end-to-end-complexities/fault-tolerant-quantum-computation/quantum-error-correction-with-the-surface-code/)</sup>

表面码的弱点在于其低编码率：随着距离增大，逻辑量子比特与物理量子比特之比 k/n 趋于零。这促使人们寻找替代方案，包括提供多用途容错逻辑门的色码，以及近期出现的编码率和相对距离均为常数的量子低密度奇偶校验（qLDPC）码——针对后者，已有基于逻辑算子规范化的低开销容错逻辑测量方案被提出。<sup>[10](https://www.nature.com/articles/ncomms12302)</sup><sup> • </sup><sup>[14](https://doi.org/10.1038/s41567-026-03220-8)</sup>

## 实验现状

二十年来，容错一直只是一个理论承诺。低于阈值的逻辑量子比特的演示改变了这一局面。2024 年 12 月，谷歌量子人工智能报告了在其 Willow 超导处理器上运行低于阈值的表面码存储器：一个在 72 量子比特芯片上集成了实时解码器的距离 5 码，以及一个在 105 量子比特芯片上的距离 7 码。较大存储器的逻辑错误率在距离每增加 2 时被抑制 Λ = 2.14 ± 0.02 倍，达到每纠错周期 0.143% ± 0.003 的错误率，并且其寿命是其最佳物理量子比特的 2.4 ± 0.3 倍。<sup>[5](https://www.nature.com/articles/s41586-024-08449-y)</sup>

同一项工作也指出了仍然存在的障碍。运行到距离 29 的重复码揭示了罕见的关联错误爆发，大约每小时发生一次（约每 3 × 10⁹ 个周期一次），它们设定了一个表观的每周期 10⁻¹⁰ 的逻辑错误下限；其原因尚不清楚。传输子量子比特向更高激发态的泄漏也必须被主动清除，这在距离 5 时使错误抑制因子提高了 35%。<sup>[5](https://www.nature.com/articles/s41586-024-08449-y)</sup>

实时解码是一项独立的工程要求。由于某些逻辑操作依赖于必须即时解读的测量结果，无法跟上速度的解码器会造成积压，使计算时间呈指数增长。Willow 使用具有固定大小图缓冲区的稀疏 blossom 算法满足了这一要求，在处理器 1.1 μs 的周期时间下维持了低于阈值的性能。<sup>[5](https://www.nature.com/articles/s41586-024-08449-y)</sup>

在当前噪声中等规模量子机器的时代，在完全容错实现之前，人们转而使用减少而非消除错误的错误缓解方法；量子容错理论提供了长期的答案。<sup>[15](https://doi.org/10.1103/RevModPhys.95.045005)</sup>

## 资源估计与开销

量子纠错会带来大量的量子比特和运行时间开销，因此估计容错算法所需的资源已成为一门独立的学科。微软的资源估计器（Resource Estimator）接收预定义的量子比特参数设置和量子纠错方案，在数秒内报告某个应用的物理量子比特数、运行时间和数十个细分参数，让开发者看到量子比特技术或纠错方案的选择如何改变总量。<sup>[16](https://quantum.microsoft.com/en-us/insights/education/concepts/resource-estimation)</sup><sup> • </sup><sup>[17](https://quantum.microsoft.com/en-us/insights/blogs/design-fault-tolerant-quantum-computing-applications-with-the-open-source-resource-estimator)</sup> 英伟达的 CUDA-Q Logical 为 CUDA-Q 平台扩展了一个逻辑层，在其中，量子纠错码、逻辑架构、物理硬件、解码和经典计算的选择都会改变同一计算所需的量子比特数和运行时间。<sup>[18](https://nvidia.github.io/cuda-quantum/latest/preview/logical/index.html)</sup> 已发表的密码分析资源估计假设采用表面码容错，并涵盖一系列物理错误率，此类估计被用来判断量子算法的实际可行性。<sup>[19](https://www.sciencedirect.com/science/article/pii/S0167739X24004308)</sup>

开销是阈值定理保证的代价。一个距离 7 的表面码已经为单个逻辑量子比特消耗 97 个物理量子比特，而实用的算法要求逻辑错误率远低于单个码块所能达到的水平，因此实际机器需要结合更大的距离、魔法态工厂和快速经典协处理器。<sup>[5](https://www.nature.com/articles/s41586-024-08449-y)</sup><sup> • </sup><sup>[16](https://quantum.microsoft.com/en-us/insights/education/concepts/resource-estimation)</sup>

## References

1. [Daniel Gottesman (2009). An Introduction to Quantum Error Correction and Fault-Tolerant Quantum Computation. arXiv:0904.2557.](https://arxiv.org/abs/0904.2557)
2. [Threshold theorem, IBM Quantum Documentation, Foundations of Quantum Error Correction.](https://qiskit.qotlabs.org/learning/courses/foundations-of-quantum-error-correction/fault-tolerant-quantum-computing/threshold-theorem)
3. [Austin G. Fowler, Ashley M. Stephens, Peter Groszkowski (2009). High-threshold universal quantum computation on the surface code. Phys. Rev. A 80, 052312.](https://journals.aps.org/pra/abstract/10.1103/PhysRevA.80.052312)
4. [Fixing Broken Qubits: How the Surface Code Makes Fault-Tolerant Quantum Computing Possible, Quantagram.](https://quantagram.org/articles/quantum-error-correction/)
5. [Google Quantum AI and Collaborators (2024). Quantum error correction below the surface code threshold. Nature 638, 920–926.](https://www.nature.com/articles/s41586-024-08449-y)
6. [Dorit Aharonov, Michael Ben-Or. Fault-Tolerant Quantum Computation With Constant Error Rate. arXiv:quant-ph/9906129.](https://arxiv.org/abs/quant-ph/9906129)
7. [Lin Lin. Quantum Error Correction and Fault Tolerant Computation, lecture notes, UC Berkeley.](https://math.berkeley.edu/~linlin/qasc/live_notes_0202.pdf)
8. [Quantum fault tolerance, U.S. National Quantum Initiative / DOE QIS Roadmap.](https://www.quantum.gov/wp-content/uploads/2024/12/DOE_QIS_Roadmap_Final.pdf)
9. [Quantum Error Correction and Fault-Tolerant Computing: Recent Progress in Codes, Decoders, and Architectures, Preprints.org.](https://www.preprints.org/manuscript/202509.2149)
10. [Fault-tolerant error correction with the gauge color code. Nature Communications.](https://www.nature.com/articles/ncomms12302)
11. [Fault-tolerant computation, Introduction to Quantum Computing, RWTH Aachen.](https://qis.rwth-aachen.de/teaching/25ss/intro-quantum-computing/script/content/faultTolerant.html)
12. [Calcul quantique : l'inévitable besoin de corriger les erreurs, Le Monde (2024).](https://www.lemonde.fr/sciences/article/2024/04/22/calcul-quantique-l-inevitable-besoin-de-corriger-les-erreurs_6229240_1650684.html)
13. [Quantum error correction with the surface code, Quantum Algorithms: A Survey of Applications and End-to-End Complexities.](https://lucidalu.github.io/Quantum-algorithms-A-survey-of-applications-and-end-to-end-complexities/fault-tolerant-quantum-computation/quantum-error-correction-with-the-surface-code/)
14. [Low-overhead fault-tolerant quantum computation by gauging logical operators. Nature Physics 22, 598–603.](https://doi.org/10.1038/s41567-026-03220-8)
15. [Quantum error mitigation. Reviews of Modern Physics 95, 045005.](https://doi.org/10.1103/RevModPhys.95.045005)
16. [Resource Estimation, Microsoft Quantum.](https://quantum.microsoft.com/en-us/insights/education/concepts/resource-estimation)
17. [Design Fault Tolerant Quantum Computing applications with the open-source Resource Estimator, Microsoft Quantum blog.](https://quantum.microsoft.com/en-us/insights/blogs/design-fault-tolerant-quantum-computing-applications-with-the-open-source-resource-estimator)
18. [CUDA-Q Logical: Develop and evaluate fault-tolerant quantum applications, NVIDIA documentation.](https://nvidia.github.io/cuda-quantum/latest/preview/logical/index.html)
19. [Quantum resource estimation for large scale quantum algorithms, ScienceDirect.](https://www.sciencedirect.com/science/article/pii/S0167739X24004308)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 物理学 › 量子物理学 › Quantum information science › Quantum computing and algorithms

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/fault-tolerant-quantum-computation

English original: https://www.edgepedia.org/fault-tolerant-quantum-computation
