← Quantum Store · Guides · Lessons · Glossary · About · Türkçe

Quantum computing glossary

What is a quantum gate?

A quantum gate is a basic operation that reversibly changes the state of one or more qubits; quantum programs are sequences of gates.

Quantum gates are the quantum counterpart of classical logic gates such as AND, OR and NOT. Mathematically every gate is a unitary matrix, so every quantum operation other than measurement can be undone.

Common single-qubit gates are X (NOT), Y, Z (phase flip), H (Hadamard), S and T. The best-known two-qubit gate is CNOT; CZ and SWAP are also common. H, S, T and CNOT together form a universal gate set that can approximate any quantum operation to any desired accuracy.

Try it yourself

The lesson Bits and qubits: the smallest piece of information lets you try this concept in the browser, with no installation.

Related packages

Related concepts

Share: X · LinkedIn