qml.devices.autograd_ops.RY

RY(theta)[source]

One-qubit rotation about the y axis.

Parameters

theta (float) – rotation angle

Returns

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

Return type

array[complex]