Skip to main content

QC Lab: a python package for quantum-classical modeling.

Project description

QC Lab is a Python package designed for implementing and executing quantum-classical (QC) dynamics simulations. It offers an environment for developing physical models and QC algorithms which enables algorithms and models to be combined arbitrarily. QC Lab comes with a variety of already implemented models and algorithms which we hope will encourage new researchers to explore the field of quantum-classical dynamics. Users that implement their own models and algorithms will have the opportunity to contribute them to QC Lab to form a growing library of quantum-classical dynamics tools.

As of QC Lab v1.1.0, QC Lab comes with the ability to simulate on-the-fly ab initio nonadiabatic dynamics.

QC Lab is developed and maintained by the Tempelaar Team in the Chemistry Department of Northwestern University in Evanston, Illinois, USA.

The documentation for QC Lab can be found at https://tempelaar-team.github.io/qclab/.

Capabilities

Dynamics Algorithms

The following algorithms are implemented making use of the complex-classical coordinate formalism established in [1].

  • Mean-field (Ehrenfest) dynamics [2]

  • Fewest-switches surface hopping (FSSH) dynamics [3]

  • Ab Initio Mean-Field dynamics

  • Ab Initio FSSH dynamics

Model Systems

  • Spin-boson model [4]

  • Holstein lattice model [5]

  • Fenna-Matthews-Olson (FMO) complex [6, 7]

  • Tully problems I, II, & III [8]

  • Atomistic Ab Initio model

Installing QC Lab

QC Lab can be installed from the Python Package Index (PyPI) by executing:

pip install qclab

To install QC Lab without h5py, numba, or ASE support, execute:

pip install qclab --no-deps
pip install numpy tqdm

to install the remaining required dependencies manually.

QC Lab can be installed from source by downloading the latest release, unpacking it, and executing:

pip install ./

from inside its topmost directory (where the pyproject.toml file is located).

QC Lab doesn’t enforce third-party dependencies. If you hit resolver conflicts or install errors, the quickest fix is to install in a clean Python environment (via venv or conda). Alternatively, reconcile package versions in your existing environment until the requirements are satisfied.

Bibliography

  1. Miyazaki, K.; Krotz, A.; Tempelaar, R. Mixed Quantum–Classical Dynamics under Arbitrary Unitary Basis Transformations. J. Chem. Theory Comput. 2024, 20 (15), 6500–6509. https://doi.org/10.1021/acs.jctc.4c00555.

  2. Tully, J. C. Mixed Quantum–Classical Dynamics. Faraday Discuss. 1998, 110 (0), 407–419. https://doi.org/10.1039/A801824C.

  3. Hammes‐Schiffer, S.; Tully, J. C. Proton Transfer in Solution: Molecular Dynamics with Quantum Transitions. J. Chem. Phys. 1994, 101 (6), 4657–4667. https://doi.org/10.1063/1.467455.

  4. Tempelaar, R.; Reichman, D. R. Generalization of Fewest-Switches Surface Hopping for Coherences. J. Chem. Phys. 2018, 148 (10), 102309. https://doi.org/10.1063/1.5000843.

  5. Krotz, A.; Provazza, J.; Tempelaar, R. A Reciprocal-Space Formulation of Mixed Quantum–Classical Dynamics. J. Chem. Phys. 2021, 154 (22), 224101. https://doi.org/10.1063/5.0053177.

  6. Fenna, R. E.; Matthews, B. W. Chlorophyll Arrangement in a Bacteriochlorophyll Protein from Chlorobium Limicola. Nature 1975, 258 (5536), 573–577. https://doi.org/10.1038/258573a0.

  7. Mulvihill, E.; Lenn, K. M.; Gao, X.; Schubert, A.; Dunietz, B. D.; Geva, E. Simulating Energy Transfer Dynamics in the Fenna–Matthews–Olson Complex via the Modified Generalized Quantum Master Equation. J. Chem. Phys. 2021, 154 (20), 204109. https://doi.org/10.1063/5.0051101.

  8. Tully, J. C. Molecular Dynamics with Electronic Transitions. J. Chem. Phys. 1990, 93 (2), 1061–1071. https://doi.org/10.1063/1.459170.

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

qclab-1.1.0.tar.gz (69.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qclab-1.1.0-py3-none-any.whl (78.3 kB view details)

Uploaded Python 3

File details

Details for the file qclab-1.1.0.tar.gz.

File metadata

  • Download URL: qclab-1.1.0.tar.gz
  • Upload date:
  • Size: 69.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qclab-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c4dd6308dffa6dfa286936d8b1573061bfd7e02500d370a52218e091b117c3b1
MD5 9f7c952ed146f9eff9b4213f0c4d2418
BLAKE2b-256 7d8ef6fa983f1b6323782279a8ccfc3a66cb90d2f5df56f217b4faba08a39931

See more details on using hashes here.

Provenance

The following attestation bundles were made for qclab-1.1.0.tar.gz:

Publisher: publish_pypi.yml on tempelaar-team/qclab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qclab-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: qclab-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 78.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qclab-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63927a9fe160f0d08d68f32b7f19f74f35bc31c5d9f67335c7e77c226d239e12
MD5 93fca402f3ca27f0c1a558d9b1227144
BLAKE2b-256 9f5aab0b7ee5ad6208090f151bc0042d956a42d6a92cad06ac13f0e768581655

See more details on using hashes here.

Provenance

The following attestation bundles were made for qclab-1.1.0-py3-none-any.whl:

Publisher: publish_pypi.yml on tempelaar-team/qclab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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