My blog
The Hadamard gate

The Hadamard gate

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

Published on by Anton Vasetenkov

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

Dirac notation for quantum states
How to read the bra–ket notation?
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?

Made by Anton Vasetenkov.

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