Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

energy difference #136

Open
maartenvd opened this issue Feb 8, 2023 · 1 comment
Open

energy difference #136

maartenvd opened this issue Feb 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@maartenvd
Copy link

pyscf:


from pyscf import gto
mol_h2o = gto.M(atom = 'N 0 0 0.2; N 0 0 0', basis = 'sto-3g')

from pyscf import scf
rhf_h2o = scf.RHF(mol_h2o)
e_h2o = rhf_h2o.kernel()

prints converged SCF energy = -52.6419222048247

fermi:

using Fermi
@molecule {
    N        0.0 0.0 0.2
    N        0.0 0.0 0.0
}

@set basis "sto-3g"

hfst = @energy rhf

prints -52.51997436116736

Can someone help me understand this energy difference?

@gustavojra
Copy link
Member

Hi @maartenvd, sorry about this delay.

I believe that with our standard guess (GWH) we are converging on the wrong state. We are still pending a more robust guess, i.e. SAD.

If you use the bare core guess, you can get the right answer:

using Fermi
@molecule {
    N        0.0 0.0 0.2
    N        0.0 0.0 0.0
}

@set basis "sto-3g"
@set scf_guess core

hfst = @energy rhf;
hfst.energy

returns
-52.641922448130714

@gustavojra gustavojra added the enhancement New feature or request label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants