Skip to content

MolSSI/QCEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c68b547 · Nov 30, 2022
Oct 11, 2022
Nov 15, 2022
Nov 30, 2022
Mar 28, 2021
Nov 30, 2022
Feb 11, 2021
Jan 19, 2022
Jan 28, 2020
Sep 11, 2018
Oct 2, 2020
Sep 13, 2018
Feb 14, 2021
Aug 15, 2018
Feb 14, 2021
Jul 8, 2022
Mar 28, 2021
Aug 31, 2020
Aug 17, 2018
Jan 19, 2022
Jul 8, 2022
Mar 26, 2018

Repository files navigation

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.