PauliZ

Module: pennylane

class PauliZ(wires)[source]

The Pauli Z operator

\[\begin{split}\sigma_z = \begin{bmatrix} 1 & 0 \\ 0 & -1\end{bmatrix}.\end{split}\]

Details:

  • Number of wires: 1
  • Number of parameters: 0
Parameters:wires (Sequence[int] or int) – the wire the operation acts on