Generators And Relations for Some Classes of Quantum Circuits