Consider the circuit below, where a Hadamard gate is connected to qubit and a controlled-NOT (CNOT) gate is connected to after the Hadamard gate:
The Hadamard gate in Fig. 1 effects the transformations: and .
The CNOT gate in Fig. 1 has its control qubit connected to the line, and its target qubit connected to the line.
The unitary matrix representing the CNOT gate is
If the input to the CNOT gate is the state , then the output is
Thus, as an example, if the input is , then the Hadamard gate transforms it to , and the CNOT gate further transforms it to
Table 1 is the truth table summarising the outputs corresponding to basis-state inputs.
Table 1: Truth table for quantum circuit in Fig. 1.
Input
Output
The output states in Table 1 are called the Bell states or Einstein-Podolsky-Rosen (EPR) pairs [KLM07, p. 75; NC10, Sec. 1.3.6], and can be represented concisely as
When the Bell states are used as an orthonormal basis, they are called the Bell basis [Wil17, pp. 91-93].