This little paper describes two procedures for achieving higher speeds in fixed-node diffusion QMC calculations with importance sampling. The first is an iterative procedure for reducing timestep error, thereby allowing larger and fewer time steps to obtain a given accuracy. The movement of a walker is divided into two parts: a diffusion step selected at random from an appropriate distribution and a drift step calculated from the drift velocity at the initial location. These give a temporary step to a new location for which the drift velocity is again determined. The average of the two velocities together with the original diffusion step is used to determine a permanent step. In tests, the procedure was found to reduce time-step error by a factor of 5 to 10. The second procedure makes use of two trial functions for importance sampling, the first a simple function for walker motion and the second a more complex and more accurate function for determining energies. These allow the more computationally expensive function to be used at large intervals for samples having a lower serial correlation.
This little paper describes two procedures for achieving higher speeds in fixed-node diffusion QMC calculations with importance sampling. The first is an iterative procedure for reducing timestep error, thereby allowing larger and fewer time steps to obtain a given accuracy. The movement of a walker is divided into two parts: a diffusion step selected at random from an appropriate distribution and a drift step calculated from the drift velocity at the initial location. These give a temporary step to a new location for which the drift velocity is again determined. The average of the two velocities together with the original diffusion step is used to determine a permanent step. In tests, the procedure was found to reduce time-step error by a factor of 5 to 10. The second procedure makes use of two trial functions for importance sampling, the first a simple function for walker motion and the second a more complex and more accurate function for determining energies. These allow the more computationally expensive function to be used at large intervals for samples having a lower serial correlation.
In an earlier papera a method for the direct calculation of the difference between a true wavefunction and a trial wavefunction was described for simple diffusion calculations. This paper reports further increases in accuracy obtained by a combination of this difference method with importance sampling. The combination allows the calculation of corrections to the product ΨΨT of true and trial wavefunctions, rather than to the wavefunction Ψ itself. Using a new function g = ΨΨT- Ψ2T, the original diffusion equation with drift and local energies is altered by replacement of ΨΨT with g and by addition of a distributed source term. Since walkers fed by sampling the source term may be positive or negative, cancellation is required, but both sets of walkers proceed to the same distribution and age-based cancellation may be used. Node locations are not changed and remain at their original locations as specified by the trial function. The corrected wavefunction and the energy obtained are the same as for a fixed-node diffusion calculation using the same trial function for importance sampling. The method is useful in reducing statistical error, and because the statistical error occurs only in the difference terms, it is most effective when the trial wavefunction is already reasonably accurate. In test calculations for the hydrogen atom and the helium atom, both nodeless, the statistical error in the QMC calculations was greatly reduced. Thus, for hydrogen a trial function with an expectation value of -0.4998 hartrees led to a QMC energy of -0.499995(4) hartrees.
In this paper the combination of importance sampling° with diffusion QMC was shown to be remarkably effective in improving the accuracy of electonic structure calculations for molecular systems. The key to success was the use of a simple, fairly accurate trial wavefunction ΨT for which the function itself, its derivatives and the local energy Eioc may be easily computed. This, used in combination with the diffusion-with-drift expression for walkers corresponding to the product f = ΨΨT according to allows the energy to be evaluated as an average for all walkers of every step after reaching a fluctuating steady state. Since there is a time-step error associated with the simulation of diffusion, drift, and multiplication, varying the time-step and an extrapolation to zero step size are required. The result for H3+ in its triangular configuration of side length 1.6500 bohr was -1.3439 ± 0.0002 hartrees, a value well below the lowest variational energy levels at the time and having an error bar straddling the best modern value of -1.343 835 hartrees. The use of importance sampling along with higher computer speeds resulted in an uncertainty about a factor of 60 lower than that of the previous calculation.b
The optimization of trial wavefunctions ‘I/Jr for use in QMC calculations can be accomplished with a fixed set of configurations selected with probabilities proportional to ‘1/Jf, often using Metropolis sampling and occasionally using other methods. By varying the coefficients of ‘I/Jr, one can minimize the variance in local energies for the original set of configurations. This is effective except when coefficients affecting the node locations are varied and occasional very high weighting factors ‘I/J}(new)/’1/J}(original) can give large fluctuations in the variance. In this paper, the authors propose the use of probability density functions p to produce nodeless distributions of points replacing the original ‘1/Jf distributions. This has two advantages: it avoids the unbounded weighting problem allowing nodes to be varied, and it facilitates sampling without a Metropolis walk and its associated serial correlation. To be effective, i.e., for high efficiency, p must be carefully selected, it must at least resemble ‘1/Jf, and its distributions must be easily sampled. Tests were performed for the case of CH with optimization of all parameters of a two-determinant-and-Jastrow trial function. These included basis set exponents, MO coefficients, CI coefficient, and SchmidtMoskowitz Jastrow parameters. The resulting variance in local energy was 0.19 h2, versus 0.25 h2 for optimization of the Jastrow coefficients only. More interesting is the improvement in diffusion QMC energy for the complete optimization including node movement. The energy was lowered by 0.004 hartree, or 2.5 kcal/mol, with recovery of correlation energy increased from 92.8 to 94.8%.
This paper introduces a successful new method for extending diffusion QMC with importance sampling to allow the direct calculation of pure ‘¢ 2 distributions in place of mixed ‘¢ 1/Jr distributions. The method removes any bias introduced with a trial function (except that due to node locations) in the calculation of observable quantities which do not commute with the Hamiltonian. It has the advantage, relative to the descendent weighting or forward walking technique,a of a controlled walker population which reduces statistical errors. The authors have named it the reptation quantum Monte Carlo (RQMC) method. Its basic object is a path or sequence of configurations called a “reptile” which may be altered by an action called “reptation,” terms adopted from related work in the polymer area. In conventional diffusion QMC with importance sampling walkers are subjected to diffusion, drift, and a local energy-based multiplication to produce a 1/J’I/Jr distribution. Without multiplication a ‘l/Jr’l/Jr distribution is produced. In RQMC multiplication is replaced by a Metropolis rejection procedure, also based on local energies, which produces a 1/J’!/J distribution of configurations in a reptile. The generation of a new reptile, by removing the tail and adding a new head, is based on diffusion and drift for proposed moves coupled with an acceptance test. Overall, the implementation is quite similar to that for variational QMC. As described, the method was tested first for the hydrogen atom, followed by the successful demonstration of a calculation for a helium fluid, 64 4He atoms in a cubic box with periodic boundary conditions. The advantages of RQMC relative to branching diffusion QMC were pointed out for treatment of clusters, films, and superfluids as well as for estimation of electronic forces.
These two papers describe the development of a variant of diffusion QMC with importance sampling and its applications to a few simple systems. The method is based on the generalized FeynmanKac path integral formalisma and is termed the “full generalized Feynman-Kac” or FGFK method. Its major advantage, relative to other diffusion-based methods, is the elimination of branching or multiplication of walkers. Its major disadvantage is a greater complexity. The basic implementation is very nearly the same as that of standard diffusion QMC with importance sampling, and it incorporates diffusion with drift in the same way. The uses of trial functions, fixed nodes, extrapolation to zero time-step size, and other procedures except for branching are identical. However, the evaluation of mean quantities can be carried out in terms of ‘lj;2 sampling to obtain energies and other properties based on the FGFK formula. The applications described include ground and excited states of the harmonic oscillator and the helium atom and the ground state of the hydrogen molecule. For these the energies as well as a dozen other observables such as the averages of interelectron distances were determined. The results were found to be in good agreement with accepted values. A combination of FGFK with the released-node method was investigated for the case of the one-dimensional harmonic oscillator and found to be successful for that case.