Controlled Controlled NOT (CCNOT) Gate
The CCNOT gate, called a Toffoli gate, is a CNOT gate with an additional control qubit, as shown in the following figure:
For the CCNOT gate, both control qubits need to be for the target qubit to switch states. If either control qubit is , the target qubit isn’t affected. So, as in the CNOT gate case, the CCNOT gate behaves like a NOT gate when both control bits are :
Here, in each group of concatenated ...
Get Quantum Computing now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.