Skip to main content

A compute wrapper for Quantum Chemistry, ingesting and producing QCSchema for a variety of QC programs.

Project description

QCEngine

Build Status codecov Documentation Status Chat on Slack python

Documentation: GitHub Pages

Quantum chemistry program executor and IO standardizer (QCSchema) for quantum chemistry.

Example

A simple example of QCEngine's capabilities is as follows:

>>> import qcengine as qcng
>>> import qcelemental as qcel

>>> mol = qcel.models.v1.Molecule.from_data("""  # QCSchema v1 or v2
O  0.0  0.000  -0.129
H  0.0 -1.494  1.027
H  0.0  1.494  1.027
""")

>>> inp = qcel.models.v1.AtomicInput(  # QCSchema v1
    molecule=mol,
    driver="energy",
    model={"method": "SCF", "basis": "sto-3g"},
    keywords={"scf_type": "df"}
    )

>>> inp = qcel.models.v2.AtomicInput(  # QCSchema v2
    molecule=mol,
    specification={
        "driver": "energy",
        "model": {"method": "SCF", "basis": "sto-3g"},
        "keywords": {"scf_type": "df"}
    })

These input specifications can be executed with the compute function along with a program specifier:

>>> ret = qcng.compute(inp, "psi4")

The results contain a complete record of the computation:

>>> ret.return_result
-74.45994963230625

>>> ret.properties.scf_dipole_moment
[0.0, 0.0, 0.6635967188869244]

>>> ret.provenance.cpu
Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz

See the documentation for more information.

License

BSD-3C. See the License File for more information.

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

qcengine-0.50.0.tar.gz (382.6 kB view details)

Uploaded Source

Built Distribution

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

qcengine-0.50.0-py3-none-any.whl (371.9 kB view details)

Uploaded Python 3

File details

Details for the file qcengine-0.50.0.tar.gz.

File metadata

  • Download URL: qcengine-0.50.0.tar.gz
  • Upload date:
  • Size: 382.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for qcengine-0.50.0.tar.gz
Algorithm Hash digest
SHA256 c76d7c4aae103a8a93a5c48cf53cd0c9d8489fd2ed85f942b8d87f3f4b2d6665
MD5 658d8253e8873908e302606f4732027a
BLAKE2b-256 6269ddd89edad066e2f996b50c29a50be7dd8689b0cde6024195cfc03a21572b

See more details on using hashes here.

File details

Details for the file qcengine-0.50.0-py3-none-any.whl.

File metadata

  • Download URL: qcengine-0.50.0-py3-none-any.whl
  • Upload date:
  • Size: 371.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for qcengine-0.50.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9581c078697e02146f01cd5e17d7370d2b8da06b1e932160f9d3cbf40885f89b
MD5 735ea5a7e279083687beebf457f5bb54
BLAKE2b-256 202059127fbc6b162a609fd5d1a0e80b9c6a0b054b4c9bcf884540a808505a9d

See more details on using hashes here.

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