Skip to main content

A compute wrapper for Quantum Chemistry.

Project description

QCEngine

Travis build codecov Language grade: Python Documentation Status Conda (channel only) Chat on Slack

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.Molecule.from_data("""
O  0.0  0.000  -0.129
H  0.0 -1.494  1.027
H  0.0  1.494  1.027
""")

>>> inp = qcel.models.AtomicInput(
    molecule=mol,
    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.21.0.tar.gz (256.8 kB view details)

Uploaded Source

Built Distribution

qcengine-0.21.0-py3-none-any.whl (284.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qcengine-0.21.0.tar.gz
  • Upload date:
  • Size: 256.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for qcengine-0.21.0.tar.gz
Algorithm Hash digest
SHA256 66c3cabdb699ec1059b8e9b3ab5da2b26fc7c9661c2e5407819693ce622c32ae
MD5 57b1696f38d37765c557ffa6e07731b1
BLAKE2b-256 c8d7f372e64f0fe9222bde11f6debaac06afd35a8986200736d78a1686860cb1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: qcengine-0.21.0-py3-none-any.whl
  • Upload date:
  • Size: 284.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for qcengine-0.21.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f4a743d7000e6e80f00877dbfe44f122540ab3841d22cda31ed26813854fa96
MD5 8552b451e3a8b56fc9175047e60e807b
BLAKE2b-256 0b1aa43b8b1a4b5010f9f96273ee68bd78289f3f8d350f384983b5735fe3376b

See more details on using hashes here.

Provenance

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