Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Fully qualified name: Std.Intrinsic.SX
operation SX(qubit : Qubit) : Unit is Adj + Ctl
Summary
Applies the square root of X gate to a single qubit.
Input
qubit
Qubit to which the gate should be applied.
Remarks
$$ \begin{align} SX \mathrel{:=} \begin{bmatrix} \frac{1}{2} + \frac{i}{2} & \frac{1}{2} - \frac{i}{2} \\ \frac{1}{2} - \frac{i}{2} & \frac{1}{2} + \frac{i}{2} \end{bmatrix}. \end{align} $$