qmcpack/examples/afqmc/03-carbon_triplet_uhf
Fionn Malone 6f4e2c37db Update permissions. 2020-09-08 11:19:48 -07:00
..
reference Input data for example 3. 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 3: UHF Trial
--------------------

In this example we show how to use a unrestricted Hartree--Fock (UHF) style wavefunction
to find the ph-AFQMC (triplet) ground state energy of the carbon atom (cc-pvtz). Again we
first run the scf (scf.py) calculation followed by the integral generation script:

.. 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 -a

Note the new flag `-a`/`--ao` which tells the script to transform the integrals to an
orthogonalised atomic orbital basis, rather that the more typical MO basis. This is
necessary as qmcpack does not support spin dependent two electron integrals.

Running qmcpack as before should yield a mixed estimate for the energy of roughly: -37.78471 +/- 0.00014.