Abstract
Diffusion Monte Carlo (DMC) based on fixed-node approximation has enjoyed significant developments in the past decades and become one of the go-to methods when accurate ground state energy of molecules and materials is needed. However, the inaccurate nodal structure hinders the application of DMC for more challenging electronic correlation problems. In this work, we apply the neural-network based trial wavefunction in fixed-node DMC, which allows accurate calculations of a broad range of atomic and molecular systems of different electronic characteristics. Our method is superior in both accuracy and efficiency compared to state-of-the-art neural network methods using variational Monte Carlo (VMC). We also introduce an extrapolation scheme based on the empirical linearity between VMC and DMC energies, and significantly improve our binding energy calculation. Overall, this computational framework provides a benchmark for accurate solutions of correlated electronic wavefunction and also sheds light on the chemical understanding of molecules.
Subject terms: Chemical physics, Physical chemistry, Computational chemistry
An accurate ab initio calculation of molecules is fundamental to chemical and physical sciences. Here, the authors integrate a neural-network wavefunction into the fixed-node diffusion Monte Carlo, resulting in accurate calculations of a diverse range of systems, offering insights into complex many-body electronic wave functions.
Introduction
Since the establishment of quantum wavefunction theory by Erwin Schrödinger, ab initio electronic structure calculation has become one of the holy grails in chemistry1,2. Molecules generally consist of a set of nuclei bonded together via electrons through electrostatic interactions. Therefore, the ground state electronic structure, i.e., the many-body electronic wavefunction, is very much the most fundamental property, based on which we form the basic understanding of molecules. On top of the ground state wavefunction solution, one may further study electronic excitation, calculate nuclear forces and vibrations, optimize molecular structures, model dynamics and reactions, etc.3. Approximated methods, such as density functional theory and post Hartree-Fock methods have been widely employed for these purposes, but challenges still exist when high accuracy is needed4,5. For instance, the sub-chemical-accuracy is often desired to predict adsorption of molecules on surfaces, the packing order of organic chemicals, and the hydrogen bonding of water and biological molecules6,7. Therefore, pushing the limit towards the exact ground state wavefunction of molecules is of both fundamental importance and practical relevance.
Stochastic approaches, i.e., quantum Monte Carlo (QMC) methods, have been a competitive rival of the deterministic methods in chasing the ground truth of many-body electronic wavefunction of molecules8–11. In particular, diffusion Monte Carlo (DMC), an approach based on ground state projection, is capable of treating dynamic correlations and reaching sub-chemical-accuracy for molecules12,13. However, effective DMC algorithms usually work together with the so-called fixed-node approximation14,15, and the accuracy is only assured when a good trial wavefunction containing the correct nodal structure is provided in advance16. Despite many progresses have been made to improve the trial wavefunction, e.g., using physically more meaningful ansatz or combined with multi-determinant post Hartree-Fock wavefunctions13,17,18, the fixed-node approximation remains as the Achilles’ heel of DMC.
Recently, it has been shown that machine learning techniques such as neural networks can lend strong support to describe the electronic structure of molecular systems and provide a powerful way to reconstruct the many-body wavefunction19–26. FermiNet is one of the notable examples, which has already shown promising results for small molecules consisting of typically less than 30 electrons20,21,27. In these neural network wavefunction methods, variational Monte Carlo (VMC) is often employed to train the network on the fly. Despite its effectiveness on small molecules, it remains to be challenging to apply neural network-based VMC on larger systems, due to required large computation resources and long converging time.
In this work, we integrate the FermiNet neural network wavefunction into DMC. This approach takes advantage of the accurate trial wavefunction of FermiNet and the efficient ground state projection of DMC, which allows calculations of a range of systems to unprecedented accuracy. We refer to the vanilla FermiNet approach as FermiNet-VMC, and refer to our FermiNet-based DMC approach as FermiNet-DMC. Compared to FermiNet-VMC, FermiNet-DMC is able to achieve lower variational ground state energy at reduced computational cost. We carry out tests on atoms as well as molecules including N2, cyclobutadiene, water dimer, benzene and benzene dimer. We also present the empirical linear relation between VMC and DMC energies in our calculations and introduce an extrapolation scheme accordingly. Insights to the electronic structure of these systems obtained from our calculations are also discussed.
Results
Computational framework
As illustrated in Fig. 1a, in the traditional electronic structure approach, diffusion Monte Carlo is often used after optimization of trial wavefunction using VMC, which approaches the limit of a given wavefunction ansatz. DMC further purifies the true ground state out of other contaminating eigenstates, and it often allows the breaking through of the ansatz limit. However, to overcome the notorious sign problem, nodal points where the wavefunction is zero have to be fixed in DMC, and walkers are only allowed to evolve in each fixed nodal pocket. Here, the idea is to implement the recently developed neural network as an accurate wavefunction ansatz (Fig. 1b). On one hand, the wavefunction learned by the neural network automatically reproduces an accurate representation of the mysterious nodal structure of many electrons of molecules. The accurate nodal structure ensures that the subsequent DMC simulation with fixed nodes does not yield bias to the ground state. On the other hand, compared with neural networks-based VMC, our scheme only requires the information of the nodal structure instead of the full wavefunction. It is reasonable to expect the nodal structure to be simpler characterized than the full wavefunction.
Our multi-walker DMC algorithm is implemented in a fully parallel manner, in which each walker independently simulates the stochastic dynamics of electrons (Fig. 1c). The three key steps in our DMC algorithm are diffusion, branching, and merging (Fig. 1d), and they ensure that the equilibrium is reached for each walker after simulation in terms of the probability distribution of different electronic configurations. The diffusion step changes the configuration of electrons from one to another, while the cross-node movement is forbidden. Branching and merging control the total population of walkers during the simulation. In this work, we have implemented a GPU and neural network friendly DMC algorithm, which can be easily scaled out to multiple computing nodes. The runtime for one step in FermiNet-DMC is almost identical to that in FermiNet-VMC. Therefore, to compare the efficiency or total runtime between FermiNet-DMC and FermiNet-VMC, we only need to compare the number of steps in those processes. More methodological and technical details are provided in the “Methods” section and the Supplementary Notes 1–5.
Single atoms
Neural network models are faced with the trade-off between model expressiveness and computational intensiveness. For powerful models like FermiNet, it may take hundreds of thousands iterations to converge in the training process even for small benchmark systems with just a few electrons. Figure 2 shows calculations for single atoms with a shallow and narrow FermiNet ansatz with only 2 layers of rather small number of neurons (see Supplementary Table S3 for details). The network is designed to be restricted so that we can study FermiNet’s performance when it is not expressive enough for the considered systems. This situation is of practical importance especially when we are interested in applying neural network-based QMC methods to large systems of one hundred electrons or more. As shown in Fig. 2a, a common pattern of FermiNet’s training progress is that the energy curve drops to a fairly low level in a short amount of time and then slowly converges to its limit. Figure 2a is a calculation on the Be atom with the mentioned small network, and after 5 × 105 steps of training, which ensures complete convergence, the systematic error still can not be reduced to within the chemical accuracy. In addition, the computational cost could scale up quickly for larger systems even on the most advanced modern computation platforms such as NVIDIA’s Tesla A100 GPU. This issue prevents accurate calculations for more than 30 correlated electrons20,21.
The combination of the FermiNet neural network wavefunction ansatz and DMC achieves a substantial improvement in both accuracy and efficiency. For Be atom and the same simple neural network, FermiNet-DMC energy drops to within 1 mHa with respect to the reference value of the total energy. The DMC data is obtained with 105 steps of simulation, and the variance of DMC is also significantly reduced. It is also encouraging to see that even when we start from the trial wavefunction after 104 steps of training, the DMC energy obtained subsequently is also converged within 1 mHa to the exact value. At the 105 step when the training has not yet completely converged, the DMC energy is already consistent with the result obtained at the 5 × 105 step. The good performance of DMC based on undertrained trial wavefunctions suggests the nodal structure is well characterized before the wavefunction is fully trained in the neural network ansatz. In Fig. 2b–d, we present the three-dimensional cuts of the full 11-dimensional (11D) nodal structure of the FermiNet wavefunction at the initial, 104, and 105 step. The 105 step nodal structure is very well converged to the correct one obtained from CI calculations28, and the nodal structure at 104 step is also qualitatively same, explaining the high accuracy obtained subsequently using DMC. For comparison, the nodal structure of the initial wavefunction is also shown. Because of the fact that only the nodal structure determines the accuracy of DMC, the training process of neural network functions can be significantly shortened. Overall, to reach chemical accuracy for Be atom, the cost of FermiNet-DMC is only a fraction of the cost of FermiNet-VMC.
Figure 2e further shows the energy of FermiNet-based VMC and DMC for different atoms in order of the number of electrons under the same 2-layer network. We try different learning rates and train enough iterations (106 for S, Cl, Ar and 5 × 105 for the other atoms) to ensure that we make full use of the expressive power of the network. As expected the error of VMC increases when the number of electrons in the system increases and the complexity of the system gradually exceeds the expressive limits of the neural network. With DMC the errors are reduced by more than half. The dashed lines are linear fittings of the VMC and DMC energy. And the deviation of the data points from the fitting curves indicates that there is a correlation between the DMC and the VMC energy: when the VMC energy is comparably better, the DMC error is also smaller. The linear rising of DMC error shows that the training of nodal structure also becomes increasingly difficult when system size increases, and the correlation between the VMC and the DMC error indicates the information of the nodal structure is closely entangled with the full wavefunction. Note that we use a 2-layer network here in order to examine the behavior of FermiNet VMC and DMC in the regime where the network ansatz is relatively restricted for the considered systems, while FermiNet-VMC can be more expressive to achieve high accuracy for those atoms with more layers and neurons, as shown in Pfau et al.20.
Moreover, the improvement of DMC suggests that it may take a smaller and hence more efficient network to represent the nodal surface, without affecting the DMC accuracy. In Fig. 2f, we present a set of such tests on Ne atom, where the complexity of the neural network is labeled as (L,D,W) to indicate the number of layers, the number of determinants, and the width of each layer in the network, respectively. Overall, when the expressiveness of the network is reduced both VMC and DMC are affected in terms of their accuracy. Therefore, all the calculations suggest that the VMC energy is a good indicator of not only how well the wavefunction is optimized but also the quality of its nodal structure. The behavior is also expected for other neural network wavefunction ansatz. Combined with the typical first-steep-then-flat optimization curve in neural networks, we can automate the switching-on of DMC and minimize the total cost of calculations at targeted accuracy.
Building upon the successful treatments of FermiNet-DMC on atoms, we now extend the approach to larger molecules.
Nitrogen molecule
The first example is the dissociation curve of N2 molecule. At equilibrium N2 forms a strong triple covalent bond at 2.1 a.u., and the dissociation is accompanied by a severe bond breaking process, which is strongly correlated in nature. Therefore, the dissociation curve of N2 is often used to benchmark electronic structure methods’ description of strong correlation. In DMC, this is also highly relevant because the nodal structure is directly affected by electron correlation. Figure 3a plots the relative energy of N2 with respect to the experimental reference 29 as a function of the bond length. The results from FermiNet-VMC and r12-MR-ACPF, a state-of-the-art traditional multi-reference approach30, are also shown. We can see that our DMC calculations are consistently better than those references, with an error of less than 1 mHa in a wide range of bond length. The largest error comes, not surprisingly, around the dissociation point near 4 a.u., and yet the error is only 3 mHa. In fact, our results can be considered as the most accurate ab initio one of N2 dissociation curve reported so far. It is worth noting that the FermiNet-VMC results here have been remarkably accurate, whose deviation from experiment curve is within 2 mHa near equilibrium and 4 mHa in dissociation region. Yet our FermiNet-DMC results can improve averagely about 1 mHa. For comparison, CCSD(T) calculation (not plotted), which is known as the “golden standard” in quantum chemistry, have an error of 25 mHa around 4 a.u.20. In terms of relative energy, the non-parallelity error (NPE) of FermiNet-DMC (3.28 mHa) is only slightly better than that of FermiNet-VMC (3.53 mHa), consistent with mild improvement on small systems reported in Wilson et al.31, and both are comparable to the state-of-the-art r12-MR-ACPF result (2.14 mHa).
The remaining error source of DMC is the nodal structure error produced in the training of neural network using VMC, which is fully reflected on the shape of the FermiNet VMC and DMC curves. The results of FermiNet-DMC are close to the experimental fitting curve within 1 mHa outside the dissociation region and cannot go any lower due to the variational property. So, when combined with a more expressive or better trained neural network that can handle the dissociation region, it is very likely that the full dissociation curve of N2 can be reproduced by DMC within an error of 1 mHa, meaning that DMC can also solve strongly correlated systems within chemical accuracy.
Cyclobutadiene
A similar example is the structural transition of cyclobutadiene, which is also well-known for its multi-referential nature. The neural network-based VMC models21,22 have already shown promising results on cyclobutadiene. FermiNet-DMC can handle this system with higher accuracy and reduced computational cost.
In our experiments, VMC process takes around 3 × 105 steps to converge, though the converged result is still around 7 mHa higher than the reported value in Spencer et al.21, which converges in 2 × 105 steps. This is probably because we use different training hyperparamters, or simply because our optimization process gets trapped in a bad local minimum. However, our final DMC result is around 4 mHa lower than the reference data21. This demonstrates the effectiveness of our DMC implementation as a seamless extension to VMC. Namely even if the optimization in VMC does not work well, the following DMC process can still bring the energy calculation to a highly accurate level. This is especially important for neural network-based VMC, because its optimization is significantly trickier to tune and requires a longer time to completely converge, compared to conventional VMC. Here, the DMC finite time-step error is negligible as illustrated in Supplementary Fig. 1, which guarantees the variational property of our FermiNet-DMC results,
With 105 VMC and 105 DMC steps, FermiNet-DMC’s energy result is 2 mHa lower than the reference data in Spencer et al.21 produced from a training phase with 2 × 105 VMC steps. Note that in this case our number of total QMC steps is still slightly less than the ref. 21 due to the required inference phase in FermiNet-VMC. Therefore, FermiNet-DMC should be preferred for its lower variational energy at the same or less computational cost.
The automerization energy difference of cyclobutadiene is shown in the inset panel of Fig. 3c. Neural network-based VMC gives an accurate automerization energy difference of cyclobutadiene21,22. It is consistent with the high-end of the experimental data. The results of FermiNet-DMC are also in the same region. See Supplementary Note 9 for more details, including the training curve for transition configuration and the DMC energy data for both equilibrium and transition configurations.
Water dimer
In addition to the strong covalent bonding, where static correlation is more essential, molecular systems with weaker hydrogen bonding and non-covalent interactions can also be challenging because of dynamic correlations. To this end, we have carried out FermiNet-DMC calculations on the 10 Smith stationary point of water dimer32. The 10 structures, as illustrated in Fig. 3d and Supplementary Fig. 4, have different hydrogen bonding configurations and their relative energies are used to benchmark the performance of electronic structure methods and force field models on hydrogen bonding systems33. With 10 total energy results (plotted in Supplementary Fig. 5) and 9 relative energy results (plotted in Supplementary Fig. 6), we can thus have a rather credible investigation on the error cancellation performance of FermiNet-VMC and FermiNet-DMC. We compare the energy results of FermiNet-DMC with an undertrained network and a well-trained network as trial wavefunctions respectively. The undertrained network is trained by VMC in 105 steps, while the well-trained network is trained by VMC in 3 × 105 steps. CCSD(T) results34 are displayed as benchmarks for their high accuracy for such type of systems.
As shown in Fig. 3d, the undertrained FermiNet-VMC performs badly on SP3 and SP5, and so does the well-trained FermiNet-VMC on SP4, though some of the FermiNet-VMC results are quite close to the benchmark results (e.g., SP7 and SP8 in Supplementary Fig. 6). On the other hand, FermiNet-DMC performs consistently well no matter which network is used as trial wavefunction, undertrained or well-trained. Overall, the mean absolute deviations from the benchmark CCSD(T) results are also given in Fig. 3d, from which we can clearly tell the improvement of FermiNet-DMC on relative energy calculations. For comparison purpose, we also show DMC results with traditional Slater-Jastrow wavefunction ansatz35, whose accuracy is at the same level with FermiNet-DMC as the difference is negligible compared to the statistical error. The inferior performance of FermiNet-VMC may be due to the different degree of convergence in different systems, while FermiNet-DMC provides a more efficient and practical solution than fully converged FermiNet-VMC.
Benzene
To further illustrate the power of our approach, we have examined the benzene molecule and a benzene dimer. Benzene is one of the most fundamental organic molecules with a hexagonal ring of C–H (Fig. 4a). There have been challenges in understanding its electronic configuration, bonding order and obtaining the ground state energy. To understand the electronic structure of benzene molecule, we performed FermiNet-based VMC and DMC simulations with 3-layer and 4-layer networks separately. Our best FermiNet-DMC result calculated with the 4-layer network coincides with the CCSD(T) result extrapolated to complete-basis-set (CBS) limit. The comparison is shown in Fig. 4d. The CCSD(T) result is carried out with Psi436 and the CBS result is extrapolated using cc-pCVXZ (X=3,4,5) basis, which is much larger than the ones reported in Johnson III.37 and used by others as the state-of-the-art electronic structure methods in Eriksen et al.38. The energy from our CCSD(T)/CBS calculation is also much lower than those references. See Supplementary Note 14 for more details on the CCSD(T) calculation and CBS extrapolation.
The 3-layer FermiNet here is much smaller than the 4-layer one. Besides being one layer shallower, the number of neurons on each layer is also significantly less. See Supplementary Tables 8–10 for the related hyperparameters. Figure 4d shows that the 3-layer FermiNet-DMC’s energy is lower than the 4-layer VMC result by around 10 mHa, which demonstrates one of the main benefits of FermiNet-DMC that it can achieve better accuracy with smaller network. This is especially important when we are dealing with large systems.
In our calculations, FermiNet-DMC is able to achieve lower variational energy results with an order of magnitude better efficiency. With a total of 4 × 105 QMC steps (2 × 105 VMC training steps and 2 × 105 DMC steps), the 3-layer FermiNet-DMC’s energy result (–232.225 Ha) is slightly better than the 4-layer FermiNet-VMC’s energy result (–232.223 Ha) at 106 VMC training step. Moreover, the runtime of a single VMC step for the 4-layer network is approximately 4 times that of a single VMC or DMC step for the 3-layer network under the same computation resources. Therefore, in this case, the 3-layer FermiNet-DMC can achieve a better energy result at only a tenth of the total computation cost compared to the 4-layer FermiNet-VMC. Similarly, compared to the 3-layer FermiNet-VMC at 2 × 106 VMC training step, the 3-layer FermiNet-DMC with 4 × 105 QMC steps can achieve more than 10 mHa better energy result at only a fifth of the total computation cost.
Furthermore, the energy difference between the FermiNet-DMC results in Fig. 4d is only around 3 to 4 mHa, suggesting the closeness between the node structure of the two trial wavefunctions. To confirm this statement, we visualized 2-dimensional slices of those trial wavefunctions in Fig. 4b, c. The slices are generated by moving a single spin-up electron inside a two dimensional box while fixing all other electrons at representative positions suggested by Liu et al.39 and illustrated in Fig. 4a. See section “Nodal structure and wavefunction visualization” and Supplementary Note 11 for more visualization details. Comparing Fig. 4b (4-layer FermiNet VMC) and Fig. 4c (3-layer FermiNet), we find that the nodes, represented by the dark pixels, do share the same pattern. Moreover, the parts of nodal surface in lighter areas, namely with larger wavefunction value, are very close to each other in Fig. 4b, c, and they are the most important parts of nodal surface in the DMC process since walkers are more likely to visit its neighborhood. The closeness of those parts is consistent with the fact that the FermiNet-DMC energies are close.
To track how nodal surface evolves along the training process, we propose a divergence D(S, T) measuring the difference between two nodal surfaces S and T. The definition and algorithmic details are described in section “Divergence measuring nodal surface difference” and Supplementary Note 15, and the definition is also related to the intuition mentioned above that nodes in the neighborhood with larger wavefunction value are more important in the QMC calculation. For the 3-layer FermiNet, we calculated
where Sfinal and Sk are the nodal surface corresponding to the final VMC training step and the intermediate training steps k, respectively. The result is shown in Fig. 4e together with the VMC and DMC energy, where the trend of the divergence correlates well with energies. As a matter of fact, there is a linear relation between the divergence and DMC energy, as shown in Fig. 4f, indicating that the proposed divergence successfully captures the essential information of the difference between nodal surfaces. Here the divergence converges to around 0.005 instead of 0 because of the large learning rate used when training the 3-layer FermiNet for benzene.
We have also trained a neural network for a benzene dimer, which is a prototypical system to further test non-covalent interactions. Benzene dimer, which has 84 electrons in total, is a much larger system than the ones considered in previous neural network-based VMC works19–26. We elaborate the challenges and tricks dealing with large systems using FermiNet-based QMC methods in Supplementary Note 5. We consider a T-shaped structure with an edge-to-face arrangement, as illustrated in Fig. 5a, specifically the equilibrium configuration with a center-to-center distance of 4.95 Å40. Figure 5a also shows the VMC and DMC energies as functions of the VMC training step, which are both over 200 mHa lower than the CCSD(T) result with cc-pCVTZ basis. The converged FermiNet-DMC energy is over 50 mHa lower than both FermiNet-VMC result and the CCSD(T) result with cc-pCVQZ basis. It echos statements made in above sections that FermiNet-DMC can achieve significantly higher accuracy for larger systems or cases where the neural network ansatz is not powerful enough to characterize the ground state wavefunction well. For comparison, the FermiNet-VMC energy has not fully converged even after four million training steps. Schätzle et al.41 shows that neural network-based VMC, in particular, PauliNet, can achieve variational energies at the fixed-node limit in certain circumstances, while in our calculations, one can clearly see that it is not the case for FermiNet especially when its expressive power is limited compared to the size of the system. On the other hand, our DMC result is 15 mHa higher than the CCSD(T)/CBS result. Note that CCSD(T) is not a variational method, hence the relatively lower CCSD(T)/CBS result may indicate similar accuracy compared to our DMC result. To achieve more accurate FermiNet-DMC result, we can use a better neural network trial wavefunction with a larger network or a better network architecture.
In addition to the total energy at the equilibrium configuration, binding energy is also of great interest when studying a benzene dimer40,42–45, and classical methods, such as CCSD(T) and MP2, can produce results agreeing with experimental data well. However, for neural network-based QMC, the binding energy calculation is more subtle and challenging due to the lack of systematic error cancellation. Using the same network structure handling both monomer and dimer would introduce additional size-inconsistency-like bias because of the more severe expressiveness limitation on benzene dimer than monomer. For the benzene dimer, we find such an estimate would predict a severe underbinding with both VMC and DMC. Another way to estimate the binding energy is to take the difference between a separated dimer configuration (10 Å)43 and the equilibrium configuration, shown in Fig. 5b, which turns out to be systematically overbinding. With an empirical linear relation between VMC and DMC energy in the training process, we developed a simple VMC-DMC hybrid extrapolation scheme, which leads to an accurate estimate of the binding energy, well-agreed with the experimental measurements46, also displayed in Fig. 5b. We will elaborate more on this extrapolation scheme in section “Linear relation between VMC-DMC energy”. In order to systematically improve the binding energy calculation, the most straightforward way is to adopt better neural network ansatz as the trial wavefunction for better accuracy. Adding regularization mechanism in the optimization processes is another possible option so that the model variance can be reduced for better error cancellation. Note that in the case of DMC with pseudopotential, binding energy calculation can be also improved with certain deterministic approximation47. We will leave it as a future study apply those ideas to improve the binding energy calculation.
Linear relation between VMC-DMC energy
Quite consistently, we find linear relation between VMC and DMC energies in our calculation. We have encountered two types of linear relation. One is about intermediate energies calculated along the training process for a given system, while another one is about the converged energies from different systems. We take advantage of the first type of linearity and develop a simple but effective extrapolation scheme accordingly.
We find that, for molecular systems, such as cyclobutadiene, benzene monomer and dimers, there’s a linear trend between the VMC and DMC energies calculated at different steps along the VMC training process. Equivalently, there’s a linear relation between quantities
where and represent the VMC and DMC energy calculated at VMC training step k, and Efinal is the DMC energy at the final VMC training step, namely a constant for one training process. Such relation is shown in Fig. 5c. Based on this empirical linear relation, we propose an extrapolation scheme
1 |
where Eex is the extrapolated energy, and w and b are two parameters to be determined. Here slope w can be fitted using and along the training process, but the intercept b cannot be inferred from those data. Therefore, it is difficult to use this scheme to extrapolate absolute energy unless we have extra information on intercept b. On the other hand, when calculating relative energy, we may simply assume the intercept b between different configurations are the same so that it can be canceled out in the calculation. Namely for relative energy, we have
2 |
Note that the calculation of relative energy is especially troublesome for neural network-based QMC methods, due to the strong dependence on the number of training steps and the long converging period. See Supplementary Fig. 8b for how binding energies calculated with FermiNet VMC and DMC change along the optimization process. With our scheme, the binding energy results calculated from different VMC training steps would be the same, modulo the fitting error of the linear relation, which means we can circumvent the dependence of the binding energy result on the number of training steps. In practice, the extrapolated binding energies form a well concentrated distribution, and doing an extra average using different VMC training steps can eliminate the linear fitting error and provide an accurate estimate. Moreover, it also suggests that we can calculate the extrapolated binding energy with data collected in the early phase of the training process, avoiding the long converging period of VMC optimization.
Applying this scheme to binding energy calculation of a benzene dimer, the result is significantly improved and the distribution fitted from energy difference of different VMC training steps is concentrated around the experimental range, as shown in Fig. 5b. The estimate of extrapolated binding energy by averaging the energy difference is 3.60 mHa, within the experimental range. See Supplementary Note 13 for more extrapolation-related details for benzene dimer.
We have discussed the relation of VMC and DMC energy for elements on the second and third rows in section “Single atoms”. For each atom, we have a reference energy data Eexact to be compared with converged VMC energy (EVMC) and DMC energy (EDMC). As shown in Fig. 2e, both EDMC − Eexact and EVMC − Eexact grow linearly as the atomic number increases, though the slope changes when switching from the second row elements to the third row. However, if we instead compare
then we have a single linear relation across all elements on both second and third rows, as shown in Fig. 5d.
Interestingly, the slope of fitted lines in both Fig. 5c and d are all quite close. We will leave further study on those two types of linearity as future work.
Discussion
FermiNet-DMC is able to achieve accurate ab initio calculations for various systems, obtaining ground state of 16 atoms, N2 along the bonding curve, 2 cyclobutadiene configurations, 10 hydrogen bonded water dimers, benzene monomer and dimer. These systems include bond breaking structures where strong static correlation exists and weakly bonded dimers where dynamic correlation dominates, and FermiNet-DMC performs consistently well. FermiNet-DMC leverages the expressive power of neural network to provide well-behaved trial wavefunctions. Neural network-based VMC has claimed success in small systems when the network can be sufficiently trained. However, it is not able to provide satisfactory ground state wavefunction and energy when the expressiveness of the neural network is limited. Compared to VMC, the combination of neural network with DMC provides a powerful solution, in the sense that it can achieve more accurate result with simpler network and better efficiency. The improvement of FermiNet-DMC in efficiency can be up to 1 or 2 orders of magnitude in the large systems tested in order to reach the same accuracy level as FermiNet-VMC, which can become increasingly more important when dealing with even larger molecules.
There is an interesting linear relation between VMC and DMC energy observed during the training process as well as across different systems. We develop an extrapolation scheme accordingly, which greatly improves the accuracy of relative energy calculation as shown in the benzene dimer case and overcome the issue that the relative energy calculation greatly depends on the different training steps in the QMC process. We also design a divergence measuring the difference between nodal surfaces of two wavefunctions, which correlates well with the corresponding DMC energies in numerical experiments. Namely the proposed divergence successfully captures the essence of nodal surface differences.
It is worth pointing out that a similar idea to this work was proposed in a preprint by Wilson et al., where they have performed preliminary tests on the second row elements31. However, only minor improvements in accuracy were observed accompanied by an increased cost of DMC, since the FermiNet used there was powerful enough to achieve high accuracy for the tested small systems and leave little room for further improvement. By comparison, our approach, being more sophisticated and efficient, achieves significant accuracy boost when dealing with more challenging molecular systems, which FermiNet alone cannot handle well. We have also shown that even for small systems, FermiNet-DMC should still be preferred for the fact that it can achieve comparable or even better accuracy with a smaller network and much less computation resources compared with FermiNet-VMC. Our work, therefore, eliminates the negative concerns of going from VMC to DMC with neural network wavefunction ansatz. Moreover, the DMC method can be further integrated with other powerful molecular neural networks22,25, periodic neural network for solids48, neural networks with effective core potential49, which has the potential to catalyze a paradigm shift in the application of stochastic electronic structure methods.
Methods
Basic theory
To study a many-body system from first principles, we always consider solving the well-known Schrödinger equation for electrons and nuclei. When we work in the Born-Oppenheimer approximation50, and further consider a fixed set of nuclear positions, the problem is simplified to the solution of the ground state many-electron wavefunction.
3 |
where xi = (ri, σi) denotes the spatial and spin coordinates of electron i, and RI, ZI, respectively, denote the spatial coordinates and the charge of nucleus I. The wavefunction of electrons obeys Fermi-Dirac statistics thus should be antisymmetric with respect to the interchange of both the spatial coordinates and the spins of any two electrons, namely the following equality of wavefunction should hold: ψ( ⋯ , xi, ⋯ , xj, ⋯ ) = − ψ( ⋯ , xj, ⋯ , xi, ⋯ ).
Unlike most methods that use variational principle to approach the ground state wavefunction, DMC is a stochastic projection method. A given antisymmetric wavefunction ψT can always be represented as a linear combination of a set of eigenfunctions ψk of the corresponding Hamiltonian operator,
4 |
When an imaginary-time evolution operator acts on ψT,
5 |
where ET is the trial energy as an offset, there will be a decay coefficient added to each expansion term, and the decay rate is proportional to state energy Ek. After a long enough imaginary-time evolution, ψT can reach the ground state ψ0, whereas contributions from all other eigenfuntions vanish. If we define a time-dependent wavefunction and look at the imaginary-time Schrödinger equation:
6 |
Without the potential energy terms, it resembles a standard diffusion equation,
7 |
The diffusion equation defines the master equation of stochastic processes, hence we can solve the diffusion equation of wavefunction by simulating the stochastic processes51. With potential terms, additional processes are required to bind the diffusion equation in simulation (see, e.g., refs. 16,52,53 for more details).
Trial wavefunction
In this work, we use FermiNet neural network ansatz as our trial wavefunction. Due to the huge number of parameters, it is challenging to converge the training process of FermiNet unless the system is small enough. After many tests, we identified a common training pattern of FermiNet, which consists of two stages: a relatively short sharp-adjustment stage and a lengthy fine-tuning one. We propose to use the FermiNet wavefunction right after the sharp-adjustment stage as the trial wavefunction in DMC, which maximizes the efficiency of the entire simulation protocol. In this way we can also achieve more accurate results than a better converged FermiNet model after the lengthy fine-tuning stage. Comparing to the gain, the cost of performing DMC on the long-trained FermiNet is rather minor in most of the systems tested.
DMC implementation
We have developed a GPU-friendly DMC software in JAX54, which can be seamlessly integrated with FermiNet27, developed in the same programming framework. Our DMC software can also be integrated with other trial wavefunctions implemented in JAX and it has been open sourced in order to accelerate further combination of QMC methods with neural networks. See Algorithm 1 for a brief workflow of one DMC iteration, beyond which various of modifications are implemented, including those proposed by Umrigar et al. to reduce time-step error52 and by Zen et al. to keep size consistency55.
Random walkers’ branching and merging change the total number of walkers, which cause efficiency issue for JAX program and is also not friendly to distributed computing especially when load balancing is involved. We devised a new branching-merging strategy to overcome these issues. Whenever we need to branch certain random walker due to its overly large weight, we also merge two walkers on the same computing node with the smallest weight. No merging is executed if no branching happens. In this way, we keep the number of walkers on each computing node unchanged. We did thorough numerical verification of this strategy and found that the introduced bias is negligible.
The most time-consuming module in our DMC implementation is to calculate the local energy. In our optimized program, the computational cost for each local energy estimation is almost same as a VMC inference step of the original FermiNet. Therefore, the total cost depends solely on the number of iterations performed in DMC and VMC.
Energy calculation
For FermiNet-VMC, we always perform a separate inference simulation for energy estimate, where we fix all the parameters of FermiNet after training and do a number of Markov Chain Monte Carlo (MCMC) steps to sample batches of random walkers accordingly. We calculate the average local energy for each batch, and use reblock analysis to determine the mean value of the set of averaged energy as well as the standard deviation. For FermiNet-DMC, we use the mixed estimator of energy52 and treat the first 10% of MC steps as the equilibrating phase and only use the steps afterwards for energy production. See Supplementary Tables 6–12 for the hyperparameters of all our calculations. We also use reblock analysis to determine the mean of the averaged energy and its standard error. In our plots, error bars represent one standard error for energy estimates, unless otherwise specified.
Algorithm 1
Simplified Diffusion Monte Carlo algorithm pseudocode.
Note that walkers in DMC are more auto-correlated than the ones in VMC inference phase especially when the time-step used in DMC is set to be small to avoid bias. Therefore, more batches of random walkers are needed to reduce the statistical error to a given level in DMC than in VMC. However in practice, we found that the number of the required extra batches of walkers in DMC is usually much fewer than the number of steps in VMC training phase for full convergence.
Nodal structure and wavefunction visualization
The three-dimensional cuts of the full 11D nodal structure of Be in Fig. 2b–d is plotted according to the rules of Bressanini et al.28. The four electrons’ spherical coordinates are respectively
fixing all the degrees of freedom except r1, θ1 and r3. The green surfaces in the plots show the nodal surfaces, i.e., the places where the value of wavefunction is zero.
To visualize the nodal surface of benzene, we calculated the wavefunction value on 2-dimensional slices of the 126-dimensional space. We first fixed a 126-dimensional electron configuration at the representative position of benzene electronic structure from Liu et al.39, and perturb it slightly for the visualization purpose. To construct one slice of the 126-dimensional space, we move a single spin-up electron in a 2-dimensional square with all other 41 electrons fixed. Then we apply FermiNet to points on each slice and display the log-scaled magnitude of the evaluated wavefunction value, where the points with small value stand for the nodes on each slice. Since the FermiNet output is unnormalized, diagrams for different FermiNet may have drastically different range of displayed value.
Divergence measuring nodal surface difference
We define a divergence measuring the difference between two sets S1 and S2 in any metric space as follows
8 |
where P1 is a probability measure on S1, and are sampled from P1. The distance d(Y, S) between a single point Y and a set S is defined as the smallest distance between Y and any point in S, namely
9 |
For a nodal surface S corresponding to an unnormalized wavefunction Ψ, we would like to define a measure on S such that a small area on S is assigned larger weight if its neighborhood has larger Ψ2 value, namely larger probability to be visited by walkers in DMC. Therefore, we consider a neighborhood
10 |
around S and a mapping
then “push forward" the probability density (corresponding to Ψ2) from Sϵ to S via ϕ, namely
11 |
Intuitively, for any point y in Sϵ we may simply choose ϕ(y) to be the point on N that is closest to y.
However, it’s quite difficult to determine both Sϵ and ϕ mentioned above algorithmically, and thus, in practice, we use some approximate alternatives that are much easier to compute. See Supplementary Note 15 for the algorithmic detail.
Supplementary information
Acknowledgements
This work is directed and supported by Hang Li and ByteDance Research. We thank Yubing Qian for providing preliminary settings for water dimer simulations. We thank Weinan E, Xiang Li, Kai Zheng, Ke Liao, and Yu Liu for fruitful discussions. We thank Mike Entwistle and James Spencer for sharing data and results. We thank Michel Caffarel for allowing us to use an adapted version of the figure on his website. We thank Shaochen Shi, Xiaoying Jia, Xin Liu, and Chenlin Chai for engineering improvement on our DMC software. We thank the rest of ByteDance Research team for inspiration and encouragement. J.C. is supported by the National Key R&D Program of China under Grant No. 2021YFA1400500, the National Natural Science Foundation of China under Grant No. 92165101 and No. 11974024, and the Strategic Priority Research Program of Chinese Academy of Sciences under Grant No. XDB33000000.
Author contributions
W.R. and J.C. conceived the study; W.R. implemented the main code with important contributions from W.F.; W.R. and W.F. performed simulations, data analyses, and figure designing. X.W. performed CCSD(T) related calculation. J.C. supervised the project. W.R., W.F., X.W., and J.C. wrote the paper.
Peer review
Peer review information
Nature Communications thanks the anonymous reviewers for their contribution to the peer review of this work.
Data availability
All data supporting the findings of this study are provided in Supplementary Information.
Code availability
We have released our DMC software at https://github.com/bytedance/jaqmc.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
These authors contributed equally: Weiluo Ren, Weizhong Fu.
Contributor Information
Weiluo Ren, Email: renweiluo@bytedance.com.
Ji Chen, Email: ji.chen@pku.edu.cn.
Supplementary information
The online version contains supplementary material available at 10.1038/s41467-023-37609-3.
References
- 1.Pople JA. Nobel lecture: quantum chemical models. Rev. Mod. Phys. 1999;71:1267. doi: 10.1103/RevModPhys.71.1267. [DOI] [PubMed] [Google Scholar]
- 2.Kohn W. Nobel lecture: electronic structure of matter—wave functions and density functionals. Rev. Mod. Phys. 1999;71:1253. doi: 10.1103/RevModPhys.71.1253. [DOI] [Google Scholar]
- 3.Helgaker T, et al. Recent advances in wave function-based methods of molecular-property calculations. Chem. Rev. 2012;112:543. doi: 10.1021/cr2002239. [DOI] [PubMed] [Google Scholar]
- 4.Cao Y, et al. Quantum chemistry in the age of quantum computing. Chem. Rev. 2019;119:10856. doi: 10.1021/acs.chemrev.8b00803. [DOI] [PubMed] [Google Scholar]
- 5.Kirkpatrick J, et al. Pushing the frontiers of density functionals by solving the fractional electron problem. Science. 2021;374:1385. doi: 10.1126/science.abj6511. [DOI] [PubMed] [Google Scholar]
- 6.Brandenburg JG, Zen A, Alfé D, Michaelides A. Interaction between water and carbon nanostructures: How good are current density functional approximations? J. Chem. Phys. 2019;151:164702. doi: 10.1063/1.5121370. [DOI] [PubMed] [Google Scholar]
- 7.Al-Hamdani YS, et al. Interactions between large molecules pose a puzzle for reference quantum mechanical methods. Nat. Commun. 2021;12:1. doi: 10.1038/s41467-021-24119-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Eriksen JJ, et al. The ground state electronic energy of benzene. J. Phys. Chem. Lett. 2020;11:8922. doi: 10.1021/acs.jpclett.0c02621. [DOI] [PubMed] [Google Scholar]
- 9.Williams KT, et al. Direct comparison of many-body methods for realistic electronic Hamiltonians. Phys. Rev. X. 2020;10:011041. [Google Scholar]
- 10.Booth GH, Thom AJ, Alavi A. Fermion monte carlo without fixed nodes: a game of life, death, and annihilation in slater determinant space. J. Chem. Phys. 2009;131:054106. doi: 10.1063/1.3193710. [DOI] [PubMed] [Google Scholar]
- 11.Umrigar CJ, Toulouse J, Filippi C, Sorella S, Hennig RG. Alleviation of the fermion-sign problem by optimization of many-body wave functions. Phys. Rev. Lett. 2007;98:110201. doi: 10.1103/PhysRevLett.98.110201. [DOI] [PubMed] [Google Scholar]
- 12.Kent PRC, et al. QMCPACK: advances in the development, efficiency, and application of auxiliary field and real-space variational and diffusion quantum Monte Carlo. J. Chem. Phys. 2020;152:174105. doi: 10.1063/5.0004860. [DOI] [PubMed] [Google Scholar]
- 13.Needs RJ, Towler MD, Drummond ND, López Ríos P, Trail JR. Variational and diffusion quantum Monte Carlo calculations with the CASINO code. J. Chem. Phys. 2020;152:154106. doi: 10.1063/1.5144288. [DOI] [PubMed] [Google Scholar]
- 14.Anderson JB. A random-walk simulation of the schrödinger equation: H J. Chem. Phys. 1975;63:1499. doi: 10.1063/1.431514. [DOI] [Google Scholar]
- 15.Anderson JB. Quantum chemistry by random walk. , J. Chem. Phys. 1976;65:4121. doi: 10.1063/1.432868. [DOI] [Google Scholar]
- 16.Foulkes WMC, Mitas L, Needs RJ, Rajagopal G. Quantum Monte Carlo simulations of solids. Rev. Modern Phys. 2001;73:33. doi: 10.1103/RevModPhys.73.33. [DOI] [Google Scholar]
- 17.Bajdich M, Mitas L, Wagner LK, Schmidt KE. Pfaffian pairing and backflow wavefunctions for electronic structure quantum monte carlo methods. Phys. Rev. B. 2008;77:115112. doi: 10.1103/PhysRevB.77.115112. [DOI] [PubMed] [Google Scholar]
- 18.López Ríos P, Ma A, Drummond ND, Towler MD, Needs RJ. Inhomogeneous backflow transformations in quantum monte carlo calculations. Phys. Rev. E. 2006;74:066701. doi: 10.1103/PhysRevE.74.066701. [DOI] [PubMed] [Google Scholar]
- 19.Han J, Zhang L, E W. Solving many-electron schrödinger equation using deep neural networks. J. Comput. Phys. 2019;399:108929. doi: 10.1016/j.jcp.2019.108929. [DOI] [Google Scholar]
- 20.Pfau D, Spencer JS, Matthews AG, Foulkes WMC. Ab-initio solution of the many-electron schrödinger equation with deep neural networks. Phys. Rev. Res. 2020;2:033429. doi: 10.1103/PhysRevResearch.2.033429. [DOI] [Google Scholar]
- 21.Spencer, J. S., Pfau, D., Botev, A. & Foulkes, W. M. C. Better, faster fermionic neural networks. https://arxiv.org/abs/2011.07125 (2020).
- 22.Hermann J, Schätzle Z, Noé F. Deep-neural-network solution of the electronic Schrödinger equation. Nat. Chem. 2020;12:891. doi: 10.1038/s41557-020-0544-y. [DOI] [PubMed] [Google Scholar]
- 23.Entwistle, M., Schätzle, Z., Erdman, P. A., Hermann, J., & Noé, F. Electronic excited states in deep variational Monte Carlo. Nat. Commun. 14, 274 (2023). [DOI] [PMC free article] [PubMed]
- 24.Lin, J., Goldshlager, G., & Lin, L. Explicitly antisymmetrized neural network layers for variational monte carlo simulation. J. Comput. Phys. 474, 111765 (2023).
- 25.Scherbela, M., Reisenhofer, R., Gerard, L., Marquetand, P., & Grohs, P. Solving the electronic schrödinger equation for multiple nuclear geometries with weight-sharing deep neural networks. Nat. Comput. Sci. 10.1038/s43588-022-00228-x (2022). [DOI] [PubMed]
- 26.Gao, N. & Günnemann, S. Ab-initio potential energy surfaces by pairing GNNs with neural wave functions. https://arxiv.org/abs/2110.05064 (2021).
- 27.Spencer, J. S., Pfau, D. & FermiNet Contributors. FermiNet, http://github.com/deepmind/ferminet (2020).
- 28.Bressanini D. Implications of the two nodal domains conjecture for ground state fermionic wave functions. Phys. Rev. B. 2012;86:115120. doi: 10.1103/PhysRevB.86.115120. [DOI] [Google Scholar]
- 29.Le Roy RJ, Huang Y, Jary C. An accurate analytic potential function for ground-state n 2 from a direct-potential-fit analysis of spectroscopic data. J. Chem. Phys. 2006;125:164310. doi: 10.1063/1.2354502. [DOI] [PubMed] [Google Scholar]
- 30.Gdanitz RJ. Accurately solving the electronic schrödinger equation of atoms and molecules using explicitly correlated (r12-) mr-ci: the ground state potential energy curve of n2. Chem. Phys. Lett. 1998;283:253. doi: 10.1016/S0009-2614(97)01392-4. [DOI] [Google Scholar]
- 31.Wilson, M., Gao, N., Wudarski, F., Rieffel, E., & Tubman, N. M. Simulations of state-of-the-art fermionic neural network wave functions with diffusion Monte Carlo. https://arxiv.org/abs/2103.12570 (2021).
- 32.Smith BJ, Swanton DJ, Pople JA, Schaefer III HF, Radom L. Transition structures for the interchange of hydrogen atoms within the water dimer. J. Chem. Phys. 1990;92:1240. doi: 10.1063/1.458133. [DOI] [Google Scholar]
- 33.Gillan MJ, Alfé D, Michaelides A. Perspective: How good is DFT for water? J. Chem. Phys. 2016;144:130901. doi: 10.1063/1.4944633. [DOI] [PubMed] [Google Scholar]
- 34.Tschumper GS, et al. Anchoring the water dimer potential energy surface with explicitly correlated computations and focal point analyses. J. Chem. Phys. 2002;116:690. doi: 10.1063/1.1408302. [DOI] [Google Scholar]
- 35.Gillan M, Manby F, Towler M, Alfè D. Assessing the accuracy of quantum monte carlo and density functional theory for energetics of small water clusters. J. Chem. Phys. 2012;136:244105. doi: 10.1063/1.4730035. [DOI] [PubMed] [Google Scholar]
- 36.Smith DGA, et al. Psi4 1.4: Open-source software for high-throughput quantum chemistry. J. Chem. Phys. 2020;152:184108. doi: 10.1063/5.0006002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Johnson III, R. D. (ed.) NIST Computational Chemistry Comparison and Benchmark Database. NIST Standard Reference Database Number 101 (2021).
- 38.Eriksen JJ, et al. The ground state electronic energy of benzene. J Phys. Chem. Lett. 2020;11:8922. doi: 10.1021/acs.jpclett.0c02621. [DOI] [PubMed] [Google Scholar]
- 39.Liu Y, Kilby P, Frankcombe TJ, Schmidt TW. The electronic structure of benzene from a tiling of the correlated 126-dimensional wavefunction. Nat. Commun. 2020;11:1210. doi: 10.1038/s41467-020-15039-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Pitonak M, et al. Benzene dimer: high-level wave function and density functional theory calculations. J. Chem. Theory Comput. 2008;4:1829. doi: 10.1021/ct800229h. [DOI] [PubMed] [Google Scholar]
- 41.Schätzle Z, Hermann J, Noé F. Convergence to the fixed-node limit in deep variational Monte Carlo. J. Chem. Phys. 2021;154:124108. doi: 10.1063/5.0032836. [DOI] [PubMed] [Google Scholar]
- 42.Al-Hamdani YS, et al. Interactions between large molecules pose a puzzle for reference quantum mechanical methods. Nat. Commun. 2021;12:3927. doi: 10.1038/s41467-021-24119-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Azadi S, Cohen R. Chemical accuracy from quantum monte carlo for the benzene dimer. J. Chem. Phys. 2015;143:104301. doi: 10.1063/1.4930137. [DOI] [PubMed] [Google Scholar]
- 44.Tsuzuki S, Honda K, Uchimaru T, Mikami M, Tanabe K. Origin of attraction and directionality of the π/π interaction: model chemistry calculations of benzene dimer interaction. J. Am. Chem. Soc. 2002;124:104. doi: 10.1021/ja0105212. [DOI] [PubMed] [Google Scholar]
- 45.Sinnokrot MO, Valeev EF, Sherrill CD. Estimates of the ab initio limit for π-π interactions: the benzene dimer. J. Am. Chem. Soc. 2002;124:10887. doi: 10.1021/ja025896h. [DOI] [PubMed] [Google Scholar]
- 46.Grover JR, Walters EA, Hui ET. Dissociation energies of the benzene dimer and dimer cation. J. Phys. Chem. 1987;91:3233. doi: 10.1021/j100296a026. [DOI] [Google Scholar]
- 47.Zen A, Brandenburg JG, Michaelides A, Alfè D. A new scheme for fixed node diffusion quantum monte carlo with pseudopotentials: improving reproducibility and reducing the trial-wave-function bias. J. Chem. Phys. 2019;151:134105. doi: 10.1063/1.5119729. [DOI] [PubMed] [Google Scholar]
- 48.Li X, Li Z, Chen J. Ab initio calculation of real solids via neural network ansatz. Nat. Commun. 2022;13:7895. doi: 10.1038/s41467-022-35627-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Li X, Fan C, Ren W, Chen J. Fermionic neural network with effective core potential. Phys. Rev. Res. 2022;4:013021. doi: 10.1103/PhysRevResearch.4.013021. [DOI] [Google Scholar]
- 50.Born M, Oppenheimer R. Zur quantentheorie der molekeln. Annalen der Physik. 1927;389:457. doi: 10.1002/andp.19273892002. [DOI] [Google Scholar]
- 51.Karlin, S. & Taylor, H. E. A Second Course in Stochastic Processes (Elsevier, 1981).
- 52.Umrigar C, Nightingale M, Runge K. A diffusion monte carlo algorithm with very small time-step errors. J. Chem. Phys. 1993;99:2865. doi: 10.1063/1.465195. [DOI] [Google Scholar]
- 53.Reynolds PJ, Tobochnik J, Gould H. Diffusion quantum monte carlo. Comput. Phys. 1990;4:662. doi: 10.1063/1.4822960. [DOI] [Google Scholar]
- 54.Bradbury, J. et al. JAX: Composable Transformations of Python+NumPy Programs. https://news.ycombinator.com/from?site=github.com/google (2018).
- 55.Zen A, Sorella S, Gillan MJ, Michaelides A, Alfe D. Boosting the accuracy and speed of quantum monte carlo: size consistency and time step. Phys. Rev. B. 2016;93:241118. doi: 10.1103/PhysRevB.93.241118. [DOI] [Google Scholar]
- 56.Caffarel, M. Quantum Monte Carlo for Chemistry Toulouse.http://qmcchem.ups-tlse.fr/index.php/Quantum_Monte_Carlo_for_Chemistry_@_Toulouse/ (2009).
- 57.Chakravorty SJ, Gwaltney SR, Davidson ER, Parpia FA, p Fischer CF. Ground-state correlation energies for atomic ions with 3 to 18 electrons. Phys. Rev.A. 1993;47:3649. doi: 10.1103/PhysRevA.47.3649. [DOI] [PubMed] [Google Scholar]
- 58.Lyakh DI, Musiał M, Lotrich VF, Bartlett RJ. Multireference nature of chemistry: the coupled-cluster view. Chem. Rev. 2012;112:182. doi: 10.1021/cr2001417. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
All data supporting the findings of this study are provided in Supplementary Information.
We have released our DMC software at https://github.com/bytedance/jaqmc.