Rotates around the Y axis by angle θ.
RY rotates around the Y axis of the Bloch sphere. What makes it special compared to RX and RZ is that it creates real-valued superpositions — no imaginary phases appear. Starting from |0⟩, an RY rotation tilts toward the equator through the XZ plane, producing states like cos(θ/2)|0⟩ + sin(θ/2)|1⟩ with purely real amplitudes. This makes RY particularly clean for state preparation.
RY(θ) = exp(−iθY/2) = cos(θ/2)I − i·sin(θ/2)Y. Since Y is purely imaginary in the computational basis, the resulting matrix has only real entries: [[cos(θ/2), −sin(θ/2)], [sin(θ/2), cos(θ/2)]]. This means RY maps real states to real states. At θ = π, it becomes the Y gate up to global phase.
Creates real-valued superpositions with tunable probabilities.
At θ = π this becomes the Y gate (up to global phase).
Rotates by θ around the Y axis. Stays in the XZ plane. At θ = π/2 from |0⟩, reaches the equator with a real-valued superposition.
RY and RX might seem interchangeable, but RY uniquely produces real amplitudes from basis states. This simplifies analysis and is why RY appears in many decomposition theorems.
RY is the workhorse of state preparation. When you need to encode specific probability distributions into a qubit, RY gives you direct control over the amplitudes without introducing unwanted phases.
Why does RY uniquely produce real amplitudes from |0⟩?