Figure 1:
(a) Irreversible XOR Gate (b) Reversible XOR Gate