Decomposition of Quantum circuits