Home/Glossary/Quantum Gate
Gates

Quantum Gate

A unitary operation that transforms the state of one or more qubits.

Quantum gates are the quantum computing analog of classical logic gates. They are unitary linear transformations applied to qubit states. Unlike classical gates (which can be irreversible), all quantum gates are reversible because unitary matrices have inverses. Single-qubit gates include the Pauli gates (X, Y, Z), the Hadamard gate (H), and rotation gates (RX, RY, RZ). Two-qubit gates include CNOT, CZ, SWAP, and iSWAP. Three-qubit gates include Toffoli (CCX) and Fredkin (CSWAP). A universal gate set (e.g., {H, T, CNOT}) can approximate any quantum operation to arbitrary precision. In hardware, native gates vary by platform — IBM uses {CX, RZ, SX}, IonQ uses {XX, RZ}.