Hadamard

Module: pennylane

class Hadamard(wires)[source]

The Hadamard operator

\[\begin{split}H = \frac{1}{\sqrt{2}}\begin{bmatrix} 1 & 1\\ 1 & -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