Quantum Computing, Quantum Gate, Qiskit.
the rows containing 1 in the 3rd input (i.e. the 2nd, 4th, 6th, 8th row) from the table above, it becomes as shown in Fig 7. To achieve the net effect of inputs gates unchanged shall apply NOT gates again after Toffoli gate. The net effect of the gate in this setting is: It keeps the 1st qubit