# 受控相位门

受控相位门是一种两量子比特量子门，仅当另一个量子比特（控制位）处于 |1⟩ 态时，才对目标量子比特施加相位移动。一般形式的门记作 CP_α，其中 α 为实角度，它在计算基底下作用为对角矩阵，对角元依次为 1、1、1、e^{iα}，因此只有 |11⟩ 态获得相位 e^{iα}。<sup>[1](https://qiskit.qotlabs.org/learning/courses/fundamentals-of-quantum-algorithms/phase-estimation-and-factoring/phase-estimation-procedure)</sup> 特殊情形 α = π 即受控-Z（CZ）门，它翻转 |11⟩ 的符号；“受控相位门”这一名称也常被宽泛地用于指这个 π 情形，硬件论文通常报告的是 CZ 保真度。<sup>[2](https://quantum.cloud.ibm.com/docs/en/api/qiskit/1.2/qiskit.circuit.library.CZGate)</sup><sup> • </sup><sup>[3](https://physics.bgu.ac.il/~dcohen/ARCHIVE/qms.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 作用 | CP_α = diag(1, 1, 1, e^{iα})；只有 |11⟩ 获得相位 e^{iα}<sup>[1](https://qiskit.qotlabs.org/learning/courses/fundamentals-of-quantum-algorithms/phase-estimation-and-factoring/phase-estimation-procedure)</sup> |
| CZ 特例 | CZ = CP(π)，翻转 |11⟩ 的相位；是一个克利福德门，对两个量子比特对称且自逆<sup>[2](https://quantum.cloud.ibm.com/docs/en/api/qiskit/1.2/qiskit.circuit.library.CZGate)</sup><sup> • </sup><sup>[3](https://physics.bgu.ac.il/~dcohen/ARCHIVE/qms.pdf)</sup> |
| 算法中的作用 | 受控相位门以 O(m²) 个门实现 m 量子比特上的量子傅里叶变换，这是量子相位估计的核心步骤<sup>[1](https://qiskit.qotlabs.org/learning/courses/fundamentals-of-quantum-algorithms/phase-estimation-and-factoring/phase-estimation-procedure)</sup> |
| 通用性 | 与任意单量子比特门一起，CZ 等受控两量子比特门构成量子计算的通用门集合<sup>[4](https://arxiv.org/abs/quant-ph/9503016)</sup> |
| 硬件现状 | 已报道的 CZ 保真度包括 99.54 ± 0.08%（非绝热超导，2019 年）、60 个并行中性原子门达到 99.5%（2023 年），以及单台超导器件中 40 小时平均 99.93%<sup>[5](https://www.nature.com/articles/s41534-019-0202-7)</sup><sup> • </sup><sup>[6](https://www.nature.com/articles/s41586-023-06481-y)</sup><sup> • </sup><sup>[7](https://arxiv.org/abs/2508.16437)</sup> |
| 主要误差 | 残余 ZZ 耦合、与旁观量子比特的色散耦合，以及向非计算态的泄漏<sup>[8](https://quantum.cloud.ibm.com/learning/en/courses/tools-for-quantum-advantage/noise-and-errors)</sup><sup> • </sup><sup>[9](https://journals.aps.org/prapplied/abstract/10.1103/PhysRevApplied.14.024042)</sup><sup> • </sup><sup>[10](https://research.google/blog/overcoming-leakage-on-error-corrected-quantum-processors/)</sup> |

## 定义与基本性质

单量子比特相位操作 P_α = diag(1, e^{iα}) 在被控制后成为两量子比特门：当控制量子比特为 |1⟩ 时，CP_α 对目标施加 P_α，否则不做任何操作，由此得到四维对角矩阵 diag(1, 1, 1, e^{iα})。<sup>[1](https://qiskit.qotlabs.org/learning/courses/fundamentals-of-quantum-algorithms/phase-estimation-and-factoring/phase-estimation-procedure)</sup> 由于该门只是给 |11⟩ 分量乘上一个相位，哪个量子比特被标为控制位、哪个为目标位并不重要；两种指派产生相同的酉算子，电路图中控制点可以画在任意一条线上。<sup>[1](https://qiskit.qotlabs.org/learning/courses/fundamentals-of-quantum-algorithms/phase-estimation-and-factoring/phase-estimation-procedure)</sup>

CZ 门（α = π）继承了有用的代数结构。Qiskit 的文档将其归类为克利福德门且为对称门，其逆为自身，因为施加两次相位 π 会使每个振幅回到原来的符号。<sup>[2](https://quantum.cloud.ibm.com/docs/en/api/qiskit/1.2/qiskit.circuit.library.CZGate)</sup> 任意角度的受控相位门在计算基底下是对角的，因此这一族的门彼此都对易；IBM 的课程讲义指出，量子傅里叶变换电路中的受控相位门“可以以任意顺序执行”。<sup>[1](https://qiskit.qotlabs.org/learning/courses/fundamentals-of-quantum-algorithms/phase-estimation-and-factoring/phase-estimation-procedure)</sup>

## 在量子算法中的作用

**量子傅里叶变换与相位估计。** 量子傅里叶变换（QFT）在 m 个量子比特上的标准电路实现，是对每个量子比特施加一个哈达玛门，再在量子比特对之间施加角度从 π/2 逐次减半至 π/2^{m−1} 的受控相位门；当 N = 2^m 时，电路总规模为 O(m²) 个门。<sup>[1](https://qiskit.qotlabs.org/learning/courses/fundamentals-of-quantum-algorithms/phase-estimation-and-factoring/phase-estimation-procedure)</sup> 逆 QFT 是量子相位估计的最后一步，这一子程序用于估计酉算子 U 的本征相位 θ，也是肖尔因数分解算法的基础。<sup>[11](https://quantum.cloud.ibm.com/learning/en/modules/computer-science/qft)</sup> 相位估计本身由受控-U 操作构建：在 U 的电路中加入一个控制量子比特，并把该电路中的每个门替换为受控版本，于是单个新的控制量子比特实际上控制了 U 电路中所有的门。<sup>[1](https://qiskit.qotlabs.org/learning/courses/fundamentals-of-quantum-algorithms/phase-estimation-and-factoring/phase-estimation-procedure)</sup>

**格罗弗搜索与相位回踢。** 格罗弗算法使用相位查询门 Z_f，其定义为对每个字符串 x 有 Z_f|x⟩ = (−1)^{f(x)}|x⟩。该门可以由一个普通查询门 U_f 结合相位回踢现象构建，使用一个初始化为 |−⟩ 的辅助量子比特；辅助位获得的相位被回踢到查询寄存器上。<sup>[12](https://quantum.cloud.ibm.com/learning/en/courses/fundamentals-of-quantum-algorithms/grover-algorithm/grover-algorithm-description)</sup> 多控 Z 门——CZ 的 n 量子比特推广——出现在标准的格罗弗预言机和扩散算子构造中。<sup>[13](https://qiskit.qotlabs.org/learning/modules/computer-science/grovers)</sup>

**通用性。** 1995 年的论文《量子计算的基本门》由阿德里亚诺·巴伦科（Adriano Barenco，牛津大学克拉伦登实验室）、查尔斯·H·本内特（Charles H. Bennett）与大卫·P·迪文琴佐（David P. DiVincenzo，IBM 研究院）、理查德·克利夫（Richard Cleve，卡尔加里大学）等人发表，证明了所有单量子比特门与两比特异或门一起构成通用集合，即任意数量量子比特上的每个酉操作都可以表示为它们的组合；同一工作还推导了从基本门构建受控相位型操作的门数。<sup>[4](https://arxiv.org/abs/quant-ph/9503016)</sup> 在实践中，CZ 与单量子比特旋转的组合在相差单量子比特门的意义下与受控非门（CNOT）可互换，因此二者均可作为通用门集合中的纠缠原语。<sup>[14](https://link.springer.com/article/10.1140/epjp/s13360-025-07284-y)</sup>

## 物理实现

超导处理器通过不同机制实现 CZ。一种设计调节量子比特频率，使 |11⟩ 态与非计算态 |20⟩ 发生相互作用；沿此相互作用的非绝热脉冲达到了 99.54 ± 0.08% 的保真度，门时间约为 1.25/(2√2 g_{01,10})，其中 g 为量子比特耦合强度，并将泄漏降至 0.2% 以下。<sup>[5](https://www.nature.com/articles/s41534-019-0202-7)</sup> IBM 的基于 transmons 量子比特的处理器使用硬件原生的回波交叉共振（ECR）门来实现抽象的 CZ 和 CX 门，这种门产生有效的 ZX 相互作用；回波脉冲抵消了若干不需要的哈密顿量项，但无法抵消与回波对易的静态 ZZ 耦合。<sup>[8](https://quantum.cloud.ibm.com/learning/en/courses/tools-for-quantum-advantage/noise-and-errors)</sup> 一台 2025 年的器件通过可调耦合器连接两个 transmons 量子比特，实现了 40 小时平均 99.93% 的 CZ 保真度，同时单量子比特门保真度为 99.98%，读出保真度高于 99.94%。<sup>[7](https://arxiv.org/abs/2508.16437)</sup>

中性原子平台利用里德堡相互作用实现 CZ。2023 年，一个由哈佛大学领导的团队在多达 60 个量子比特上并行操作的同时，实现了保真度 99.5% 的 CZ 门，缩小了与超导及囚禁离子平台之间的门保真度差距。<sup>[6](https://www.nature.com/articles/s41586-023-06481-y)</sup> 针对里德堡阻塞区，CZ 门及其三量子比特推广 C₂Z 的时间最优脉冲设计均已推导出来，其中 CZ 的实现仅需一个全局激光脉冲，无需单站点寻址能力。<sup>[15](https://quantum-journal.org/papers/q-2022-05-13-712/)</sup> 囚禁离子系统更常使用 XX 型默尔默–索伦森（Mølmer–Sørensen）门作为其原生纠缠操作，CZ 型门可由其与单量子比特旋转组合而成。<sup>[16](https://quantumcomputing.stackexchange.com/questions/9201/why-qiskit-superconducting-device-native-gates-different-from-that-of-trapped-io)</sup>

## 误差与保真度

**相干相位误差。** 由于该门的全部作用就是一个条件相位，小的校准误差会直接表现为 |11⟩ 相位的过旋转或欠旋转。在多量子比特超导处理器中，两个门量子比特与一个或多个旁观量子比特的色散耦合会增强两量子比特条件相位误差，这是门保真度的一个限制，苏黎世联邦理工学院的研究人员于 2020 年用量子过程层析对此进行了基准测试。<sup>[9](https://journals.aps.org/prapplied/abstract/10.1103/PhysRevApplied.14.024042)</sup> 交叉共振实现中的残余 ZZ 项是同种性质的静态态依赖相位移动。<sup>[8](https://quantum.cloud.ibm.com/learning/en/courses/tools-for-quantum-advantage/noise-and-errors)</sup>

**泄漏。** 在 transmons 量子比特中，CZ 机制会短暂地将两个激发聚束到一个量子比特的 |2⟩ 能级上；以小概率，激发未能返回，使量子比特处于泄漏态。泄漏的量子比特在后续 CZ 门下不再正确纠缠，而施加于其上的 CZ 门可能使其邻居也发生泄漏，传播量子纠错难以处理的相关误差。<sup>[10](https://research.google/blog/overcoming-leakage-on-error-corrected-quantum-processors/)</sup> 谷歌的动态表面码工作指出，不依赖非计算态的 iSWAP 门产生的泄漏相关误差少于 CZ，尽管其硬件仍针对基于 CZ 的纠错进行优化。<sup>[17](https://research.google/blog/dynamic-surface-codes-open-new-avenues-for-quantum-error-correction/)</sup>

**规模。** 接近 99.5% 的单对 CZ 保真度并不能直接转化为大规模并行操作：在一台 54 量子比特超导处理器上，一个 44 量子比特的并行 CZ 门（22 个同时进行的 CZ 门）达到了 63.09 ± 0.23% 的保真度，该模式下拟合的单门保真度约为 97.94%，弱相关主要存在于相邻门之间。<sup>[18](https://www.nature.com/articles/s41534-025-00983-5)</sup> 在传统表面码纠错电路中，CZ 门是使数据量子比特与测量量子比特纠缠的操作，这使其单门误差成为码阈值行为的直接输入。<sup>[17](https://research.google/blog/dynamic-surface-codes-open-new-avenues-for-quantum-error-correction/)</sup>

## References

1. [The phase-estimation procedure, IBM Quantum Learning](https://qiskit.qotlabs.org/learning/courses/fundamentals-of-quantum-algorithms/phase-estimation-and-factoring/phase-estimation-procedure)
2. [CZGate (v1.2), IBM Quantum Documentation](https://quantum.cloud.ibm.com/docs/en/api/qiskit/1.2/qiskit.circuit.library.CZGate)
3. [Modern Physics for students of Software Engineering, Ben-Gurion University course notes](https://physics.bgu.ac.il/~dcohen/ARCHIVE/qms.pdf)
4. [A. Barenco et al. (1995). Elementary gates for quantum computation. arXiv:quant-ph/9503016](https://arxiv.org/abs/quant-ph/9503016)
5. [Realisation of high-fidelity nonadiabatic CZ gates with superconducting qubits, npj Quantum Information 5, 84 (2019)](https://www.nature.com/articles/s41534-019-0202-7)
6. [S. J. Evered et al. (2023). High-fidelity parallel entangling gates on a neutral-atom quantum computer. Nature 622, 268](https://www.nature.com/articles/s41586-023-06481-y)
7. [F. Marxer et al. (2025). Above 99.9% Fidelity Single-Qubit Gates, Two-Qubit Gates, and Readout in a Single Superconducting Quantum Device. arXiv:2508.16437](https://arxiv.org/abs/2508.16437)
8. [Noise and errors, IBM Quantum Learning](https://quantum.cloud.ibm.com/learning/en/courses/tools-for-quantum-advantage/noise-and-errors)
9. [S. Krinner et al. (2020). Benchmarking Coherent Errors in Controlled-Phase Gates due to Spectator Qubits. Phys. Rev. Applied 14, 024042](https://journals.aps.org/prapplied/abstract/10.1103/PhysRevApplied.14.024042)
10. [Overcoming leakage on error-corrected quantum processors, Google Research Blog](https://research.google/blog/overcoming-leakage-on-error-corrected-quantum-processors/)
11. [Quantum Fourier transform, IBM Quantum Learning](https://quantum.cloud.ibm.com/learning/en/modules/computer-science/qft)
12. [Description of Grover's algorithm, IBM Quantum Learning](https://quantum.cloud.ibm.com/learning/en/courses/fundamentals-of-quantum-algorithms/grover-algorithm/grover-algorithm-description)
13. [Grover's algorithm, IBM Quantum Learning modules](https://qiskit.qotlabs.org/learning/modules/computer-science/grovers)
14. [Characterizing conditional quantum dynamics on superconducting quantum processors, EPJ Plus (2025)](https://link.springer.com/article/10.1140/epjp/s13360-025-07284-y)
15. [S. Jandura and G. Pupillo (2022). Time-Optimal Two- and Three-Qubit Gates for Rydberg Atoms. Quantum 6, 712](https://quantum-journal.org/papers/q-2022-05-13-712/)
16. [Why qiskit superconducting device native gates differ from trapped ion device, Quantum Computing Stack Exchange](https://quantumcomputing.stackexchange.com/questions/9201/why-qiskit-superconducting-device-native-gates-different-from-that-of-trapped-io)
17. [Dynamic surface codes open new avenues for quantum error correction, Google Research Blog](https://research.google/blog/dynamic-surface-codes-open-new-avenues-for-quantum-error-correction/)
18. [Calibrating quantum gates up to 52 qubits in a superconducting processor, npj Quantum Information (2025)](https://www.nature.com/articles/s41534-025-00983-5)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 物理学 › 量子物理学 › Quantum information science › Quantum computing and algorithms › Quantum gates and circuits › Multi-qubit and entangling gates

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/controlled-phase-gate

English original: https://www.edgepedia.org/controlled-phase-gate
