qmcpack/examples/afqmc/02-neon_frozen_core
Fionn Malone 6f4e2c37db Update permissions. 2020-09-08 11:19:48 -07:00
..
reference Add input for example 2. 2019-09-09 14:54:58 -07:00
README.rst Add AFQMC tutorials to docs. 2020-08-11 16:24:03 -07:00
gen_input.py Update permissions. 2020-09-08 11:19:48 -07:00
scf.py Require Python3 2020-01-08 12:52:22 -05:00

README.rst

Example 2: Frozen Core
----------------------

In this example we show how to perform a frozen core calculation, which only affects the
integral generation step. We will use the the previous Neon example and freeze 2 core
electrons. The following only currently works for RHF/ROHF trial wavefunctions.

.. code-block:: bash

    mpirun -n 1 /path/to/qmcpack/utils/afqmctools/bin/pyscf_to_afqmc.py -i scf.chk -o afqmc.h5 -t 1e-5 -v -c 8,22

Again, run gen_input.py to generate the input file `afqmc.xml`.

Comparing the above to the previous example we see that we have added the `-c` or `--cas`
option followed by a comma separated list of the form N,M defining a (N,M) CAS space
containing 8 electrons in 22 spatial orbitals (freezing the lowest MO).

The rest of the qmcpack process follows as before.