List of quantum gates
Overview
Many ideas in quantum computing rely on a small set of standard qubit states and gates. This page summarizes the one- and two-qubit basis states and the quantum gates that act on them.
The following list can also be downloaded as pdf.
One- and two-qubit basis states
One-qubit basis states (ket and vector notation)
,
and
,
Two-qubit basis states
Quantum gates
Matrix symbol:
Circuit symbol:

Matrix representation for one qubit
Matrix representation for two qubits
What it does
It leaves the qubit(s) unchanged
Example of the quantum gate being applied to one or two qubits
Matrix symbol:
Circuit symbol:

Matrix representation for one qubit
Matrix representation for two qubits
What it does
It flips the two qubit states. This gate is also called bit flip.
Example of the quantum gate being applied to one or two qubits
Matrix symbol:
Circuit symbol:

Matrix representation for one qubit
Matrix representation for two qubits
What it does
Changes the sign of the state resp. the and states; corresponds to a phase flip.
Example of the quantum gate being applied to one or two qubits
Matrix symbol:
Circuit symbol:

Matrix representation for one qubit
What it does
Combination of and gate – it flips the qubit state and the phase.
Example of the quantum gate being applied to one or two qubits
Matrix symbol:
Circuit symbol:

Matrix representation for one qubit
--
Matrix representation for two qubits
What it does
Flips the second qubit (the target qubit) if and only if the first qubit (the control qubit) is .
It leaves the first qubit (the control qubit) unchanged.
Example of the quantum gate being applied to one or two qubits
Matrix symbol:
Circuit symbol:

Matrix representation for one qubit
Matrix representation for two qubits
What it does
Creates an equal superposition state of a qubit.
Example of the quantum gate being applied to one or two qubits
Matrix symbol:
Circuit symbol:

Matrix representation for one qubit
--
Matrix representation for two qubits
What it does
Swaps the states of two qubits.
Example of the quantum gate being applied to one or two qubits
How to go from a 2x2-matrix (1 qubit) to a 4x4-matrix (2 qubits)
Images "Identity", "Pauli X (NOT)" and "Pauli Z" circuit symbol: By Geek3 - Own work, CC BY 3.0
Share this page