Decomposition of Unitary Matrices for Finding Quantum Circuits