Skip to main content

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.

Backends

By default, the tensor backend uses numpy for all array classes and contraction routines. A number of alternative backends are supported, offering varied frameworks such as parallelism, GPU acceleration, and automatic differentation. For more details, see the corresponding tutorial.

Additionally, mixed precision calculations are supported, which is also detailed in the following tutorial.

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.

Metadata

Release files for ebcc 1.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ebcc 1.6.2
File Size Uploaded Provenance Actions
ebcc-1.6.2.tar.gz 807.7 kB Without provenance Details for ebcc-1.6.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ebcc 1.6.2
File Interpreter ABI Platform Actions
ebcc-1.6.2-py3-none-any.whl Python 3 none any Details for ebcc-1.6.2-py3-none-any.whl

Total release size: 1.7 MB

Release files / ebcc-1.6.2.tar.gz

Download URL ebcc-1.6.2.tar.gz
Size 807.7 kB
Tags Source
SHA-256 checksum
How to use checksums
03e6b6359961db4f00eef6c911444b9ca37ca9974baecb20d75d785ec2eb5cb0
BLAKE2b-256 checksum
How to use checksums
74663a08475a37c5b2345d95f4b4f036b1e7f58e50fab2935d1a13026a888f9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / ebcc-1.6.2-py3-none-any.whl

Download URL ebcc-1.6.2-py3-none-any.whl
Size 886.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d08e843eeba7470e0409eb37c06fb1f33e51254c281411213f0e90e8b037afa
BLAKE2b-256 checksum
How to use checksums
6157537925c2082aba524c252cdb3814e18b8d1f7c70545e3d90b8235c3ba335
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for ebcc 1.6.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page