X operation

Applies the Pauli $X$ gate, \begin{align} \sigma_x \mathrel{:=} \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}. \end{align}

operation X (qubit : Qubit) : ()
Functors
Adjoint Controlled

Input

qubit
Qubit

Qubit to which the gate should be applied.

Output

()