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 eiσyθ/2

Return type

array[complex]