What is the controlled-controlled-CNOT gate?

Quantum Computing Questions



80 Short 80 Medium 76 Long Answer Questions Question Index

What is the controlled-controlled-CNOT gate?

The controlled-controlled-CNOT gate, also known as the Toffoli gate, is a three-qubit gate in quantum computing. It performs a controlled-NOT operation on the third qubit (target qubit) if and only if both the first and second qubits (control qubits) are in the state |1⟩. If either or both of the control qubits are in the state |0⟩, the target qubit remains unchanged.