Quantum Computing, Quantum Gate, Qiskit.
nand gate using toffoli gate circuit and measurement 3. Simulate Classical OR gate using Toffoli gate also known as Controlled-Controlled-NOT gate or CCNOT gate from the Fig1 we can observe the OR gate’s Truth table which depicts if any one input contains 1’s bit then the output bit shall be 1