Quantum Computing, Quantum Gate, Qiskit.
depicts that 1’s flipped to 0’s and vice versa Map 2: NAND Gate -> Mapping and Matrix We use the same Toffoli gate which is mentioned in the Fig2, as well use the X gate which flips the qubits from |0⟩ to |1⟩ and |1⟩ to |0⟩ and also Initializing the 3rd qubit to |0⟩ only which means removing all