Here, the indices i and j independently run over all provided site states of fragment 1 and 2, respectively. The m s value for the singlet site states are omitted since they are necessarily zero. Now, if we are interested in the singlet and triplet full-system states, we need to keep only ESDs with M S = 0