qml.X¶
-
X
¶ The Pauli X operator
\[\begin{split}\sigma_x = \begin{bmatrix} 0 & 1 \\ 1 & 0\end{bmatrix}.\end{split}\]See also
The equivalent long-form alias
PauliX
Details:
Number of wires: 1
Number of parameters: 0
- Parameters
wires (Sequence[int] or int) – the wire the operation acts on
alias of
pennylane.ops.qubit.non_parametric_ops.PauliX
code/api/pennylane.X
Download Python script
Download Notebook
View on GitHub