- Quantum gate
A quantum gate or quantum logic gate is a basic
quantum circuit operating on a small number ofqubit s. They are the analogues forquantum computer s to classicallogic gate s for conventionaldigital computer s. Quantum logic gates are reversible, unlike many classical logic gates. Some universal classical logic gates, such as theToffoli gate , provide reversibility and can be directly mapped onto quantum logic gates. Quantum logic gates are represented by unitary matrices.The most common quantum gates operate on spaces of one or two qubits. This means that as matrices, quantum gates can be described by 2 × 2 or 4 × 4 matrices with
orthonormal rows.Remark. "Quantum logic" can refer either to the performance of quantum logic gates or to a foundational formalism for
quantum mechanics calledquantum logic based on a modification of some of the rules ofpropositional logic .Examples
Hadamard gate. This gate operates on a single qubit. It is represented by the
Hadamard matrix ::
Since the rows of the matrix are orthogonal, "H" is indeed a
unitary matrix .Phase shifter gates. Gates in this class operate on a single qubit. They are represented by 2 × 2 matrices of the form
:
where θ is the "phase shift".
Controlled gates. Suppose "U" is a gate that operates on single qubits with matrix representation
:
The "controlled-U gate" is a gate that operates on two qubits in such a way that the first qubit serves as a control.
:
:
:
:
Thus the matrix of the controlled "U" gate is as follows:
:
Uncontrolled gate. We note the difference between the controlled-"U" gate and an "uncontrolled" 2 qubit gate defined as follows:
:
:
:
:
represented by the unitary matrix
:
Since this gate is reducible to more elementary gates it is usually not included in the basic repertoire of quantum gates. It is mentioned here only to contrast it with the previous controlled gate.
Universal quantum gates
A set of universal quantum gates is any set of gates to which any operation possible on a quantum computer can be reduced, that is, any other unitary operation can be expressed as a finite sequence of gates from the set. Equivalently, a set of universal quantum gates is a set of generators for the group of unitary matrices. One simple set of two-qubit universal quantum gates is the Hadamard gate (), a phase rotation gate , and the
controlled NOT gate , a special case of controlled-U such that:
A single-gate set of universal quantum gates can also be formulated using the three-qubit
Deutsch gate ,:
The universal classical logic gate, the
Toffoli gate , is reducible to the Deutsch gate, , thus showing that all classical logic operations can be performed on a universal quantum computer.See also
*
Pauli matrices
*Quantum finite automata References
* M. Nielsen and I. Chuang, "Quantum Computation and Quantum Information", Cambridge University Press, 2000
Wikimedia Foundation. 2010.