Skip to content

Commit fb0bed2

Browse files
Merge pull request #154 from MatthewRHermes/remove_mcpdft_1
[FEATURE TRANSFER] [possibly unnecessary] Remove MC-PDFT (1/2)
2 parents 08b183d + 0a33323 commit fb0bed2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+169
-14440
lines changed

examples/mcpdft/00-simple_mcpdft.py

Lines changed: 0 additions & 41 deletions
This file was deleted.

examples/mcpdft/01-different_functionals.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

examples/mcpdft/02-hybrid_functionals.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

examples/mcpdft/03-metaGGA_functionals.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# patch dft2.libxc (must be done before loading mpcdft module)
2+
from pyscf import dft
3+
from pyscf import dft2
4+
dft.libxc = dft2.libxc
15
#!/usr/bin/env/python
26
from pyscf import gto, scf, mcpdft
37

@@ -8,15 +12,6 @@
812

913
mf = scf.RHF (mol).run ()
1014

11-
# The translation of Meta-GGAs and hybrid-Meta-GGAs [PNAS, 122, 1, 2025, e2419413121; https://doi.org/10.1073/pnas.2419413121]
12-
13-
# Translated-Meta-GGA
14-
mc = mcpdft.CASCI(mf, 'tM06L', 6, 8).run ()
15-
16-
# Hybrid-Translated-Meta-GGA
17-
tM06L0 = 't' + mcpdft.hyb('M06L',0.25, hyb_type='average')
18-
mc = mcpdft.CASCI(mf, tM06L0, 6, 8).run ()
19-
2015
# MC23: meta-hybrid on-top functional [PNAS, 122, 1, 2025, e2419413121; https://doi.org/10.1073/pnas.2419413121]
2116

2217
# State-Specific

examples/mcpdft/11-grid_scheme.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

examples/mcpdft/15-state_average.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

examples/mcpdft/16-multi_state.py

Lines changed: 0 additions & 43 deletions
This file was deleted.

examples/mcpdft/41-state_average.py

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)