Quantum Arithmetic Circuit Generator