openfermion.utils.map_one_hole_dm_to_one_pdm

Convert a 1-hole-RDM to a 1-RDM

oqdm numpy.ndarray

The 1-hole-RDM as a 2-index tensor. Indices follow the internal convention of oqdm[p, q] == \(a_{p}a_{q}^{\dagger}\).

oqdm numpy.ndarray

the 1-hole-RDM transformed from a 1-RDM.