Made with ❤️ by Anton Vasetenkov
The Hadamard gate
Nov 30, 2020

The Hadamard gate

The definition of the Hadamard gate and some of its properties.

The Hadamard gate is a type of single-qubit quantum gate—a basic operation that can be applied to a qubit. Like all quantum gates, the Hadamard gate is a unitary transformation on a Hilbert space, and it is defined as follows:

When acted on either of the basis states, the Hadamard gate produces an even superposition of and :

with either of the measurement outcomes being equally likely.

Additionally, the Hadamard operation is its own inverse; applying it twice returns a qubit to its original state:

where is the identity matrix.

See also
Bloch Sphere
Visualize qubits on a Bloch sphere.
Say "Hello, World!" with Q#
Creating a simple Q# console application.
On the nature of the wave function
The wave function is an abstract mathematical concept and cannot be "measured" directly. So what is it then?
Dirac notation for quantum states
How to read the bra–ket notation?