Skip to main content

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.

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.51.0.tar.gz (394.3 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.51.0-py3-none-any.whl (381.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qcengine-0.51.0.tar.gz
  • Upload date:
  • Size: 394.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for qcengine-0.51.0.tar.gz
Algorithm Hash digest
SHA256 23a122d132329585a8add8cd023d305c0c4c1f5032bf8a7ab22273e05d7c4c0d
MD5 bf5311899516d2d1461af0734238799a
BLAKE2b-256 3f2498734cb58fe1bcb1f4967737c1eef12586811c366781ff76238cbbc31b92

See more details on using hashes here.

Provenance

The following attestation bundles were made for qcengine-0.51.0.tar.gz:

Publisher: release.yml on MolSSI/QCEngine

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

File details

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

File metadata

  • Download URL: qcengine-0.51.0-py3-none-any.whl
  • Upload date:
  • Size: 381.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for qcengine-0.51.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c07fbcad9ebbb5abe4d84a88bd7db65086bea8ca491b26add14fa197de5bf9e0
MD5 23bfe7c8ded978cfeb7d5df99f73e7eb
BLAKE2b-256 f15387d7d2233361a74dd5780f4d8db2a7a26c3cfac6a97c9f0181e351e82f07

See more details on using hashes here.

Provenance

The following attestation bundles were made for qcengine-0.51.0-py3-none-any.whl:

Publisher: release.yml on MolSSI/QCEngine

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 Sentry Error logging StatusPage Status page