qit.utils.Ry

qit.utils.Ry(theta)

SU(2) y-rotation.

One-qubit rotation about the y axis by the angle theta.

Parameters

theta (float) – rotation angle

Returns

rotation matrix \(e^{-i \sigma_y \theta/2}\)

Return type

array[complex]