You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the get_molecular_hamiltonian() method for H4, but the behavior is not being consistent from one execution to the next.
My application is VQE. The problem is that I want to store the optimized parameters, but not the Hamiltonian. However, when I evaluate the energy with the supposedly optimized parameters (obtained in a previous execution), the value is often suboptimal. I can't reproduce the ground state, because the parameters that should define it do not minimize the energy calculated with the Hamiltonian I obtain after I recreate the molecule.
Activity
ochapman-dphil commentedon Aug 24, 2024
getting the above error in 2024
mafaldaramoa commentedon Sep 2, 2024
@ochapman-dphil I suggest you take a look at this issue (the PySCF repository is significantly more active): pyscf/pyscf#1935