Gates · Rotation gate
RY rotation gate
A parametrized single-qubit rotation about the Bloch-sphere Y axis whose matrix entries are always real, making it the standard tool for encoding real-valued amplitudes.
Exact & formalUpdated
A small worked example, computed in your browser. It is not a result from this record's papers.
RY(π/3) on |0⟩
One qubit starting at |0⟩, rotated by π/3 — a third of a half-turn, so the qubit ends up part way between |0⟩ and |1⟩ rather than at either.
Step 1 of 1 · RY(π/3)
Probability of each outcome after this step
- 075%
- 125%
Rotates the qubit by π/3, leaving it 75% likely to read 0 and 25% to read 1 — cos²(π/6) and sin²(π/6). Both amplitudes stay real and in phase, which is why RY is the rotation people reach for when they want probabilities and nothing else.
Probability spreads from 1 outcome to 2.
Readout Measuring gives 0 about three times in four. RX and RY at the same angle give exactly these probabilities, so a bar chart cannot tell them apart — the phase panel can.
Open in Studio- Steps1
- Wires1
- Qubits1
- Depth1 gate
- Parameterθ (radians)
- Papers1
RY(θ) is the gate of choice whenever a circuit needs to move probability amplitude between |0⟩ and |1⟩ without introducing a complex relative phase.
Takes1 qubitWhat joins here
Takes a 1-qubit register and states no assumption about what is on it. That is the whole condition: anything returning 1 qubits can feed it.
15 entries meet this end. Named below.
Returns1 qubitWhat joins here
Returns a 1-qubit register a next stage can take. This is the end that joins.
13 entries meet this end. Named below.
A unitary. The same register goes in and comes out, and this entry states no assumption about what is on it — which is what lets anything of the same width feed it. See all 29 →
Definition
Unlike or , every entry of is a real number for real : the prefactor from the exponential exactly cancels the entries of , leaving a real rotation matrix — the same form as a classical rotation matrix in the plane.
Action on basis states
At , — the same state Hadamard produces on , but differs from by an overall sign.
Key identities
- : a full rotation reproduces the Pauli-Y flip up to global phase .
- : since , conjugating by reverses the rotation direction.
- Because its output amplitudes are real, is the standard primitive for amplitude encoding — loading a classical probability vector into a qubit — and for the mixer layers of variational circuits such as hardware-efficient ansätze.
- : an axis change from to via conjugation by a rotation, mirroring the -conjugation identity that relates and .
Takes1 qubitWhat joins here
Takes a 1-qubit register and states no assumption about what is on it. That is the whole condition: anything returning 1 qubits can feed it.
15 entries meet this end. Named below.
Returns1 qubitWhat joins here
Returns a 1-qubit register a next stage can take. This is the end that joins.
13 entries meet this end. Named below.
A unitary. The same register goes in and comes out, and this entry states no assumption about what is on it — which is what lets anything of the same width feed it. See all 29 →
- Qubits
- 1
- Depth
- 1 gate
- Parameter
- θ (radians)
- Matrix
- [[cos(θ/2), -sin(θ/2)], [sin(θ/2), cos(θ/2)]]
- Rotation axis
- Y
- Generator
- exp(-iθY/2)
- Gate family
- Non-Clifford (generic θ), real-valued
RY(π/2)on q[0]
Quantum vs classical
Classical baseline
Use a classical state-vector or matrix simulation at the same width, precision, and measurement objective.
Quantum claim
The quantum record demonstrates a state or operator behavior; it does not make classical simulation or communication costs disappear.
How to compare
Compare fidelity, samples, gate depth, noise, memory, and the cost of preparing and reading the state.
Nobody has reviewed this record for gaps yet.
OPENQASM 3.0;
include "stdgates.inc";
qubit q;
ry(pi/2) q;Related entries
- RX rotation gate
Gates
- RZ rotation gate
Gates
- U3 universal single-qubit gate
Gates
- Hadamard gate
Gates
References
- Quantum Computation and Quantum Information: 10th Anniversary Edition
Michael A. Nielsen and Isaac L. Chuang · 2010
Standard reference for single- and multi-qubit gate matrices, Euler-angle decomposition, and universal gate sets.