-
Hello, Many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi Edoardo, If you want the energies from DMET and EWF to agree, then you have to do two things, a) make sure that the same self-consistency is being performed in both, b) make sure the same energy functional is being used. By default, the EWF branch doesn't have any self-consistency. DMET on the other hand requires at least a chemical potential optimization to ensure the right number of electrons (EWF doesn't, since it has the right number of electrons by construction). You can ask an EWF calculation to optimize a (global) chemical potential by calling The next thing, is to make sure that the right energy functional is used in EWF for consistency with DMET. This can be found in an EWF embedding object via |
Beta Was this translation helpful? Give feedback.
Hi Edoardo,
So yes, as you suspected, this is due to different total energy expressions that are default in the DMET and EWF approaches, though the fragments and associated bath spaces will be identical in the two calculations. These differences are discussed in more detail in the (admittedly lengthy) https://arxiv.org/pdf/2210.14561.pdf. There are also example Vayesta inputs for the different approaches in the SI of that paper, showing how to get the different energies.
If you want the energies from DMET and EWF to agree, then you have to do two things, a) make sure that the same self-consistency is being performed in both, b) make sure the same energy functional is being used. By defaul…