CNOT Gates
Explore the CNOT gate, its matrix representation, and its role in generating entangled states in quantum computing.
Let’s start with the gate, introduced for classical logic gates in the Logic Gates and Truth Tables and Gates as Matrices lessons. The quantum circuit schematic is shown in the image below that shows what we might expect for a quantum gate based on what we know about a classical-computing gate. We will see that the correspondence is correct if the states and are the computational basis states and , but the results are more interesting (and more useful) for more general quantum states. Recall that the upper-qubit line is called the control qubit and the lower-qubit line is the target or controlled qubit.
First, we need to translate from classical bits and to quantum state vectors and . The logic table for the classical gate is given below.
Get hands-on with 1400+ tech skills courses.