A ''quantum logic gate'' is a device which performs a fixed unitary operation on selected
qubits in a fixed period of time. The gates listed below are common enough to have their
own names. The matrices describing qubit gates are written in the computational
basis , where is a binary string of length .
The diagrams provide schematic representation of the gates.
==Hadamard gate==
The Hadamard gate is a common single qubit gate defined as
[[Image:Img44.png]]
The matrix is written in the computational basis and the diagram on the right provides a schematic representation of the gate acting on a qubit in state , with .
==Phase gate==
The phase shift gate
defined as and , or,
in matrix notation,
[[Image:Img59.png]]
==Controlled NOT gate==
The controlled-NOT (C-NOT) gate, also known
as the XOR or the measurement gate is one of the most popular
two-qubit gate. It flips the second (target) qubit if the first (control) qubit is and does nothing if the control qubit is . The gate is represented by the unitary matrix
[[Image:Img76.png]]
where and denotes XOR or addition modulo 2. If
we apply the C-NOT to Boolean data in which the target qubit
is
and the control is either or then the effect is to
leave the control unchanged while the target becomes a copy of the control, ''i.e.''
[[Category:Evolutions and Operations]]
[[Category:Quantum Computation]]
[[Category:Handbook of Quantum Information]]