Supplementary Material for the paper "Fast and virtually exact quantum gate generation in U(n) via Iterative Lyapunov Methods" published in International J. Control DOI: 10.1080/00207179.2019.1626023. The main contribution is an algorithm for quantum gate generation called "RIGA". This algorithm is an alternative for the famous algorithm "GRAPE".