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

Return type

array[complex]