Source: cirosantilli/hadamard-gate
= Hadamard gate
{c}
{{wiki=Quantum_logic_gate#Hadamard_gate}}
The <Hadamard gate> takes $\ket{0}$ or $\ket{1}$ (<quantum states> with probability 1.0 of measuring either 0 or 1), and produces states that have equal probability of 0 or 1.
$$
H = \frac{1}{\sqrt{2}} \begin{bmatrix} 1 & 1 \\ 1 & -1 \end{bmatrix}
$$
{title=<Hadamard gate> <matrix>}
\Image[https://upload.wikimedia.org/wikipedia/commons/1/1a/Hadamard_gate.svg]
{title=<Hadamard gate> symbol}