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

Multi-determinant support for PySCF wavefunctions #4740

Open
huangxxxxxxxx opened this issue Sep 20, 2023 · 9 comments
Open

Multi-determinant support for PySCF wavefunctions #4740

huangxxxxxxxx opened this issue Sep 20, 2023 · 9 comments

Comments

@huangxxxxxxxx
Copy link

The newest version of QMCPACK is not support the multi-derterminant input file gernerated by Pyscf now. I would like to ask if this feature can be added in the next update

@prckent
Copy link
Contributor

prckent commented Sep 20, 2023

Please can you be specific about which version of PySCF you are using and attach a reproducer (molecule, basis set, specific methodology). Since there are several steps in getting from PySCF to QMCPACK, which step fails? I assume that there has been a recent update on the PySCF side. If you know that either older PySCF or older QMCPACK works, that will let the problem be identified faster.

@huangxxxxxxxx
Copy link
Author

The PySCF is 3.8 version, and the QMCPACK is 3.11.0 version. In QMCPACK manual, if i want to use multideterminant, the introduction about it is "Multiple schemes to generate a multideterminant wavefunction are possible, from CASSF to full CI or selected CI.The QMCPACK converter can convert MCSCF multideterminant wavefunctions from GAMESS [SBB+93] and CIPSI
[EG13] wavefunctions from Quantum Package [Sce17] (QP). Full details of how to run a CIPSI calculation and convert
the wavefunction for QMCPACK are given in CIPSI wavefunction interface." There is not include PySCF software.

@prckent
Copy link
Contributor

prckent commented Sep 20, 2023

Please try with the latest QMCPACK release v3.17.1. See also https://qmcpack.readthedocs.io/en/develop/additional_tools.html#supported-codes for a PySCF example.

@prckent prckent changed the title multi-determinant Problem with multi-determinant support and PySCF Sep 20, 2023
@anbenali
Copy link
Contributor

anbenali commented Sep 20, 2023 via email

@huangxxxxxxxx
Copy link
Author

o2.py.zip
This is the input file from PySCF, the multi-determinant will obtain when we run o2.py, but it can't convert to a format of QMCPACK

@prckent prckent changed the title Problem with multi-determinant support and PySCF Multi-determinant support for PySCF wavefunctions Sep 21, 2023
@prckent prckent reopened this Sep 25, 2023
@prckent
Copy link
Contributor

prckent commented Sep 25, 2023

Did you find an alternative solution? (GAMESS, QP) or do you still need PySCF?

@huangxxxxxxxx
Copy link
Author

GAMESS has been uesd before, but it can't offer a kohn-sham orbital of DFT. The QP hasn't been used now.

@huangxxxxxxxx
Copy link
Author

we have a test that the orbital information is offered by *.H5 which gennerated by PySCF software and the information about multideterminant is added to the *.wfj.xml file with GAMESS format by munual. when run it by QMCPACK 3.9.0 version, the process is successful, but the variance of energy is too large. However, when run it by QMCPACK 3.17.0 version, the process is stop because some errors. part of input of *.wfj.xml follows:

@huangxxxxxxxx
Copy link
Author

77ef139b44b41e92cb105fbd0ac648c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants