In the realm of quantum computation, the concept of quantum gates plays a fundamental role in the manipulation of quantum information. Quantum gates are the building blocks of quantum circuits, enabling the processing and transformation of quantum states. In contrast to classical gates, quantum gates cannot possess more inputs than outputs, as they have to to represent unitary operations, i.e. be reversible.
In classical computing, gates (such as for example the AND gate and OR gate) typically have two inputs and one output (these gates fall under a category of the irreversible Boolean algebra, however there are also classical gates which have the same number of inputs and outputs and are hence reversible). In quantum computation however gates must exhibit a unitarity property, and therefore must have the same number of inputs and outputs.
One of the essential characteristics of quantum gates is their unitarity, meaning that they must preserve the normalization of quantum states and be reversible. This requirement ensures that quantum operations are deterministic and can be undone, which is important for maintaining the coherence of quantum information. By leveraging unitary transformations, quantum gates can implement a wide array of operations, including quantum Fourier transforms, quantum phase estimation, and quantum teleportation.
An illustrative example of a quantum gate (having the same number inputs and outputs) is the Controlled-NOT (CNOT) gate. The CNOT gate, which is a two-qubit gate, has two input qubits and two output qubits. It performs a NOT operation on the second qubit (target qubit) only if the first qubit (control qubit) is in the state |1⟩. This gate exemplifies how quantum gates can manipulate multiple qubits simultaneously, showcasing the parallelism inherent in quantum computation, but also reversibility.
Furthermore, universal quantum gates, such as the Hadamard gate, Pauli gates, and phase gates, together with the CNOT gate form a complete (universal) set that can be used to approximate any unitary transformation on a quantum system (in other words implement any other quantum gate or a set of gates). These universal gates, in combination with suitable quantum algorithms, enable the realization of quantum circuits capable of solving complex computational problems efficiently, surpassing the capabilities of classical computers in certain domains.
Quantum gates in quantum computation cannot possess more inputs than outputs, due to their unitarity property (which translates to computation reversibility, in contrast to Boolean classical gates, such as for example the NOR and NAND gates, as well as the standard OR and AND gates, or a XOR gates which corresponds to a classical CNOT gate, which does not preserve the control bit). Reversibile quantum gates allow for sophisticated operations on qubits that exploit the principles of quantum mechanics. The versatility and power of quantum gates stem from their unitarity and ability to manipulate quantum states in a reversible manner, paving the way for the development of quantum algorithms with transformative computational capabilities.
As a matter of fact quantum information and computation theory development from the perspective of computer engineering community started with the IBM Research fellow Charles Bennett who was considering classical reversible computational architectures, realizing that classical Boolean logic gates are irreversible and hence lose information, dissipating information encoding energy in terms of heat (which was formalized by the Landauer principle c that calculating the amount of energy dissipated per erasure of a single bit in every Boolean logic gate operation to be equal to ln2, i.e. a natural logarithm of 2 multiplied by the Boltzmann constant and the temperature) and hence introduce unavoidable in such architectures heating up of computing processors, which was an obstacle in further miniaturization. Charless Bennett turned to reversible classical gates but has proven that single universal gates which are reversible are only 3-bit gates (such as the Fredkin gate or the Toffoli gate, otherwise known as the CCNOT, or control-control-not gate). Due the fact that shifting classical computing architectures from Boolean logic gates (such as NAND, a single universal gate) to 3-bit gates would be unrealistic due to well established technical standard of Boolean gates implemented on simple transistors in computer processors, Bennett has shifted his focus to quantum computation model, as it had to be reversible due to a fundamental property of unitarity time evolution in quantum physics. This introduced a new, strong development impetus for quantum information and computation theory development and following experimental realizations.
Other recent questions and answers regarding Universal family of gates:
- Does the universal family of quantum gates include the CNOT gate and the Hadamard gate?
- How does the number of gates needed for a computation depend on the size of the system and the desired accuracy?
- Why is the universality of certain gates important in quantum computing?
- What is a universal family of gates in quantum computing?
- How can classical information be obtained from a quantum circuit?
- What is a quantum circuit and how is it composed?

