Skip to content

Coupled cluster models for both purely electron and coupled electron-boson models, with a focus on generality and model extensibility.

License

Notifications You must be signed in to change notification settings

BoothGroup/ebcc

Repository files navigation

ebcc: Coupled cluster calculations on electron-boson systems

CI codecov PyPI version License: MIT

The ebcc package implements various coupled cluster (CC) models for both purely electronic and coupled electron-boson models, with a focus on generality and model extensibility.

For a summary of the implemented models, see the FEATURES.md file.

Installation

From PyPI:

pip install ebcc

From source:

git clone https://github.com/BoothGroup/ebcc
pip install .

Usage

The implemented models are built upon the mean-field objects of pyscf:

from pyscf import gto, scf
from ebcc import EBCC
mol = gto.M(atom="H 0 0 0; H 0 0 1", basis="cc-pvdz")
mf = scf.RHF(mol)
mf.kernel()
ccsd = EBCC(mf, ansatz="CCSD")
ccsd.kernel()

Many ansatzes for both fermionic and electron-boson coupled cluster calculations are available. For more details see the tutorials and examples directories.

Code generation

The models implemented are generated algorithmically from expressions over second quantized operators. The scripts for generating these models are found in the codegen directory on the bootstrap branch. User-inputted models should operate seamlessly with the solvers by adding files under ebcc/codegen, so long as they satisfy the interface.

About

Coupled cluster models for both purely electron and coupled electron-boson models, with a focus on generality and model extensibility.

Resources

License

Stars

Watchers

Forks

Packages

No packages published