View source on GitHub |
Generate the singlet ERPA equations
openfermion.linalg.singlet_erpa(
tpdm: numpy.ndarray, h_ijkl: numpy.ndarray
) -> Tuple[numpy.ndarray, numpy.ndarray, Dict]
[ea + eb, [H, sa, sb]] = [ea, [H, sa]]
The erpa equations are solved with scipy.linalg.eig which calls lapack's geev
Args | |
---|---|
tpdm
|
2-RDM tensor normal OpenFermion format |
h_ijkl
|
reduced Hamiltonian tensor |
Returns | |
---|---|
Tuple of the erpa system. |