Comparing correlated part of CCSD two-particle density matrix between PySCF and CFOUR #2707
prasanta13
started this conversation in
General
Replies: 1 comment 1 reply
-
|
The density matrix is stored in an order that follows the integral format in ERIs: Line 238 in 0d83af7 Line 295 in 0d83af7 You probably need to compare PySCF OOVV with CFOUR VOVO, PySCF OVOV with CFOUR VVOO This choice of density matrix ordering may not be optimal, it is a result of historical path dependence. The two-PDM was initially structured this way when implementing the FCI code. Subsequently, other post-HF module RDM implementations followed this format. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am trying to compare the two-particle density matrix calculated by PySCF and CFOUR program. Since CFOUR only gives the correlated part of the 2PDM. I am trying to compare the same from PySCF. I am reading the correlated part of the 2PDM blocks from this function
def _gamma2_outcore(mycc, t1, t2, l1, l2, h5fobj, compress_vvvv=False):and worked with this function,
def _make_rdm2(mycc, d1, d2, with_dm1=True, with_frozen=True, ao_repr=False):Such that I only take the particular blocks without dm1 correction, symmetrizing and multiplying by 2.
Upon comparison, I found that for H2 system with CCSD/STO-3G theoretical level,
I am a bit confused as why they should not match?
Beta Was this translation helpful? Give feedback.
All reactions