Source: http://perso.univ-mlv.fr/calvet/ampi/docrdm/Cours 3_RDM.pdf