quantum-computing

Definition

Quantum Gate

A quantum gate is a unitary operator that acts on one or more qubits to transform the quantum state of a quantum register. Quantum gates are the building blocks of quantum algorithms, representing reversible operations that preserve the norm of the state vector.

  1. Unitarity: Every quantum gate satisfies .
  2. Reversibility: All quantum gates are invertible; the inverse is .
  3. Linearity: Gates act linearly on superpositions: .

Common Single-Qubit Gates

Pauli-X Gate (NOT):

Hadamard Gate:

Pauli-Z Gate:

Two-Qubit Gates

CNOT (Controlled-NOT):

Applies to the target qubit if the control qubit is .