# 单量子比特门

单量子比特门是作用在一个量子比特态上的幺正 2×2 矩阵。<sup>[1](https://aleph.fbk.eu/pqc-kb/quantum/06-1qgates/)</sup> 有名称的基本门包括泡利门（Pauli gates）X、Y、Z，哈达玛门（Hadamard gate）H，相位门 S 和 T，以及连续旋转族 Rx、Ry、Rz。它们每一个都可以在几何上理解为布洛赫球（Bloch sphere）的旋转；布洛赫球是所有单量子比特态的球状图像。

| 关键事实 | 说明 |
|---|---|
| 矩阵形式 | 单量子比特门是幺正 2×2 矩阵；其集合构成群 U(2)<sup>[2](https://qubit.guide/2.10-the-bloch-sphere.html)</sup> |
| 全局相位 | U(2)/U(1) ≅ SO(3)：将门乘以任意标量相位 e^{iφ} 不改变任何物理结果<sup>[2](https://qubit.guide/2.10-the-bloch-sphere.html)</sup> |
| 泡利门 | X、Y、Z 是绕布洛赫球 x、y、z 轴旋转 180°<sup>[3](https://quantum.microsoft.com/en-us/insights/education/concepts/single-qubit-gates)</sup> |
| 哈达玛门 | 绕对角线 (x+z)/√2 轴作 π 旋转；H² = 1，并交换 x 轴与 z 轴<sup>[4](https://phsites.technion.ac.il/avron/wp-content/uploads/sites/3/2023/07/Quantum_information_116031____Lecture_Notes.pdf)</sup> |
| 相位门 | S 是 Z 的平方根（绕 z 轴 π/2 旋转）；T 是 Z 的四次方根（绕 z 轴 π/4 旋转）<sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup> |
| 旋转 | Rx(θ) = e^{−iθX/2} = cos(θ/2)I − i sin(θ/2)X，Y 和 Z 类似<sup>[6](https://learning.quantum.ibm.com/course/utility-scale-quantum-computing/lesson-02-bits-gates-and-circuits)</sup> |
| 周期性 | 布洛赫球上旋转 θ，对应态矢量上仅旋转其一半角度；旋转 4π 使态回到自身<sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup> |

## 单量子比特门是什么

所有 2×2 幺正矩阵在乘法下构成一个非阿贝尔群，记作 U(2)，因此门的复合总会产生另一个单量子比特门。<sup>[2](https://qubit.guide/2.10-the-bloch-sphere.html)</sup> 然而在物理上，仅相差一个全局标量相位 e^{iφ} 的两个矩阵作用完全相同：该相位乘到态的每个振幅上，并在所有测量概率中抵消。这种自由度的形式表达是商群 U(2)/U(1) ≅ SO(3)，即三维实旋转群。<sup>[2](https://qubit.guide/2.10-the-bloch-sphere.html)</sup>

相位歧义究竟是什么？给定一个物理门，其矩阵表示仅在相差该整体因子的意义下唯一。例如，矩阵 −X 实现的操作与 X 相同，因为额外的负号是输出态上的全局相位。<sup>[4](https://phsites.technion.ac.il/avron/wp-content/uploads/sites/3/2023/07/Quantum_information_116031____Lecture_Notes.pdf)</sup> 在 SU(2) 参数化中，这表现为周期性：参数 u = 0 与 u = 4π 都给出单位矩阵 U = 1，而 |u| = 2π 给出 U = −1，这是一个不同的矩阵，但对应同一个物理门。<sup>[4](https://phsites.technion.ac.il/avron/wp-content/uploads/sites/3/2023/07/Quantum_information_116031____Lecture_Notes.pdf)</sup>

## 布洛赫球图像

对单量子比特态矢量的每个幺正作用，都会诱导相应布洛赫矢量（Bloch vector）的旋转；该矢量的箭头尖端在布洛赫球内部或球面上标出态。<sup>[2](https://qubit.guide/2.10-the-bloch-sphere.html)</sup> 具体地说，一个 det U = 1 的幺正算符 U 可唯一写成 U = exp(−i u·σ/2)，其中 σ = (X, Y, Z) 是泡利矩阵；这个 U 在布洛赫球体上表现为绕轴 u、角度为 |u| 的刚性旋转。<sup>[4](https://phsites.technion.ac.il/avron/wp-content/uploads/sites/3/2023/07/Quantum_information_116031____Lecture_Notes.pdf)</sup> 反过来读，矩阵决定旋转：旋转轴是穿过该幺正算符正交本征向量的直线，旋转角可从本征值读出；本征值在相差全局相位意义下具有 e^{∓iα/2} 的形式，因此角度为 α。<sup>[2](https://qubit.guide/2.10-the-bloch-sphere.html)</sup>

这种对应是二对一而非一对一的：SU(2) 是 SO(3) 的双重覆盖，所以布洛赫球上的 θ 弧度旋转，对应复矢量空间中仅 θ/2 的旋转，并且必须绕布洛赫球转 θ = 4π 才回到单位矩阵。<sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup> 等价地说，exp(−i u·σ/2) 以 4π 为周期，而不以 2π 为周期。<sup>[4](https://phsites.technion.ac.il/avron/wp-content/uploads/sites/3/2023/07/Quantum_information_116031____Lecture_Notes.pdf)</sup> 2025 年一篇经同行评议的论述将这一图像形式化：把泡利算符解释为 R³ 中的半周旋转（180° 旋转），并研究 rot_n(ξ) = cos(ξ/2)σ₀ − i sin(ξ/2) n·σ；一旦把幺正算符按相位等同，其轴 n 和角度 ξ（在 [0, π] 内）便唯一确定。<sup>[7](https://pisrt.org/psr-press/journals/oms/01-vol-9-2025-issue-1/qubits-unitary-operators-and-rotations/)</sup>

## 泡利门与哈达玛门

**泡利门** X、Y、Z 以物理学家沃尔夫冈·泡利（Wolfgang Pauli）命名，各自执行绕布洛赫球 X、Y、Z 轴 180 度的旋转。<sup>[3](https://quantum.microsoft.com/en-us/insights/education/concepts/single-qubit-gates)</sup> X 门是量子非门，也称比特翻转：作用于 |0⟩ 给出 |1⟩，作用于 |1⟩ 给出 |0⟩。<sup>[6](https://learning.quantum.ibm.com/course/utility-scale-quantum-computing/lesson-02-bits-gates-and-circuits)</sup> Z 门是相位翻转：它使 |0⟩ 保持不变，并且是相位门中表示绕 z 轴旋转 π 弧度的特例。<sup>[3](https://quantum.microsoft.com/en-us/insights/education/concepts/single-qubit-gates)</sup><sup> • </sup><sup>[2](https://qubit.guide/2.10-the-bloch-sphere.html)</sup> Y 门在相差全局相位的意义下结合了这两种作用。<sup>[3](https://quantum.microsoft.com/en-us/insights/education/concepts/single-qubit-gates)</sup>

在代数上，泡利门都是厄米的，平方等于单位矩阵，并且彼此反对易：<sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup>

- XY = −YX = iZ
- YZ = −ZY = iX
- ZX = −XZ = iY
- XYZ = iI

**哈达玛门**是布洛赫球的 π 旋转（半周），但不是绕任何单个坐标轴：它绕对角线轴 (x + z)/√2 旋转，该轴位于 x 轴与 z 轴正中间。<sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup><sup> • </sup><sup>[6](https://learning.quantum.ibm.com/course/utility-scale-quantum-computing/lesson-02-bits-gates-and-circuits)</sup> 它必须是绕对角线轴旋转，这一点从其共轭作用可以看出：HXH = Z，HZH = X，因此 H 交换 x 轴与 z 轴，把绕 x 轴的旋转变成绕 z 轴的旋转，反之亦然。<sup>[2](https://qubit.guide/2.10-the-bloch-sphere.html)</sup> 与泡利门一样，H 是一个对合，H² = 1，并且把哈达玛基态 |±⟩ 映回计算基。<sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup><sup> • </sup><sup>[2](https://qubit.guide/2.10-the-bloch-sphere.html)</sup> 它最熟悉的用途是态制备：H|0⟩ 产生等幅叠加 (|0⟩ + |1⟩)/√2，其矩阵为 [[1, 1], [1, −1]]/√2。<sup>[6](https://learning.quantum.ibm.com/course/utility-scale-quantum-computing/lesson-02-bits-gates-and-circuits)</sup>

## 相位门与一般旋转

**相位门**位于布洛赫球的 z 轴上。S 门在 |1⟩ 态上引入 π/2 弧度（90 度）的相位移动，并且是 Z 的平方根，因为 SS = Z。<sup>[3](https://quantum.microsoft.com/en-us/insights/education/concepts/single-qubit-gates)</sup><sup> • </sup><sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup> T 门在 |1⟩ 上引入 π/4 弧度（45 度）的相位移动；其矩阵为 diag(1, e^{iπ/4})，并且是 Z 的四次方根，T⁴ = Z，也称为 π/8 门。<sup>[3](https://quantum.microsoft.com/en-us/insights/education/concepts/single-qubit-gates)</sup><sup> • </sup><sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup> 既然 Z 将布洛赫球体旋转 π，则 T 绕 z 轴将其旋转 π/4。<sup>[4](https://phsites.technion.ac.il/avron/wp-content/uploads/sites/3/2023/07/Quantum_information_116031____Lecture_Notes.pdf)</sup>

**旋转门**以一个连续族补全图像：Rx(θ)、Ry(θ)、Rz(θ) 将态绕相应的布洛赫球轴旋转任意角度 θ，它们由对泡利算符取指数生成，例如 Rx(θ) = e^{−iθX/2} = cos(θ/2)I − i sin(θ/2)X。<sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup><sup> • </sup><sup>[6](https://learning.quantum.ibm.com/course/utility-scale-quantum-computing/lesson-02-bits-gates-and-circuits)</sup> 在此约定下，X = Rx(π)、Y = Ry(π)、Z = Rz(π)，S 在相差一个相位意义下等于 Rz(π/2)，T 在相差一个相位意义下等于 Rz(π/4)。

## SU(2) 代数结构

上面列出的反对易关系是常用工具：它们使泡利算符的乘积可约化为单个泡利算符并带一个 ±i 因子。<sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup>

在计算上，有两个分解结果很重要。第一，任何单量子比特门都容许 ZYZ 欧拉角分解，\(U = e^{i\alpha} R_z(\theta_2) R_y(\theta_1) R_z(\theta_0)\)；这是普通旋转的欧拉角在量子情形下的对应物。<sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup> 第二，绕任意轴 \(n\) 的旋转可以仅由 z 旋转和 y 旋转用五门序列构造出来：\(R_z(\alpha) R_y(\beta) R_z(\theta) R_y(-\beta) R_z(-\alpha)\)，其中 \(\alpha = \arctan2(n_y, n_x)\)，\(\beta = \arccos(n_z)\)：外侧的门先把旋转轴转到所需位置，然后再撤销这一转向。<sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup> 把旋转拆分成一系列更简单旋转的一般问题，既出现在 R³ 中的经典力学与机器人学里，也在量子计算中作为 C² 中门的综合问题出现。<sup>[7](https://pisrt.org/psr-press/journals/oms/01-vol-9-2025-issue-1/qubits-unitary-operators-and-rotations/)</sup>

## 单量子比特门与同类门的比较

在单量子比特门族内部，是否属于克利福德群（Clifford group；可在经典计算机上高效模拟、但不具备通用性的门集合）划出了主要分界线。泡利门、S 门和 H 门是克利福德门；T 门不是，它是最常用的非克利福德成分：绕 z 轴逆时针八分之一周的旋转，由此得到标准的“克利福德+T”通用门集，因为仅有克利福德门并不通用。<sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup>

泡利门在量子纠错中仍具有特殊的实用作用；量子态中的错误通常对应于对泡利群的偏离。<sup>[3](https://quantum.microsoft.com/en-us/insights/education/concepts/single-qubit-gates)</sup>

## 物理实现：证据支持什么

用 H、T 等抽象门写成的电路，必须重写成某一台量子计算机能够直接实现的门；这一步称为转译。<sup>[6](https://learning.quantum.ibm.com/course/utility-scale-quantum-computing/lesson-02-bits-gates-and-circuits)</sup> 在一些超导量子比特架构中，自然的单量子比特门是 Z 旋转 Rz 和 V（X 的平方根），任意旋转再由它们合成，例如通过 Ry(θ) = V†Rz(θ)V。<sup>[5](https://threeplusone.com/pubs/on_gates.pdf)</sup>

## References

1. [Single-qubit gates – Post-Quantum Cryptography Knowledge Base (Fondazione Bruno Kessler)](https://aleph.fbk.eu/pqc-kb/quantum/06-1qgates/)
2. [2.10 The Bloch sphere | Introduction to Quantum Information Science](https://qubit.guide/2.10-the-bloch-sphere.html)
3. [Microsoft Quantum | Single-qubit gates](https://quantum.microsoft.com/en-us/insights/education/concepts/single-qubit-gates)
4. [Quantum information 116031 – Lecture Notes (Technion)](https://phsites.technion.ac.il/avron/wp-content/uploads/sites/3/2023/07/Quantum_information_116031____Lecture_Notes.pdf)
5. [On Gates](https://threeplusone.com/pubs/on_gates.pdf)
6. [Bits, gates, and circuits | IBM Quantum Learning](https://learning.quantum.ibm.com/course/utility-scale-quantum-computing/lesson-02-bits-gates-and-circuits)
7. [Qubits, unitary operators, and rotations — PISRT (Open Mathematics Studies, 2025)](https://pisrt.org/psr-press/journals/oms/01-vol-9-2025-issue-1/qubits-unitary-operators-and-rotations/)

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

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/single-qubit-gates

English original: https://www.edgepedia.org/single-qubit-gates
