ESHDF5Interface¶
Purpose of Module¶
To obtain accurate results with ground state Quantum Monte Carlo methods (such as Variational and Diffusion Monte Carlo) an accurate trial wave function is essential. Such a wave function for an electron system will be typically given by the product of two factors: (1) a Jastrow term describing electronic correlations and (2) a Slater determinant of suitable single particle orbitals
where is the vector containing the position of all electrons and is the position of the -th electron. While there is great freedom in the definition of the Jastrow term, that can then be variationally optimized, the single particle orbitals have to be computed in using Density Functional Theory.
The ESHDF5Interface module provides a derived class of ESInterfaceBase to generate single particle orbitals for QMC simulations performed using QMCPack from a suitable HDF5 file.
Background Information¶
QMCPack is available from the github repository https://github.com/QMCPACK/qmcpack, and the documentation can be found at the QMCPack website https://qmcpack.org/documentation.
Building and testing¶
The EHDF5Interface module can be found in the QMCQEPack branch of the QMCPack git repository https://github.com/michruggeri/qmcpack/tree/QMCQEPack. After cloning and getting to the QMCQEPack branch with
git clone https://github.com/michruggeri/qmcpack.git
git checkout QMCQEPack
one can proceed to build the QMCPack software, as
detailed in the official QMCPack documentation https://qmcpack.org/documentation, or in the manual available
in the manual
subdirectory in the main QMCPack directory.
To use the interface one must use the interfaceh5
keyword in the determinantset
block in a QMCPack input file; further information can be found in Section 22.5.2 of the QMCPack manual, that can be compiled with the files in the manual
directory.
The tests for this code are part of the deterministic unit tests for QMCPack, that can be run with the command
ctest -R interface
Note that the code is tested using the GCC compiler and OpenMPI.
Source Code¶
The source code is available available from https://github.com/michruggeri/qmcpack/tree/QMCQEPack in the QMCQEPack
branch. Specifically relevant files for this module include:
src/Interfaces/ESHDF5/ESHDF5Interface.cpp
src/Interfaces/ESHDF5/ESHDF5Interface.h
and for the tests:
src/Interfaces/tests/test_interface_HDF5.cpp
src/Interfaces/tests/O.BFD.upf