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

Read in CISD wave functions #241

Closed
lkwagner opened this issue Dec 31, 2020 · 1 comment
Closed

Read in CISD wave functions #241

lkwagner opened this issue Dec 31, 2020 · 1 comment
Assignees

Comments

@lkwagner
Copy link
Contributor

Currently there is not a way to read in CISD wave functions. Here is an example piece of code we'd like to be able to execute:

import numpy
from pyscf.pbc import gto, dft
from pyscf.pbc.dft import multigrid
import pyscf.pbc
import pyscf.pbc.ci

cell = gto.M(
    verbose = 4,
    a = numpy.eye(3)*3.5668,
    atom = '''C     0.      0.      0.    
              C     0.8917  0.8917  0.8917
              C     1.7834  1.7834  0.    
              C     2.6751  2.6751  0.8917
              C     1.7834  0.      1.7834
              C     2.6751  0.8917  2.6751
              C     0.      1.7834  1.7834
              C     0.8917  2.6751  2.6751''',
    #basis = 'sto3g',
    #basis = 'ccpvdz',
    basis = 'gth-szv',
    pseudo = 'gth-pade',
    max_memory=6000,
    #ecp='ccecp',
    #basis='ccecpccpvdz'
)
cell.exp_to_discard=0.2
cell.build()

mf = dft.RKS(cell)
mf.xc = 'lda,vwn'
mf = multigrid.multigrid(mf)
mf.chkfile = "graphene_multigrid.chk"
mf.kernel()


mf_hf = pyscf.pbc.scf.RHF(cell)
mf_hf.__dict__.update(mf.__dict__)


myci = pyscf.pbc.ci.CISD(mf_hf)
myci.nroots=10
myci.run()
print(dir(myci))
print(myci.ci)
@lkwagner lkwagner self-assigned this May 3, 2021
@lkwagner
Copy link
Contributor Author

Not a priority at this time.

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

No branches or pull requests

1 participant