Quantum Gate, Quantum Mechanics, Logic Gates.
arithmetic operations. Here is the circuit adding 2 bits with carry bit (called a full-adder) implemented using NAND gates: This circuit gets 2 bits — A and B — plus the carry bit from the previous sum — C — and produces A plus B and the carry bit for the next sum. Therefore, the sum of 2 numbers