CNOT Gate
Definition
The CNOT (Controlled-NOT) gate is a two-qubit gate that performs an X gate on the second qubit (target qubit) if the state of the first qubit (control qubit) is . The CNOT gate is also known as the Controlled-X gate. The CNOT gate is used to entangle two qubits and is a fundamental gate in quantum computing. The CNOT gate is a conditional gate that acts on two qubits. The CNOT gate is represented as CX
in the circuit.
Effect on qubit
In CNOT gate if the control qubit is in the state , the target qubit remains unchanged. If the control qubit is in the state , the target qubit is flipped.
Types
The CNOT gate has only one type.
Representation
Matrix representation
The matrix representation of the CNOT gate is: