Reversible quantum half-adder: computes sum = a XOR b and carry = a AND b for 1-bit inputs.
-
Updated
Feb 19, 2026 - OpenQASM
Reversible quantum half-adder: computes sum = a XOR b and carry = a AND b for 1-bit inputs.
Add a description, image, and links to the toffoli topic page so that developers can more easily learn about it.
To associate your repository with the toffoli topic, visit your repo's landing page and select "manage topics."