ry

guppyft.code.iceberg.logical.ry(block: Block[N], i: int, phase: float) → None[source]

Ry rotation of phase radians on logical qubit i.

Ry is not a primitive and is implemented here as .. math:

R_y(\theta) = R_x(-\pi/2) R_z(\theta) R_x(\pi/2)

where \(\theta\) is phase.