X operation
Namespace: Microsoft.Quantum.Intrinsic
Package: Microsoft.Quantum.QSharp.Core
Applies the Pauli $X$ gate.
operation X (qubit : Qubit) : Unit is Adj + Ctl
Description
\begin{align} \sigma_x \mathrel{:=} \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}. \end{align}
Input
qubit : Qubit
Qubit to which the gate should be applied.
Output : Unit
Feedback
Submit and view feedback for