Reversible and Quantum Circuits