pub fn RXGate() -> UnitaryExpressionExpand description
The single-qubit RX gate (rotation around the X-axis).
$$ RX(\theta) = \begin{pmatrix} \cos(\theta/2) & -i\sin(\theta/2) \\ -i\sin(\theta/2) & \cos(\theta/2) \end{pmatrix} $$
pub fn RXGate() -> UnitaryExpressionThe single-qubit RX gate (rotation around the X-axis).
$$ RX(\theta) = \begin{pmatrix} \cos(\theta/2) & -i\sin(\theta/2) \\ -i\sin(\theta/2) & \cos(\theta/2) \end{pmatrix} $$