qit.utils.Rz

qit.utils.Rz(theta)

SU(2) z-rotation.

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

Parameters

theta (float) – rotation angle

Returns

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

Return type

array[complex]