Hadamard transform
= Hadamard transform
{c}
{title2=$H^{\otimes n}$}
{wiki}
The normalized <Hadamard transform> maps a <vector> indexed by <binary strings> through entries $2^{-n/2}(-1)^{x\cdot y}$, where the <dot product> is evaluated modulo two. It is its own inverse and an <orthogonal transformation>, hence also a <unitary operator> on complex input vectors. The <Hadamard gate> is the $n=1$ quantum case, and the <Hadamard basis> is the image of the <computational basis>. The <Walsh-Hadamard transform> gives the same <tensor product> construction.
For two <qubits>, applying one <Hadamard gate> to each prepares the <uniform quantum superposition>
$$
H^{\otimes2}|00\rangle=\tfrac12(|00\rangle+|01\rangle+|10\rangle+|11\rangle).
$$
Each <probability amplitude> is $1/2$, so each <computational-basis measurement> outcome has <probability> $1/4$. Applying the <Hadamard transform> again reconstructs $|00\rangle$: signed contributions cancel at the other three outputs. Its usefulness lies in combining simple local <quantum gates> into an operation on exponentially many amplitudes. Extracting useful information still requires an appropriate subsequent transformation and measurement.