qit.utils.Rx

qit.utils.Rx(theta)

SU(2) x-rotation.

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

Parameters

theta (float) – rotation angle

Returns

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

Return type

array[complex]