quantum-gate-u
Table of Contents
Universal Single-Qubit Gate (U)
U gate is the most general single-qubit unitary with three parameters. Can represent any single-qubit gate.
Matrix:
$$U(\theta, \phi, \lambda) = \begin{pmatrix} \cos(\theta/2) & -e^{i\lambda}\sin(\theta/2) \\ e^{i\phi}\sin(\theta/2) & e^{i(\phi+\lambda)}\cos(\theta/2) \end{pmatrix}$$
Parameters:
- $\theta \in [0, \pi]$: rotation angle (related to Y-axis rotation)
- $\phi \in [0, 2\pi]$: first phase parameter
- $\lambda \in [0, 2\pi]$: second phase parameter
Special Cases
- $U(0, 0, 0) = I$ (identity)
- $U(\pi/2, 0, \pi) = H$ (Hadamard)
- $U(\pi, 0, \pi) = X$ (Pauli X)
- $U(\pi, \pi/2, \pi/2) = Y$ (Pauli Y)
- $U(\pi, 0, 0) = Z$ (Pauli Z, up to global phase)
Equivalence
U gate encapsulates all single-qubit rotations:
$$U(\theta, \phi, \lambda) = R_Z(\phi) R_Y(\theta) R_Z(\lambda)$$
Any single-qubit unitary can be decomposed as $U(\theta, \phi, \lambda)$ for appropriate parameters.
Uses
- Quantum programming: IBM Qiskit and others use U as native single-qubit gate
- Compilers: efficiently decompose arbitrary single-qubit unitaries into U gates
- Parameterized circuits: variable parameters enable variational algorithms
Implementation
- Superconducting qubits: $R_Z(\lambda) R_X(\pi/2) R_Z(\theta) R_X(-\pi/2) R_Z(\phi)$ or parametric pulse; gate time ~60–100 ns
- Trapped ions: three-laser pulses or single pulse with tunable frequency and phase
- Photonic: combination of optical elements
- Cost trade-off: more expensive than individual RX/RY/RZ (~60 ns vs ~20 ns); decompose for efficiency when possible
quantum-gate-u.md · Last modified: by 127.0.0.1
