File: qchem.rst

package info (click to toggle)
python-ase 3.26.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,484 kB
  • sloc: python: 148,112; xml: 2,728; makefile: 110; javascript: 47
file content (50 lines) | stat: -rw-r--r-- 1,121 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.. module:: ase.calculators.qchem

======
Q-Chem
======

.. image:: ../../static/qchem.png
   :target: https://www.q-chem.com/
   :scale: 40

`Q-Chem <https://www.q-chem.com/>`_ is a comprehensive ab initio quantum
chemistry package for accurate predictions of molecular structures,
reactivities, and vibrational, electronic and NMR spectra.


Setup
=====

.. highlight:: bash

You first need to install a working copy of Q-Chem for ASE to call;
follow the instructions on the `Q-Chem website <https://www.q-chem.com/>`_.

The default command that ASE will use to start Q-Chem is
``qchem PREFIX.inp PREFIX.out``.


Examples
========

.. highlight:: python

An simple example of running a geometry optimization using the QChem calculator
in the python interface::

  from ase.build import molecule
  from ase.calculators.qchem import QChem
  from ase.optimize import LBFGS

  mol = molecule('C2H6')
  calc = QChem(label='calc/ethane',
               method='B3LYP',
               basis='6-31+G*')
  mol.calc = calc
  opt = LBFGS(mol)
  opt.run()

See the source code link below for further details.

.. autoclass:: QChem