项目
在 GitHub 查看
MolSSI/QCEngine
关于
Quantum chemistry program executor and IO standardizer (QCSchema).
科学与工程实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文QCEngine
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.
探索相关项目
加载中…