Figure shows how in detail the full and partial density-matrix coefficients were obtained for each state or transition density matrix, for the examples of G 4 and MgG 2+ 4 presented above. In short, some sets of coefficients are directly read in the AO-products basis from Gaussian's fchk file, while some other sets were calculated from the CI coefficients of the site states (by Equations 47) and the MO coefficients, and the remaining sets were calculated from the already obtained sets.