Hadamard Gate
The gateway to superposition, transforms basis states into equal superpositions.
The Hadamard gate (H gate) is perhaps the most important single-qubit gate. It creates superposition from definite states and is the starting point for most quantum algorithms.
Definition
Action on Basis States
The Hadamard creates an equal superposition with 50/50 measurement probabilities.
Key Properties
Self-Inverse
Applying Hadamard twice returns to the original state.
Basis Change
Hadamard transforms between two important bases:
- Computational basis: (Z eigenstates)
- Hadamard basis: (X eigenstates)
Relation to Paulis
Also: and
Bloch Sphere
Hadamard is a 180° rotation around the axis halfway between X and Z.
Hadamard on Multiple Qubits
Applying H to all qubits creates a uniform superposition over all states:
This is the starting point for many quantum algorithms (Grover’s, Shor’s, etc.).
Walsh-Hadamard Transform
The -qubit Hadamard operation:
where is the bitwise inner product. This is the quantum Walsh-Hadamard transform.
In Quantum Circuits
The Hadamard is typically drawn as a box with “H”:
┌───┐
|0⟩──┤ H ├──|+⟩
└───┘
Why It’s Important
Almost every quantum algorithm starts with Hadamards:
- Initialize qubits in
- Apply Hadamard to create superposition
- Perform computation
- Extract answer
Without Hadamard, there’s no superposition. Without superposition, there’s no quantum advantage.
See also: Superposition, Quantum Gate, Pauli Gates, Quantum Algorithm