Efficient Decomposition of Unitary Matrices in Quantum Circuit Compilers