Skip to main content

Coupled cluster calculations on electron-boson systems

Project description

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()

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ebcc-1.5.0.tar.gz (637.2 kB view hashes)

Uploaded Source

Built Distribution

ebcc-1.5.0-py3-none-any.whl (699.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page