fermifab.
rdm
Calculate the p-body reduced density matrix of a N-body quantum state.
reduced density matrix
numpy.ndarray