A Blocked Linear Method for Optimizing Large Parameter Sets in Variational Monte Carlo
Luning Zhao, Eric Neuscamman

TL;DR
This paper introduces a memory-efficient modification to the linear method in variational Monte Carlo, enabling large parameter optimizations on modern supercomputers and demonstrating its effectiveness on molecular and condensed matter systems.
Contribution
A novel blocked linear method that significantly reduces memory requirements for large-scale variational Monte Carlo optimizations, compatible with excited state principles.
Findings
Reduces memory per process from tens of GB to hundreds of MB.
Successfully applied to small molecules with complex wave functions.
Integrated into QMCPACK for practical large-scale quantum simulations.
Abstract
We present a modification to variational Monte Carlo's linear method optimization scheme that addresses a critical memory bottleneck while maintaining compatibility with both the traditional ground state variational principle and our recently-introduced variational principle for excited states. For wave function ansatzes with tens of thousands of variables, our modification reduces the required memory per parallel process from tens of gigabytes to hundreds of megabytes, making the methodology a much better fit for modern supercomputer architectures in which data communication and per-process memory consumption are primary concerns. We verify the efficacy of the new optimization scheme in small molecule tests involving both the Hilbert space Jastrow antisymmetric geminal power ansatz and real space multi-Slater Jastrow expansions. Satisfied with its performance, we have added the…
| Energy (a.u.) | Error (eV) | Niter | |||||
|---|---|---|---|---|---|---|---|
| 1 | N/A | N/A | -109. | 089 | 0. | 00 | 18 |
| 4 | 1 | 1 | -109. | 088 | 0. | 04 | 19 |
| 4 | 5 | 1 | -109. | 088 | 0. | 04 | 21 |
| 8 | 1 | 1 | -109. | 087 | 0. | 08 | 29 |
| 8 | 5 | 1 | -109. | 087 | 0. | 08 | 19 |
| 16 | 1 | 1 | -109. | 086 | 0. | 09 | 38 |
| 16 | 5 | 1 | -109. | 086 | 0. | 09 | 24 |
| Energy (a.u.) | Error (eV) | Niter | |||||
|---|---|---|---|---|---|---|---|
| 1 | N/A | N/A | -76. | 109 | 0. | 00 | 8 |
| 2 | 5 | 1 | -76. | 108 | 0. | 04 | 10 |
| 4 | 1 | 1 | -76. | 106 | 0. | 08 | 11 |
| 4 | 3 | 1 | -76. | 106 | 0. | 09 | 11 |
| 4 | 5 | 1 | -76. | 106 | 0. | 08 | 11 |
| 8 | 1 | 1 | -76. | 103 | 0. | 16 | 9 |
| 8 | 1 | 2 | -76. | 104 | 0. | 13 | 10 |
| 8 | 1 | 4 | -76. | 107 | 0. | 06 | 13 |
| 8 | 3 | 1 | -76. | 104 | 0. | 13 | 12 |
| 8 | 3 | 2 | -76. | 106 | 0. | 08 | 12 |
| 8 | 3 | 4 | -76. | 106 | 0. | 08 | 11 |
| 8 | 5 | 1 | -76. | 107 | 0. | 07 | 12 |
| 8 | 5 | 2 | -76. | 106 | 0. | 08 | 13 |
| 8 | 5 | 4 | -76. | 108 | 0. | 04 | 12 |
| Energy (Hartree) | Error (eV) | Niter | |||||
|---|---|---|---|---|---|---|---|
| 1 | N/A | N/A | -75. | 834 | 0. | 00 | 8 |
| 4 | 1 | 1 | -75. | 834 | 0. | 01 | 8 |
| 8 | 1 | 1 | -75. | 833 | 0. | 03 | 10 |
| 16 | 1 | 1 | -75. | 833 | 0. | 01 | 11 |
| 50 | 1 | 1 | -75. | 832 | 0. | 04 | 10 |
| 100 | 1 | 1 | -75. | 827 | 0. | 18 | 12 |
| 100 | 5 | 1 | -75. | 831 | 0. | 08 | 11 |
| 100 | 5 | 5 | -75. | 832 | 0. | 04 | 10 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Chemical Physics Studies · Physics of Superconductivity and Magnetism · Machine Learning in Materials Science
A Blocked Linear Method for Optimizing Large Parameter Sets
in Variational Monte Carlo
Luning Zhao1
Eric Neuscamman1,2,
1Department of Chemistry, University of California, Berkeley, California 94720, USA
2Chemical Sciences Division, Lawrence Berkeley National Laboratory, Berkeley, California 94720, USA
Abstract
We present a modification to variational Monte Carlo’s linear method optimization scheme that addresses a critical memory bottleneck while maintaining compatibility with both the traditional ground state variational principle and our recently-introduced variational principle for excited states. For wave function ansatzes with tens of thousands of variables, our modification reduces the required memory per parallel process from tens of gigabytes to hundreds of megabytes, making the methodology a much better fit for modern supercomputer architectures in which data communication and per-process memory consumption are primary concerns. We verify the efficacy of the new optimization scheme in small molecule tests involving both the Hilbert space Jastrow antisymmetric geminal power ansatz and real space multi-Slater Jastrow expansions. Satisfied with its performance, we have added the optimizer to the QMCPACK software package, with which we demonstrate on a hydrogen ring a prototype approach for making systematically convergent, non-perturbative predictions of Mott-insulators’ optical band gaps.
I Introduction
In the ansatz-based approach to electronic structure theory, the capabilities of the method used to optimize the ansatz for a particular system are every bit as important as the flexibility of the ansatz itself. For example, both the coupled cluster Bartlett:2007:cc_rev and matrix product state Schollwock:2011gl ansatzes would be much less useful if we lacked the projected Schrödinger equation and density matrix renormalization group methods that allow us to optimize them efficiently. To address unsolved problems in electronic structure — such as catalytic cycles in which many bonds are simultaneously rearranged Yanai:2013:oec , double excitations in large -conjugated moleculesParac:2003:failure_tddft , and high-temperature superconductivity Subedi:2008:supercond ; zaanen:2015:high_tc — it is therefore essential that improvements to optimization methods be made alongside innovations in ansatz design.
In few areas is the need for improved optimization methods more pressing than in quantum Monte Carlo (QMC). Until very recently, optimization methods in this area were limited to a few thousand variational parameters when using a fully ab initio Hamiltonian, a constraint that holds back progress in a wide variety of areas. In fixed-node projector Monte Carlo methods such as diffusion Monte Carlo (DMC) Foulkes:2001:qmc_review ; Metropolis:2012:dmc ; Umrigar:2015:qmc , the inability to systematically converge the trial function’s nodal surface due to insufficiently flexible ansatzes is responsible for both the fixed node error and the pseudopotential locality error, the latter of which becomes acutely problematic in 3rd-row and heavier elements where the nonlocal part of the pseudopotential cannot be ignored. Even in variational Monte Carlo Foulkes:2001:qmc_review ; Umrigar:2015:qmc (VMC) itself, recent innovations in ansatz design create a pressing need for expanding the number of variational parameters that can be treated. Examples in this category include the variation after response approach to excited states Neuscamman:2016:var , efficient methods for large multi-Slater Jastrow (MSJ) expansions miguel:2011:table ; Scuseria:2012:msj , variational analogues of coupled cluster theory Zhao:2016:padccd , and wave function stenciling approaches Neuscamman:2016:subtractive ; Eric:2016:ScO ; Booth:2016:opt that tightly couple the optimization of correlation factors and molecular orbitals. For all of these reasons, and indeed for the simple reason of enabling systematic improvability within a given ansatz, improvements in VMC optimization capabilities are sorely needed.
The linear method Nightingale:2001:linear_method ; UmrTouFilSorHen-PRL-07 ; TouUmr-JCP-07 ; TouUmr-JCP-08 (LM) developed by Umrigar and coworkers is currently the most effective VMC optimizer for cases in which the number of variables is a few thousand or less. By solving a projected Schrödinger equation in the vector space spanned by the current wave function and its first parameter derivatives, a space we will refer to as the self-plus-tangent space, the LM produces update steps that account for second order couplings between variables and in practice often out-perform Newton-Raphson steps, a success due in no small part to the fact that these updates satisfy a strong zero variance principle TouUmr-JCP-07 ; TouUmr-JCP-08 . However, the traditional LM’s need to explicitly construct the Hamiltonian and overlap matrices in the self-plus-tangent space becomes cumbersome when the number of variational parameters exceeds a few thousand due to the large amounts of memory required to store these matrices. This issue becomes especially fraught when trying to match the LM to modern supercomputing resources, as each parallel Markov chain must make space for its own copies of these matrices (a tall order given typical per-core memory restrictions), which must then be communicated and combined prior to diagonalization. While one could use Krylov subspace methods to solve the eigenproblem without explicitly constructing the matrices, as was done for the related stochastic reconfiguration method Chan:2012:large_opt , our experience in practice has taught us that finding a preconditioning scheme capable of reducing the condition numbers of the LM matrices to manageable levels is not trivial. As far as we are aware, these various issues have prevented the LM from being used in regimes beyond about 16,000 variables, which occurred in the context of a ground state MSJ expansion for the water molecule miguel:2011:table .
Very recently, Booth and coworkers introduced an alternative VMC optimization method that takes advantage of optimal descent theory and a stochastic gradient evaluation in order to produce robust energy minimizations despite avoiding second-derivatives entirely Booth:2016:opt . Impressively, this method appears capable of handling more than 60,000 variational parameters for ansatzes that support efficient inner products with the Slater determinant basis functions of Fock space. However, as the method relies on having fast access to Hamiltonian matrix elements between basis functions, it is not immediately obvious how to extend it to the delta-function basis of real space where such matrix elements are ill-defined. Nonetheless, promising new directions in VMC optimization are a welcome development.
In the present study, we seek to retain the advantages of the traditional LM — which include Fock space and real space compatibility, robust convergence in a small number of iterations, and access to excited states through our recently introduced Eric:2016:dir_tar excited state variational principle — while reducing its memory footprint so as to facilitate larger variable sets and better compatibility with modern parallel computers. Our strategy will be to separate the variable space into blocks, within each of which we estimate a small number of important update directions that can then be used to construct a relatively small LM eigenproblem in the overall basis of important directions. We will demonstrate that this approach drastically reduces memory requirements without significantly affecting the accuracy of the optimization. In addition to tests on small molecules using our in-house Hilbert space software, we will use the implementation that we recently contributed to the open-source QMCPACK software package qmcpack_1 ; qmcpack_2 to demonstrate this method’s excited state capabilities in the context of a hydrogen ring’s Mott-like metal-insulator transition. By evaluating the optical gap for a series of increasingly flexible MSJ expansions, the largest of which contains over 25,000 variational parameters, this study points the way towards a systematically convergent and non-perturbative approach to predicting optical gaps in the Mott-insulating regimes of real materials.
II Theory
II.1 The Linear Method
The traditional LM works by repeatedly solving the Schrödinger equation in the self-plus-tangent subspace of the full Hilbert space, defined by the span of the wave function and its first derivatives with respect to its variational parameters. As the derivatives are not necessarily orthogonal to each other, this approach leads to a generalized eigenvalue problem
[TABLE]
where and are the derivatives of with respect to the th and th wave function parameters and , respectively, and . After solving this eigenvalue problem for , one updates the parameters by
[TABLE]
after which the updated will be a good approximation for the subspace eigenfunction so long as the updates are sufficiently small in magnitude. This requirement can be ensured by applying a diagonal shift to the Hamiltonian matrix TouUmr-JCP-08 , which plays the same role as a trust radius would in a Newton-Raphson optimization. The updated ansatz in hand, a new self-plus-tangent space may be constructed and the procedure repeated until convergence is reached.
In practice, the Hamiltonian and overlap matrix elements are estimated via Monte Carlo sampling,
[TABLE]
where is a set of samples drawn from the probability distribution (which is typically chosen as ) using Markov chain Monte Carlo. Note that although we have depicted the sampling as running over occupation-number-vector-labeled determinants in Fock space, the LM is equally viable if instead the sampling is carried out in real space, where is typically chosen to be . The LM will thus be efficient (i.e. polynomial cost) for ansatzes that support the efficient evaluation of the derivative ratios and , examples of which include MSJ expansions UmrTouFilSorHen-PRL-07 ; miguel:2011:table ; Scuseria:2012:msj , the Jastrow antisymmetric geminal power Sorella:2003:jagp ; Sorella:2009:jagp_molec ; Neuscamman:2013:hilbert_jagp (JAGP), and amplitude determinant coupled cluster with pairwise doubles Zhao:2016:padccd .
While the cost scaling may be polynomial with system size, the memory required to store the Hamiltonian and overlap matrices in the self-plus-tangent space can be a serious impediment to practical computation. For example, when using 8-byte floating point numbers and an ansatz with 30,000 variational parameters, the traditional LM requires 14.4 gigabytes of memory per Markov chain. Such storage requirements create problems with the typical parallelization scheme of running one Markov chain per core, as modern supercomputers typically have closer to 2 gigabytes of memory available per core.
One approach to circumventing matrix storage difficulties would be to use a Krylov subspace method to solve for without constructing the matrices explicitly. While this strategy has shown promise in the related stochastic reconfiguration method, where it succeeded in working with an ansatz containing half a million variables Chan:2012:large_opt , Krylov subspace methods are only efficient if the condition numbers of the matrices involved (the ratio of the magnitudes of their largest and smallest magnitude eigenvectors) can be brought close to unity through preconditioning. Although we have made some ad-hoc investigations into this area, we have not found preconditioners that can reliably reduce the condition numbers involved below about . While this does not preclude the existence of an effective preconditioning scheme, it does prompt us to investigate approaches, like the one in the next section, that remain effective even in the face of highly ill-conditioned matrices.
II.2 The Blocked Linear Method
Ultimately, the goal of the LM is to find the best update direction and step length within the tangent space of the wave function. Imagine instead holding half the variables fixed and inspecting the tangent space for the other half. The diagonalization of the linear method eigenproblem within this self-plus-half-tangent space will produce a set of update directions that can be ordered by importance, as measured by their eigenvalues, which inform us as to how much a move along an eigen-direction would decrease or increase the energy. Noting that the optimal direction in the full tangent space, whose dimension is the total number of variational parameters , can be written as a linear combination of orthogonal directions within one half-tangent space and orthogonal directions from the other half-tangent space, it seems intuitive that a very bad update direction in one of the half-tangent spaces is unlikely to be an important component of . Taken further, this logic suggests that it may be possible to construct a close approximation to using a linear combination of only a few update directions from each half-tangent space. In essence, the blocked linear method (BLM) is an attempt to systematically exploit this structure by (a) dividing the variable space into a number of blocks, (b) making intelligent estimates for which directions within those blocks will be most important for constructing , and (c) estimating by solving a smaller, more memory-efficient eigenproblem in the basis of these supposedly important block-wise directions.
Rather than the traditional LM’s expansion of the wave function in its self-plus-tangent space, consider instead the “one-block” expansion
[TABLE]
In the first two terms, we have a linear expansion of the wave function with respect to the variables belonging to the th block, with and the expansion coefficients, the number of variables in the block, and defined as the wave function derivative with respect to the th variable of the th block. If we drop the third term for now (i.e. set ), we have a wave function whose energy minimization
[TABLE]
leads to a generalized eigenvalue problem in the same form as for the traditional LM, Eq. (1), the only difference being that we are now holding the variables outside the chosen block fixed. (Note that while we will develop the discussion here in terms of energy minimization, the BLM is equally applicable to the target function used in the direct, variational targeting of excited states Eric:2016:dir_tar and has been implemented and tested for both cases). Each eigenvector will have its own values for the and coefficients and will correspond to an eigenvalue that gives an estimate for what the energy of our original wave function would be if we were to update this block’s variables according to . Thus, the eigenvalues of this block’s eigenproblem inform us as to which directions in its variable space are expected to be “good” update directions (those with the lowest eigenvalues) and which are expected to be “bad” directions (those with the highest eigenvalues).
Having performed this diagonalization within each of our blocks, we are now in a position to construct an approximation to the wave function in its full self-plus-tangent space by retaining from each variable block only a small number of what are expected to be the best update directions. By organizing the best update directions from the th block into the rows of a matrix , this self-plus-tangent space approximation can be written as
[TABLE]
As the elements of the matrices are now held fixed, this expansion is not as flexible as that of the traditional LM, but we hope the fact that it is built out of a linear combination of the best update directions from each block will give it the correct flexibility to closely approximate the optimal update direction in the full tangent space. This direction is now estimated via
[TABLE]
which again produces a generalized eigenvalue problem, this time of dimension , whose lowest energy eigenvector corresponds to the overall BLM update,
[TABLE]
Crucially, the Hamiltonian and overlap matrix elements involved in the eigenvalue problems that stem from Eqs. (5) and (7) can be estimated using the same information as in the traditional LM, namely the derivative ratios and , at each sampled configuration (or position in real space). While the most efficient way to construct these matrices now that the coefficients are known appears to be to re-run the same sample that was used to construct the block-specific matrices, we feel that this second sampling is a price worth paying in order to remove the traditional LM’s memory bottleneck.
So far, we have ignored the fact that inter-block variable couplings will affect which directions in a block are optimal for use in constructing an overall update direction. Accounting for such couplings is the purpose of the third term in Eq. (4), in which
[TABLE]
is a linear combination of wave function derivatives from the th block that is presumed to correspond to a good update direction for that block. By including a small number of these directions from each other block in the wave function expansion for the current block, we hope to provide the minimization
[TABLE]
which replaces that of Eq. (5) in the overall method outlined above, with the coupling information necessary so that the directions it contributes to are optimal with respect to both intra-block and inter-block variable couplings. While there are many possible choices for the linear combinations , we thought it natural to derive them from previous iterations’ BLM updates, following the idea that using previous update directions to inform the current direction is a common theme in numerical minimization, occurring for example in both the BFGS Nocedal:1980:lbfgs and accelerated descent Nesterov:1983:accel_descent methods. Specifically, for the th iteration of the BLM, we take as the th block’s component of the th iteration’s overall update, with . As our results will demonstrate, even relatively short history lengths can be beneficial in accounting for inter-block variable couplings and thereby recovering the performance of the traditional LM.
To understand the reduced memory footprint of the BLM, it is helpful to consult a visual guide to the structure of the Hamiltonian and overlap matrices resulting from Eq. (10). Figure 1 shows this structure for the Hamiltonian; the overlap matrix has an analogous structure. Noting that the different blocks’ eigenproblems can be solved independently, we can see that only one block’s matrices need to be fully constructed at a time, which greatly reduces memory requirements by allowing us to store one copy, rather than copies, of the blue elements in Figure 1. For the green elements, however, we must store copies simultaneously, so that each sampled configuration or can efficiently add its unique contribution to each of them. Nonetheless, storage requirements are much lower than in the traditional LM, whose Hamiltonian matrix contains elements. Although the precise formula for the BLM’s Hamiltonian storage requirement is more longwinded, the terms that dominate, and , are much smaller than the dominant term in the LM. Thus, if no previous updates are being used (i.e. ), the BLM reduces memory requirement by a factor of , and although the use of increases the BLM’s memory requirement somewhat, the savings remain substantial. For example, when using 8-byte floats and 30,000 variational parameters, the traditional LM requires 14.4 gigabytes of memory per process, while the BLM with and requires only 0.5 gigabytes per process.
III Results
III.1 Computational Details
JAGP results for N2 and H2O were obtained using Hilbert-space sampling via our own VMC software, which extracts one- and two-electron integrals from PySCF Pyscf_brief . MSJ results for C2 and the hydrogen ring were obtained using real-space sampling via QMCPACK qmcpack_1 ; qmcpack_2 , with configuration state functions (CSFs) taken from GAMESS gamess1 . For JAGP, we work exclusively in the symmetrically orthogonalized “” one particle basis. The VMC sample size is universally chosen as 2.4105, which produces statistical uncertainties whose standard deviations are less than 0.7 kcal/mol (0.03 eV) in all cases.
III.2 N2 and H2O with JAGP
We begin our numerical tests with the ground states of two small molecules, N2 and H2O, choosing the JAGP for our ansatz and performing VMC sampling in the second-quantized Hilbert-space of the 6-31G 6-31g orbital basis. These choices give us 408 and 273 nonlinear parameters to optimize in N2 and H2O, respectively, which are few enough so as to make direct comparisons to the traditional LM straightforward. Tables 1 and 2 show the results for various combinations of the number of blocks , previous update vectors , and retained block directions . The reported optimization error is defined as the difference in energy between the minimums found by the BLM and the traditional LM, the latter of which is denoted by in the tables.
The first observation to be made is that although small, errors with respect to the traditional LM are not zero. The likely explanation for this fact is that the BLM update direction, like that of the traditional LM, is a nonlinear function of the random variables drawn by our Markov chains. Unlike linear functions of random variables that have statistical uncertainty but no systematic bias, nonlinear functions produce a systematic bias, albeit one that can in principle be mitigated by increasing the sample size. We suspect that our 2-step process of first diagonalizing block-wise eigenproblems before constructing and diagonalizing one overall eigenproblem, which we note uses the same VMC sample for both steps, is essentially more nonlinear than the traditional method’s 1-step process. In other words, both the BLM and LM should be expected to converge to a point in variable space that is slightly off-center from the true minimum due to systematic bias, but we expect the BLM to be more off-center due to its additional nonlinearities. Indeed, we have verified that the two methods converge to the same minimum in the limit of infinite sampling, and as can be seen in the results, differences for finite sample lengths are modest and decrease as we retain more directions from each block.
The second observation is that the error behaves as expected for different values of , , and . Increasing the number of blocks , which makes it harder to account for second-order couplings between variables when choosing update directions, increases the deviation from the traditional LM. Also as expected, increasing and tends to decrease the deviation. As hypothesized in the motivation for the BLM, only modest values of and are required to produce close approximations to the optimal update direction, and so mitigating deviations from the traditional LM is not difficult. Finally, we note that although the BLM typically requires more iterations to converge, the convergence speed remains similar to the traditional LM, especially when taking advantage of both multiple directions per block and some number of previous update directions.
III.3 C2 with MSJ
We next switch from sampling in Fock space to sampling in real space, with Table 3 giving results for the ground state of C2 as modeled by a MSJ ansatz containing 1,100 CSFs and 30 spline-based Jastrow variables. To construct our CSF expansion, we began with a GAMESS optimization of an (8,8) complete active space self-consistent field (CASSCF) ansatz in the cc-pVTZ basis cc-pvdz . The 1,100 largest-coefficient CSFs were then selected from a single-reference configuration interaction calculation including up to quadruples (CISDTQ) performed in the optimized CASSCF orbital basis. As before, we see that increasing the number of blocks eventually results in a significant deviation from the traditional LM energy, which is then reduced by increasing the number of old updates used and the number of directions retained from each block. Again, while larger, the number of iterations required to converge the BLM was similar to that for the traditional LM.
III.4 The H16 Hydrogen Ring
Having tested our method in settings where it can be easily checked against the traditional LM, we now turn our attention to the metal-insulator transition in a 16-atom hydrogen ring, where we will use the BLM in conjunction with our excited state targeting method Eric:2016:dir_tar to systematically converge the post-transition optical gap via a series of increasingly large MSJ expansions. Closely related hydrogen chains have been the subject of much attention Chan:2006:h_chain ; Gus:2009:h_chain ; sorella:2011:h_chain due to the Mott-like behavior of the metal-insulator transition that occurs as one enlarges the interatomic distance . As surpasses a certain critical distance , a large number of natural orbitals become degenerate as the electrons transition out of the weakly correlated metallic state and into the strongly correlated and more localized Mott-insulator state.
Using JAGP approximations for the ground state of the 1D chain, Sorrela and coworkers sorella:2011:h_chain located by evaluating the complex polarization function Marzari:2005:z
[TABLE]
where is the component of parallel to the chain axis. The modulus of can be thought of as a measurement of insulating behavior: as electrons localize about the nuclei, as occurs in the insulating phase, while as the electrons become fully delocalized, as occurs in the metallic phase. As we are studying a hydrogen ring instead of a periodic chain, we find it appropriate to instead define the complex polarization function as
[TABLE]
where is the angle around the ring for the th electron’s position. As for the chain, fully localized versus delocalized behavior in the ring will lead to the and limits, respectively.
In addition to probing the locality of its physics, theoretical methods can also offer predictions about an insulator’s optical gap. Although this gap was not accessible in the ground-state work of Sorella, the BLM can directly target an excited state by minimizing the function , which, when the energy shift is placed inside the gap, will have the first excited state as its global minimum Eric:2016:dir_tar . As this excited state approximates the state at the bottom of the infinite ring’s conduction band, this approach represents a direct, many-body, non-perturbative, and systematically improvable route to estimating the optical gap of a solid. In this study, we will explore a simple prototype of this approach by converging the gap for the H16 ring by systematically increasing the number of CSFs included in a MSJ expansion. Although linear combinations of CSFs are not natural fits for the strongly correlated physics of a Mott transition and will thus require a large number of CSFs be employed, they do offer straightforward systematic improvability and anyways allows us to demonstrate that the BLM can handle the correspondingly large number of variational parameters.
To construct our MSJ expansion, we begin by using GAMESS to optimize a (6,6) state-average CASSCF ansatz in the cc-pVDZ basis cc-pvdz . We then perform a single-reference CISDTQ for each state, after which we truncate this expansion at different coefficient thresholds to produce a series of increasingly large CSF expansions. By combining these with QMCPACK’s standard spline-based, cusp-inducing - and - two-body Jastrow factors, we produce two sets of MSJ expansions, on each for the ground and excited state. Finally, choosing the value of that is appropriate for each state by adjusting it to find the overall minimum of the target function Eric:2016:dir_tar , we optimize both the CSF coefficients and Jastrow variables simultaneously using the BLM.
Figure 2 shows the norm of the complex polarization function as well as the optical gap estimate (defined as the difference between excited and ground state energies) as functions of interatomic distance for a coefficient truncation threshold of 0.01. As expected, both and the gap are zero for small , where previous studies have found hydrogen chains to be metallic. As increases, we see an abrupt change in that suggests that by , the ring has transitioned into an insulating state. Being a finite system, the energy gap does not open discontinuously, and we see instead a rapid rise in the gap until it reaches a plateau beyond , thus agreeing with as to the location of the transition.
To ensure we have accurately converged the size of the gap in the insulating plateau region, we have performed our analysis of systematically increasing CSF expansion sizes at , where we transition from (the traditional LM) to when the number of variables surpasses 5,000. Figure 3 shows the convergence behavior for the optimization of the largest MSJ expansions for both the ground and excited states, which involved 21,401 and 25,297 variational parameters, respectively. Note that, as is typical for the traditional LM, the BLM converges in a handful of iterations. It is also important to point out that the total computational cost for evaluating all of the data points in Figure 3 amounted to 8,000 core-hours using the 2.3 GHz Intel Xeon 12-core Haswell processors of Berkeley’s Savio computing cluster. Although this cost is not trivial, it is modest on the scale of modern parallel computation, giving ample room for this approach to be scaled up both to larger systems and larger variational parameter sets. Finally, in Figure 4, we show the convergence of the energy gap as the variational flexibility of the ansatz is increased, seeing clearly that, to within our statistical uncertainty, the gap has converged with respect to the addition of further CSFs into the wave function. Thus, by combining the direct optimization of ansatzes for the ground and conduction edge states with the ability to optimize the large number of parameters inherent to a systematic expansion of ansatz flexibility, we provide an example of how the optical gap of a Mott insulator may be converged with respect to the effects of strong, many-body correlations.
IV Conclusions
We have presented the blocked linear method, a wave function optimization method for variational Monte Carlo that addresses a crucial memory bottleneck in the highly successful traditional linear method. By dividing ansatz variables into blocks, finding important update directions in each block, and then combining these directions to find an overall update for the current wave function, our method minimizes either the energy or a function suitable for targeting excited states while avoiding both the construction of overly large matrices and any requirement that such matrices be well conditioned. In small molecule tests that employed multiple ansatz types and involved both real space and Hilbert space sampling, we showed that the method reproduces the results of the traditional linear method to a very good approximation.
In a demonstration of the method’s ability to optimize large variable sets, we showed that the optical gap of a Mott-insulating hydrogen ring could be systematically converged with respect to increasing flexibility in the ansatzes for the ground and conduction band edge states. Although there are many important concerns for real solids that did not appear in this example, such as obtaining molecular orbitals from a density functional starting guess, addressing finite size effects through twist averaging, and ensuring the simulation cell is sufficient to capture excitonic effects, these issues do not present fundamental barriers and indeed have been addressed in other contexts. We are therefore excited to explore the new opportunities that the blocked linear method creates in real solids and larger molecules, as well as further refinements in methodology to bring even larger sets of variational parameters within the reach of variational Monte Carlo.
V Acknowledgments
This work was supported by the U.S. Department of Energy, Office of Science, Basic Energy Sciences, Materials Sciences and Engineering Division, as part of the Computational Materials Sciences Program. Calculations were performed using the Berkeley Research Computing Savio cluster.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) R. J. Bartlett and M. Musial, Rev. Mod. Phys 79 , 291 (2007).
- 2(2) U. Schollwöck, Annals of Physics 326 , 96 (2011).
- 3(3) Y. Kurashige, G. K.-L. Chan, and T. Yanai, Nature Chemistry 5 , 660 (2013).
- 4(4) S. Grimme and M. Parac, Chem Phys Chem 4 , 292 (2003).
- 5(5) A. Subedi, L. Zhang, D. J. Singh, and M. H. Du, Phys. Rev. B 78 , 134514 (2008).
- 6(6) B. Keimer, S. A. Kivelson, M. R. Norman, S. Uchida, and J. Zaanen, Nature 518 , 179 (2015).
- 7(7) W. M. C. Foulkes, L. Mitas, R. J. Needs, and G. Rejagopal, Rev. Mod. Phys. 73 , 33 (2001).
- 8(8) N. Metropolis and S. Ulam, J. Am. Stat. Assoc. 44 , 335 (1949).
