Repository navigation
Plane-Wave Mode - #161
Merged
Merged
Plane-Wave Mode#161
Conversation
…ll, update tests, ccecp with ecut
sunqm
approved these changes
Sep 26, 2025
* docs, warnings, and a bug fix for sg15 * refactor init_jk and init_pp and build functions * convergence check for CCSD * damping factor for Anderson mixing * update unit tests for pyscf 2.11 * remove unneeded __init__.py * other minor fixes for code review
Collaborator
|
need attributes like |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
pyscf.pbc.pwscfmodule provides experimental support for Hartree-Fock (HF),density functional theory (DFT), second-order Møller-Plesset perturbation theory (MP2),
and coupled cluster singles doubles (CCSD) in a plane-wave basis.
The CCECP and GTH pseudopotentials are supported for these methods,
and SG15 pseudopotentials are supported for HF and DFT calculations.
Occupation smearing and symmetry reduction of k-point meshes are implemented for HF and DFT.
@hongzhouye wrote the initial version of the plane-wave mode with Hartree-Fock, MP2, and CCSD.
Feature Overview
The following self-consistent field (SCF) calculations are supported:
Currently, the Davidson algorithm is implemented for the effective Hamiltonian diagonalization.
There are two mixing schemes for the effective potential, "Simple" and "Anderson" (DIIS).
Symmetry reduction of k-points is supported for SCF calculations, along with occupation
smearing. The default plane-wave basis set and integration grid are determined by
cell.mesh,but these can be customized using the energy cutoffs
ecut_wfandecut_rhoor by settingmeshes directly using
PWKSCF.set_meshes().The following post-SCF calculations are supported:
K-point symmetry and occupation smearing are currently not supported for post-SCF
methods. The
PWKSCF.get_cpw_virtual()method can be used to create virtualmolecular orbitals in a GTO basis for use in post-SCF calculations.
Plane-wave calculations can be performed with GTH or CCECP pseudopotentials
(or all-electron for very small atoms). There is also basic support for SG15
norm-conserving pseudopotentials. The post-SCF methods have been tested with GTH
and CCECP but not SG15, while the SCF methods have been tested with GTH, CCECP, and SG15.