The Hadamard gate

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.

Related projects

Visualize qubits on a Bloch sphere.
quantum computing, SVG
Generate random numbers using quantum computing.
Q.js, quantum computing
Creating a simple Q# console application.
quantum computing

Made by Anton Vasetenkov.

If you want to say hi, you can reach me on LinkedIn or via email. If you like my work, you can support me by buying me a coffee.