Quantum Circuit Synthesis Using Group Decomposition And Hilbert Spaces