Site Tools


ry-gate

Table of Contents

Ry gate

gate rotates a qubit by angle about the -axis of the Bloch sphere. It is one of the three rotation gates and is defined as the matrix exponential of the Pauli-Y operator:

Applied to the computational basis states:

Unlike , the matrix entries are entirely real — no imaginary phases appear in the off-diagonal. This makes the natural gate for preparing states with real amplitudes. At it produces , the same result as the Hadamard gate up to global phase. At , — a combined bit and phase flip up to global phase. The eigenstates are and (the -axis poles of the Bloch sphere).

List of code implementations

ry-gate.md · Last modified: