The most general single-qubit gate, capable of any rotation via three angle parameters.
U3 can produce any single-qubit operation. It has three parameters. The first, , controls how far the qubit tilts from the north pole toward the south pole (the polar angle on the Bloch sphere). The second, , controls the azimuthal phase of the starting direction. The third, , controls the azimuthal phase of the ending direction. Together, these three angles let you move the qubit to any point on the Bloch sphere from any starting point. Every other single-qubit gate (H, X, Z, Phase, RX, RY, RZ) is a special case of U3 with specific values of , and .
U3 is parameterized by three Euler angles (angles that specify a rotation by decomposing it into three steps around fixed axes). The matrix is [[, −], [, exp(i]]. This covers all of SU(2) (the group of all 2×2 unitary matrices with determinant 1) up to global phase. The decomposition corresponds to RZ RY RZ. A 2×2 unitary matrix has four real parameters, but one is a global phase (a prefactor that multiplies the entire state and is physically unobservable). That leaves three free parameters, which is exactly why three angles suffice. Special cases: U3 X, U3(0, 0, Z, U3 H.
Can change both measurement probabilities and phase simultaneously, depending on the parameter values.
Contains every single-qubit gate as a special case.
Performs an arbitrary rotation on the Bloch sphere. controls the polar angle (tilt from north to south). and control azimuthal phases (rotation around the Z axis before and after the tilt).
It is tempting to think U3 is more powerful than other gates because it has three parameters. That sounds plausible because more parameters might mean more capability. What actually happens is that any universal gate set (like {H, T}) can also reach any single-qubit operation by composing multiple gates. U3 simply packages all three degrees of freedom into a single operation, which is more efficient but not more powerful in principle.
U3 is the practical compile target for single-qubit operations. When a quantum compiler breaks down your circuit for hardware, every single-qubit gate eventually becomes a U3 or its decomposition into native gates. Understanding U3 means understanding the full three-dimensional space of single-qubit operations.
Why are three parameters (θ, φ, λ) sufficient for any single-qubit gate?