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.24.0.tar.gz (265.9 kB view details)

Uploaded Source

Built Distribution

qcengine-0.24.0-py3-none-any.whl (294.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qcengine-0.24.0.tar.gz
  • Upload date:
  • Size: 265.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for qcengine-0.24.0.tar.gz
Algorithm Hash digest
SHA256 4fafe00b71c70a72373b51a48ff31d8acb4bf776f0ca6b447cd17a3e603b4cdd
MD5 6ffc9207e69ac9646146942047de775e
BLAKE2b-256 2990796df125472bbd7ece63ba2eef534d5789ffdadc206d4ba405b161dd551f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: qcengine-0.24.0-py3-none-any.whl
  • Upload date:
  • Size: 294.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for qcengine-0.24.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d5ee7ddc681c7019e43c920c46da88bbe2afc0ea47136165d37dc8a44fa98ea
MD5 6de60090d482b0aff71cc886d40bca29
BLAKE2b-256 5e1b5100773234960bbe9b0112745b36411b5766d2906e9f6e40d20843f406ea

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