X operation
Fully qualified name: Std.Intrinsic.X
operation X(qubit : Qubit) : Unit is Adj + Ctl
Summary
Applies the Pauli X gate.
Input
qubit
Qubit to which the gate should be applied.
Remarks
$$ \begin{align} \sigma_x \mathrel{:=} \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}. \end{align} $$