A Julia package for course-grained electronic structure calculations
FermiCG
("Fermionic Course-Graining") is a code for computing high-accuracy electronic states for molecular systems in a tensor product state (TPS) basis. Unlike in the traditional Slater determinant basis, a TPS basis can be chosen such that each basis vector has a considerable amount of electron correlation already included. As a result, the exact wavefunction in this basis can be considerably more compact. This increased compactness comes at the cost of a significant increase in complexity for determining matrix elements. So far, we have implemented multiple approach for discovering highly accurate wavefunctions in this TPS basis. This package includes:
CMF-PT2
- Second order PT2 correction on top ofCMF
using a barycentric Moller-Plesset-type partitioning.CMF-CEPA
- A CEPA-type formalism on top of CMF. First published here.TPSCI
- this is a generalization of the CIPSI method to a TPS basis. Essentially, one starts with a small number of TPS functions, solves the Schrodinger equation in this small subspace, then uses perturbation theory to determine which TPS's to add to improve the energy. This is done iteratively until the results stop changing. First published here.SPD
- "SubspaceProduct Decomposition"
Download FermiCG and move into main directory
git clone https://github.com/nmayhall-vt/FermiCG.git
cd FermiCG/
julia --project=./ -tauto
Now test:
julia> using Pkg; Pkg.test()
Because FermiCG's dependencies are not (yet) in the registry, we will need to add them ourselves. First, start the REPL,
julia --project="PROJECT_NAME"
And then move to the package manager prommpt by typing "]
", then add the following packages:
add https://github.com/nmayhall-vt/QCBase.jl
add https://github.com/nmayhall-vt/BlockDavidson.jl
add https://github.com/nmayhall-vt/InCoreIntegrals.jl
add https://github.com/nmayhall-vt/RDM.jl
add https://github.com/nmayhall-vt/ActiveSpaceSolvers.jl
add https://github.com/nmayhall-vt/FermiCG