Blog on GitHub Pages

Constructing the Toffoli gate with 4 CNOT gates

The possibility of constructing 3-qubit Toffoli gate with 4 CNOT gates is explored.

In the ToffoliGateExploration_qiskit_0_18_1.ipynb notebook, we successfully execute 3-qubit Toffoli gate with 4 CNOT gates on the qasm_simulator.

The ToffoliGateExploration_qiskit_2_0_0.ipynb notebook, proves the implementation can be executed on a real IBM quantum computer (ibm_torino).

In the ToffoliGateWith4CNOTsMathPart.ipynb notebook, we provide mathematical analysis of the the 3-qubit Toffoli gate with 4 CNOT gates and confirm the Toffoli gate truth table.