User Manual#
(S)tochastic (A)uxiliary-(F)ields for (I)nte(R)acting (E)lectrons (SAFIRE) is a flexible, high-performance implementation of the Auxiliary Field Quantum Monte Carlo (AFQMC) method. It is designed to allow users to study a wide range of physical systems. This manual provides detailed information on the various components of SAFIRE, including its input parameters, Hamiltonian, wavefunction, walker classes, and observables. This user manual assumes a basic familiarity with AFQMC. For a brief introduction to AFQMC, please see Auxiliary-Field Quantum Monte Carlo.
Input File#
SAFIRE uses a json-based input file to specify the parameters of the AFQMC calculation. This section contains parameters that control the calculation including choosing methodological parameters, Hamiltonian, trial wavefunction, walker type, and observables. A sample input file is shown below. See the “Input file description” for more.
{
"afqmc": {
"project": {
"id": "my_qmc_run",
"series": 0
},
"execute": {
"walker_set": {
"walker_type": "COLLINEAR"
},
"wavefunction": {
"filename": "wfn.h5"
},
"hamiltonian": {
"filename": "hamiltonian.h5"
},
"timestep": 0.01,
"steps": 10000,
"measure_interval_multiplier": 1,
"population_control_interval" : 10,
"walker_ortho_interval" : 10 ,
"n_walkers_per_mpi_task": 10,
"estimator": {
"name": "mixed",
"onerdm" : {
"name" : "my_onerdm"
}
}
}
}
}
Hamiltonian Classes#
AFQMC is formulated in terms of a general second-quantized Hamiltonian,
However, there are class-specific optimizations that can be employed for different types of Hamiltonians. This is especially true in the case of lattice model Hamiltonians where the form of the interactions is significantly simpler than the long-range Coulomb interaction found in ab initio Hamiltonians, for example.
See the Hamiltonian classes reference for more details.
Wavefunction Classes#
The trial wavefunction in AFQMC is typically a linear combination of Slater determinants,
where \(C_n\) is a complex-valued coefficient, and \(|\Phi_n\rangle\) are Slater determinants which are not necessarily orthogonal to each other. Of course, each Slater determinant consists of some set of single-particle orbitals, \(\{ \psi_p \}\), such that,
where \(\{\phi_i\}\) are the chosen orthonormal basis set orbitals. SAFIRE implements a few different forms for the trial wavefunction.
See the Wavefunction classes reference for more details.
Walkers#
In AFQMC, walkers are typically single Slater determinants.
SAFIRE allows one of several type of Slater determinant walkers to be used in calculations based on their spin symmetry.
See the Walker classes reference for more details.
Observables#
In AFQMC, physical observables are computed on the fly using a Monte Carlo representation of the many-body wavefunction. Both mixed estimators of the form,
where \(n\) is the projection step index, \(| \Phi_{n,k} \rangle\) are Slater determinant walkers with weight \(W_{n,k}\), and \(| \Psi_\mathrm{T} \rangle\) is the trial wavefunction, and pure estimators using the Back-Propagation (BP) algorithm of the form,
where \(| \tilde{\Phi}_{m,k} \rangle\) are the back-propagated walkers, given by
are implemented.
Several observables, \(\hat{O}\), are implemented in SAFIRE which can each be used with either type of estimator.
See the Observables reference for more details.