Abstract
In the current noisy intermediate scale quantum era of quantum computation, available hardware is severely limited by both qubit count and noise levels, precluding the application of many current hybrid quantum-classical algorithms to nontrivial quantum chemistry problems. In this paper we propose applying some of the fundamental ideas of conventional Quantum Monte Carlo algorithms—stochastic sampling of both the wave function and the Hamiltonian—to quantum algorithms in order to significantly decrease quantum resource costs. In the context of an imaginary-time propagation based projective quantum eigensolver, we present a novel approach to estimating physical observables which can lead to an order of magnitude reduction in the required sampling of the quantum state to converge the ground state energy of a system relative to current state-of-the-art eigensolvers. The method can be equally applied to excited-state calculations and, combined with stochastic approximations of the system Hamiltonian, provides a promising near-term approach to Hamiltonian simulation for general chemistry on quantum devices.
1. Introduction
Electronic structure problems are hard for conventional computers, due to the exponential scaling of the Hilbert space with the physical size of the studied system. Quantum computers have been heralded as a solution to this problem,1,2 mainly due to their ability to use the quantum entanglement of their constituent qubits to encode even highly complex electronic wave functions in a linearly scaling qubit register. This promise has led to the development of a variety of quantum algorithms with applications in quantum chemistry, such as Hamiltonian simulation3−6 and Quantum Phase Estimation.7,8
However, while these techniques promise general solutions to many problems in quantum chemistry, they require many-qubit, fully fault-tolerant quantum computers to run. Currently we are in an era of Noisy Intermediate Scale Quantum (NISQ) hardware,9 which is characterized by moderate numbers (10–1000) of qubits prone to high error rates due to short coherence times and noisy gate implementations.10 While significant work is being carried out in the fields of quantum error correction11−14 and mitigation,15−18 the fully fault-tolerant quantum computer remains a thing of the future.
In order to make the most of currently available quantum resources, hybrid quantum-classical algorithms19−25 have been developed, which shift most of the computational overhead onto a classical processor, while requiring specific, highly efficient operations to be carried out by the quantum processor. The most well-known of these is the variational quantum eigensolver (VQE),20 in which some parametrized wave function is encoded on a quantum device and used to compute a cost function—usually the expectation value of a Hamiltonian operator. This is used in the classical optimization of the parameters. In quantum chemistry, this approach has been used to calculate ground-state energies of molecules and model systems.20,26,27
Since methods like VQE require estimating expectation values of quantum observables, despite making use of only moderately sized quantum circuits they require a large number of repeated quantum measurements to obtain sufficiently accurate estimators. This is due to the intrinsic noise associated with the measurement of a quantum observable. Significant work has gone into devising more efficient measurement schemes,28−31 which obtain lower variances for the same number of measurements.
In this paper, we approach the issue of decreasing quantum computational overhead of electronic structure problems by taking inspiration from conventional Quantum Monte Carlo (QMC) algorithms,32−34 which use noisy representations of the wave function and stochastic propagation techniques to obtain very high-accuracy results for challenging systems. In particular, we consider a projective quantum eigensolver (PQE)35 approach and propose an algorithm to estimate the energy during the propagation, which is found to require significantly fewer samples for the same accuracy as its conventional counterpart.
In a perfectly noiseless regime, the PQE algorithm converges smoothly to the ground state of a given Ansatz. However, in practice, it processes data obtained from finitely many samples of a distribution stored in a quantum device, which is intrinsically stochastic even when ignoring NISQ-era device noise. Achieving low enough uncertainty in this data to use it as if it were exact requires a large number of measurements. It is therefore compelling to employ instead an algorithm intended to operate on noisy measurements, such as QMC.
First, we establish a methodology to obtain accurate estimators for the ground state energy of a quantum system using relatively high-variance samples from an ongoing PQE propagation. We refer to this method as Monte Carlo PQE (MC-PQE). We then introduce additional stochastic approximations to further decrease quantum resource requirements. Stochastically rounding the wave function allows gates to be removed from the state preparation circuit, reducing its depth. The observables may also be estimated using a sampled subset of the Hamiltonian operator, lowering the number of independent measurements required. These techniques introduce additional noise into the algorithm, but we find this can be efficiently averaged out and, for a set of first row hydrides, show that the accuracy of the original algorithm can be recovered at significantly lower cost. Finally, we investigate the applicability of MC-PQE for excited states, using the folded-spectrum method,20,36,81 and find that, while convergence is somewhat more challenging, it can reduce the cost of an excited state calculation to that of the ground-state method. Given that the main drawback of the folded-spectrum method is its unfavorable scaling with system size, this is a very promising alternative.
In section 2 we present the underlying theory of quantum eigensolvers, conventional QMC methods, and the folded-spectrum approach which allows these algorithms to be expanded to excited state calculations. In section 3 we describe the quantum algorithm employed in this paper, together with circuit implementations and possible stochastic variations. Finally, in section 4 we apply these methods to a range of molecular systems and discuss their performance. We draw our final conclusions in section 5.
2. Background Theory
2.1. Variational Quantum Eigensolver
One of the principal NISQ algorithms for quantum chemistry is the variational quantum eigensolver (VQE).20 According to the variational principle, for a parametrized wave function Ψ(θ) that satisfies the boundary conditions of a problem with corresponding Hamiltonian Ĥ, the expectation value of the energy is greater than or equal to the ground state energy of the system E0,
| 1 |
Therefore, by minimizing ⟨E(θ)⟩ with respect to the set of parameters θ, one can obtain the best possible approximation of a given form to the ground state wave function. In VQE, the expectation value of the energy and any gradients used are computed by a quantum processor before being passed on to a classical optimization algorithm.
There are various considerations to be taken into account when choosing parametrized wave function Ansätze for VQE. Heuristic hardware efficient Ansätze (HEA)37 attempt to introduce many degrees of freedom while maintaining low circuit depths. However, optimization on the resulting landscapes is often difficult, as they are plagued by barren plateaus38,39—regions of parameter space in which the gradient vanishes exponentially with system size—that can prevent the optimization algorithm from converging to a true minimum. The propensity for a problem to display barren plateaus is dependent on a variety of system and algorithm properties40 and has been shown to be worse for more expressive Ansätze41 and higher degrees of entanglement.42 However, the intrinsic noise resulting from finite sampling of the quantum state can be helpful in improving optimization outcomes.43
Alternatively, one can use physically motivated Ansätze such as unitary coupled cluster (UCC),44−47 in which the wave function is expressed as
| 2 |
where |ϕ0⟩ is typically the Hartree–Fock wave function,
| 3 |
| 4 |
i is an index running over all determinants in the Hilbert space and âi and â†i are Fermionic excitation and de-excitation operators, respectively, such that âi|ϕ0⟩ = ±|ϕi⟩ and â†i|ϕi⟩ = ±|ϕ0⟩, with signs derived from the anticommutation relations of creation and annihilation operators. The cluster amplitudes ti are optimized to give an approximation of the ground state wave function. In principle, τ̂ can include up to all-electron (de)excitations, but it is common to truncate it to some low excitation order, most commonly including only up to two-electron operators, which gives the unitary coupled cluster singles and doubles (UCCSD) Ansatz. This type of Ansatz is generally found to be easier to optimize than HEAs but has its own challenges. In order to express the UCC operator in the set of gates available on most quantum computers, one generally has to perform a Trotter decomposition48,49 of the cluster operator,
| 5 |
where τ̂i = ti(âi – â†i) and we have rewritten the exponential in eq 2 as exp(T̂ – T̂†) = exp(∑i ti(âi – â†i)) = exp(∑i τ̂i). Usually, rather than working in the large ρ limit, ρ is taken to be unity, leading to a disentangled form of the UCC Ansatz. For the case of full UCC, this form has been found to be as expressive as the original algorithm in most circumstances, provided an appropriate operator ordering is used in the Trotter product.50
Because of this decomposition, UCC-based circuits often tend to be prohibitively deep for NISQ devices. Various alternative algorithms have been devised, that attempt to enforce some of the known physical properties of the wave function to generate easier to optimize energy functions, while maintaining a reduced circuit depth relative to UCC. Examples include symmetry preserving Ansätze,51−54 adaptive Ansätze,25,35,55,56 as well as methods like qubit coupled cluster (QCC)57−59 and Givens-rotation-based Ansätze,60 which do not employ Fermionic excitation operators.
2.2. Projective Quantum Eigensolver
As an alternative to variational algorithms, one can solve electronic structure problems using projective approaches. In classical settings, this technique is most commonly employed in solving the Coupled Cluster (CC) equations61,62 and Projector Monte Carlo (PMC) algorithms, which will be discussed in more detail in section 2.3.
Consider a trial wave function expressed as |Ψ⟩ = Û(θ)|ϕ0⟩, where |ϕ0⟩ is a simple reference wave function such as a Hartree–Fock (HF) determinant and Û(θ) is some parametrized unitary operator. If this were an exact ground-state solution to the Schrödinger equation, then
| 6 |
and
| 7 |
Projecting eq 7 onto the reference wave function |ϕ0⟩ gives
| 8 |
while projecting onto the complete set of |ϕi⟩ orthogonal to |ϕ0⟩ gives a set of quantities referred to as residuals
| 9 |
where the superscript l denotes that these residuals are obtained from the linked formalism of the unitary coupled cluster equations.63
If Û has fewer than NHilbert – 1 parameters, where NHilbert is the number of states in the Hilbert space, eq 9 can only be enforced for a subset of determinants. Solving eqs 8 and 9 for this subset to obtain values of the parameters in Û(θ) generates an approximation to the true ground state. This method is known as the Projective Quantum Eigensolver35 algorithm.
If Û is a UCC wave operator and |ϕ0⟩ is a single Slater determinant, eqs 8 and 9 can be solved using a quasi-Newton iterative scheme such as35
| 10 |
If |ϕi⟩ labels |ϕab...ij...⟩, with indices i, j, ... (a, b, ...) denoting orbitals occupied (unoccupied) in the reference determinant |ϕ0⟩, from (to) which electrons are excited, then the denominator Δi = Fii + Fjj + ... – Faa – Fbb – ..., where Fpp denotes diagonal elements of the Fock operator. If the HF determinant is used, then Δi = ϵi + ϵj + ... – ϵa – ϵb – ..., where ϵi are Hartree–Fock spin-orbital energies. The residuals rli can be computed using expectation values of equivalent cost as the overall energy, as either35
| 11 |
or equivalently64
| 12 |
where |Ωi(θ)⟩ = eθτ̂i|ϕ0⟩ = eθ(âi – â†i)|ϕ0⟩ = cos θ|ϕ0⟩ ± sin θ|ϕi⟩. The cost of PQE residuals is therefore comparable to that of VQE gradients computed using the parameter-shift rule, which also employs additional energy measurements to obtain the gradient elements.65−68
2.3. Quantum Monte Carlo
As mentioned above, one of the main uses of projective methods in conventional quantum chemistry is in PMC algorithms, which are based on the imaginary-time Schrödinger equation,
| 13 |
where β is imaginary time. The lowest-energy solution to eq 13, |Ψ0⟩, is given, up to a normalization constant, by
| 14 |
where |Ψ(0)⟩ is some initial trial wave function such that ⟨Ψ0|Ψ(0)⟩ ≠ 0 and E0 is the lowest eigenvalue of Ĥ. The time-evolution operator can also undergo a Trotter expansion, giving
| 15 |
where Δβ = β/n. For small Δβ, the exponential can be approximated by a linear expansion, leading to the form of the imaginary time propagator most commonly used in projector methods,
| 16 |
Considering a single time-step Δβ, one can write
| 17 |
which describes the stepwise imaginary time evolution of the trial wave function |Ψ⟩. As in PQE, this equation can be projected onto the various Slater determinants in the Hilbert space to give
| 18 |
In the original Full Configuration Interaction Quantum Monte Carlo (FCIQMC) algorithm,32 the wave function is parametrized as a linear expansion in all determinants in the Hilbert space, |Ψ⟩ = ∑i ci|ϕi⟩. Eq 18 can then be rewritten as
| 19 |
or
| 20 |
where Hij = ⟨ϕi|Ĥ|ϕj⟩. We note that this is equivalent to
| 21 |
where rui = ⟨ϕi|(Ĥ – E0)|Ψ(β)⟩, with the superscript u now denoting an unlinked formalism.63
In FCIQMC, eq 20 is interpreted as governing the population dynamics of a set of signed particles (“walkers”, “psips”, or “excips”) living in the Hilbert space, such that on each determinant there exists a particle population such that configuration interaction (CI) coefficient, ci on each determinant is proportional to the signed sum of this population. Rather than iterating these equations exactly, their terms are sampled stochastically and can be described by three processes:32
- Spawning of particles from determinant |ϕj⟩ to |ϕi⟩ corresponds to the off-diagonal action of the Hamiltonian
where pgen(ϕi|ϕj) is the conditional probability of selecting ϕi as the target of a spawn given it originates from ϕj, k is the index of the current attempt, and s denotes that this is a spawning event.
22 - Death or cloning from |ϕi⟩ to itself corresponds to the diagonal action of the Hamiltonian
where d denotes that this is now a death/cloning event.
23 Annihilation ensures that the two equivalent oppositely signed versions of the wave function do not proliferate simultaneously. During the previous steps, multiple new walkers may be generated on the same determinant, sometimes with opposite signs. Annihilation corresponds to canceling out these contributions to leave a single-sign population on each determinant.
We note that in the death step the unknown true ground state energy E0 has been replaced by the shift S. This acts as a population control parameter. In standard QMC procedures, once the simulation has reached a target population, the shift can be used to keep it constant and eventually converges to a stochastic estimator of E0.32 This target population must exceed a minimum “plateau”, the value of which increases with system size and degree of correlation, but is normally smaller than the size of the Hilbert space.32 The projected energy
| 24 |
is normally used as a second way to estimate E0.
By employing a stochastic representation of the wave function, algorithms like FCIQMC take advantage of the sparsity of the Hamiltonian, and are therefore able to tackle problems far beyond those tractable for conventional FCI solvers.69 This behavior can be further enhanced by developments such as the initiator approximation70 and the adaptive-shift method,71,72 which artificially stochastically increase the sparsity of the Hamiltonian.
Alternative projective Monte Carlo formulations have been developed
using Coupled Cluster (CC)33 and UCC34 parametrizations of the wave function. These
are based on the fact that for an exponential Ansatz, if a determinant
|ϕi⟩ is reachable by an excitation
included in the cluster operator, then
, where ti are the cluster amplitudes. Since
these methods are only valid
in the regime in which the cluster amplitudes are small, a similar
equation to eq 20 can
be written down as
| 25 |
Therefore, similar stochastic propagation techinques can be used as in the case of FCIQMC, however one only stores the cluster amplitudes ti. The corresponding CI coefficients appearing in eq 25 must also be estimated and this is done by stochastic sampling, leading to additional complexity in the selection routine, which is responsible for a significant portion of the computational cost of these algorithms.73
In FCIQMC it is easy to cycle through all determinants present in the wave function or sample them uniformly. In contrast, in Coupled Cluster Monte Carlo (CCMC) a doubly excited determinant |ϕi⟩ = |ϕabij⟩ will have a CI coefficient given by
| 26 |
where tai, tabij are the amplitudes of the corresponding single and double excitation operators âai and âabij in the cluster operator T̂. Therefore, when selecting a determinant for spawning or death, one must consider both composite (e.g., taitbj) and noncomposite (tabij) contributions (“clusters”) to it. The standard way to do this in CCMC33,73 is to
-
1.
Select a cluster size s with some probability ps;
-
2.
(Optionally) select a particular type of cluster of size s by imposing constraints on the excitation levels of the individual excitors involved;73
-
3.
Select s excitors e to form the cluster, each with probability pe ∝ te;
-
4.
“Collapse” the excitors to determine the corresponding determinant (e.g., âaiâbj|ϕ0⟩ = ±|ϕabij⟩).
This procedure leads to an overall probability of selecting a cluster corresponding to some determinant ϕj, pselect(ϕj), and the spawning and death equations must be modified to account for this as
| 27 |
| 28 |
where nattempts is the number of attempted cluster selections. In the simplest implementation, this is chosen to be equal to the number of walkers in the system. A variety of selection algorithms have been developed for CCMC to better importance sample the underlying wave function.73 Nevertheless, this remains one of its main challenges, particularly when expanded to high truncation levels74 or multireference formulations.75
To further complicate matters, in unitary CCMC (UCCMC)34 the maximum cluster size is formally infinite, due to alternating excitation and de-excitation operators in the clusters. While results converge relatively quickly with maximum cluster size, the inclusion of large composite clusters leads to instabilities in the Monte Carlo propagation.
Finally, we note here that the
applicability of this approach is
not necessarily limited to chemically inspired wave function Ansätze,
but should in principle be applicable to any wave function formalism
in which a one-to-one correspondence between some states in the Hilbert
space and the parameters can be constructed and where for such a
state |ϕi⟩,
, where N is a multiplicative
constant.
2.4. Folded-Spectrum
Methods like VQE, PQE, and standard PMC are all intended to find the ground state of a system of interest. The energy of some excited states can be found with these techniques by enforcing orthogonality between the state of interest and the ground state, for example by considering different symmetry sectors of the Hilbert space.23 However, obtaining general excited states is nontrivial.
Using the FCIQMC approach, it is possible to obtain multiple excited states simultaneously by instantaneously orthogonalizing the stochastic wave function representations of multiple independent FCIQMC calculations.76 A similar idea forms the basis for the Variational Quantum Deflation (VQD)22 algorithm, although this requires sequential optimization of the different excited states. Alternative hybrid excited state algorithms include the quantum subsbace expansion (QSE) method,21,77,78 in which the Hamiltonian is diagonalized in some subset of the Hilbert space to obtain estimates of low-lying eigenstates; the multistate-contracted VQE method,79 which optimizes an entanglement matrix between some approximate excited states obtained from a conventional quantum chemistry calculation; or the witness-assisted variational eigenspectra solver (WAVES),80 which uses the von Neumann entropy of states to ascertain whether they are eigenstates of the Hamiltonian.
Another approach to directly target excited states is the folded-spectrum method,20,36,81 in which the system Hamiltonian Ĥ is replaced by
| 29 |
which has the same eigenstates as the original Ĥ. However, the eigenvalues become Efs;i = (Ei – ω)2 so the ground state of Ĥfs(ω) becomes the eigenstate with true energy Ei closest to ω. Therefore, by changing ω one can target any stationary state of the system with conventional variational or projective techniques. This method has been previously used in conjunction with FCIQMC82 and similar approaches have been used in the conventional Variational Monte Carlo (VMC) community under the name of state-specific variance optimization.83−87
In variational folded-spectrum approaches, one minimizes the quantity
| 30 |
while in projective approaches one updates the parameters using the residuals
| 31 |
The algorithms employed are equivalent to the standard ground-state approaches, but the folded-spectrum Hamiltonian is more complex than the original Hamiltonian. Consider a standard chemistry Hamiltonian
| 32 |
where p̂ and p̂† are Fermionic creation and annihilation operators, respectively, for spin-orbital p and fpq and gpqrs are the one- and two-body contributions to the Hamiltonian. The corresponding folded-spectrum Hamiltonian will include up to four-body terms,
| 33 |
which will be significantly more expensive to compute than the one- and two-body terms of the original Hamiltonian. The total number of terms in the operator will therefore scale as N8 in the number of one-electron basis functions, rather than the N4 scaling of the original Hamiltonian. Due to this significant cost increase, the folded-spectrum technique is currently limited to only small systems.
3. Quantum Algorithms
3.1. Unlinked Residual Measurement Implementation
We begin by discussing the implementation of quantum circuits to compute the unlinked residual
| 34 |
and the overlap
| 35 |
required by the QMC methods discussed in section 2.3.
As detailed in section 2.3, exponential Ansatz-based QMC algorithms require complex selection schemes to estimate rui, as computing it directly would require storing the full CI wave function, which is not memory-efficient. For large cluster sizes, this often becomes the limiting factor on the speed and rate of convergence of a calculation. Therefore, using a quantum device to compute these terms without the memory overhead would be a significant boon to these methods. This has been shown in the context of auxiliary-field QMC (AFQMC),88 for which overlaps with complex trial wave functions can be efficiently calculated using a quantum computer.89
The standard implementation of the UCC Ansatz in the quantum circuit representation is to map Fermionic creation and annihilation operators onto strings of Pauli X, Y, and Z matrices (or gates). There are multiple standard mapping schemes,90−93 of which we employ here the Jordan–Wigner approach,90 in which
![]() |
36 |
where Xp, Yp, and Zp denote the usual Pauli matrices acting on the p-th qubit, the product of Z matrices encodes the required parity to preserve Fermionic anticommutation relations, and σ±p = Xp ± iYp. Using this mapping leads to the following forms for single and double excitation operators:
| 37 |
![]() |
38 |
The standard approach to computing the exponential of each of these strings of Pauli matrices is to use a set of gates known as a Pauli gadget,94 a controlled version of which is shown in Figure 1. While this is the approach taken in this work, we note that more compact alternatives have also been devised.95,96
Figure 1.
Pauli gadget encoding a controlled version
of
.
As there is no immediate expectation-value form similar to eq 11 for rui and ci computing such quantities requires auxiliary qubits. Two alternative circuit constructions to obtain rui and ci are given in Figure 2.
Figure 2.
Quantum circuits for measuring the overlap ci = ⟨ϕi|Ûϕ0⟩. (a) A modified Hadamard test,97 which uses a single ancilla qubit and a controlled version of the unitary Û. (b) An alternative proposed by Huggins et al.,98 which needs (nqubits + 1) ancilla but no controlled Û. The products of X gates go over the occupied orbitals in Φp (denoted occ.p) or over the active orbitals in the excitation Φ0 → Φi (denoted act.orb).
The first uses fewer ancilla qubits, but it also requires a controlled version of the unitary Û, which decomposes into a larger number of two-qubit gates than its uncontrolled couterpart, regardless of the nature of Û. As a significant fraction of NISQ device error is due to two-qubit gates, the second circuit may be preferable on hardware. However, it requires an ancilla register of the same size as the system register, which causes a 2nqubits-fold increase of the size of the qubit Hilbert space, leading to worse performance on quantum simulators. Work presented here therefore employs the circuit in Figure 2 (a).
In the particular case of the Pauli-gadget-based unitary coupled cluster Ansatz, controlled-Û only requires one additional controlled rotation gate per Pauli gate string, making it relatively easy to implement. Compared to a given UCC circuit employed in conventional VQE, this approach requires one additional qubit and 2nexcit + 1 additional gate layers, in order to encode the determinant corresponding to each residual. The method also requires a constant number of additional two-qubit gates for each parameter in the Ansatz. The asymptotic scaling of circuit depth and two-qubit gate count is therefore equivalent to a conventional VQE algorithm employing the same UCC Ansatz.
Labeling the overall state in the qubit register of the circuit in Figure 2 (a) as |Φ⟩, the expectation value of Z on the ancilla is given by
| 39 |
so ⟨Φ|Zanc|Φ⟩ =
(ci). The Y-expectation value
similarly gives the imaginary
part of the overlap. Additionally, applying the Hamiltonian to the
system register and measuring the expectation value gives the corresponding
parts of the residual,
| 40 |
In order to do this, the second-quantized Hamiltonian in eq 32 must be mapped onto a corresponding qubit Hamiltonian, which can be done using the same techniques discussed for excitation operators. This leads to an operator of the form
| 41 |
where P̂k are strings of Pauli operators. The expectation value in eq 40 can then be rewritten as
| 42 |
and each term measured individually. The cost of measuring each residual therefore scales with the number of terms in the Hamiltonian, like the total energy calculation. Residuals computed in this way can be employed in a projector method based on eq 21, leading to an unlinked PQE algorithm. Given noiseless, exact values for rui and setting the shift to track the instantaneous projected energy, such an algorithm would converge directly to the ground state, without need for further Monte Carlo estimation. However, expectation values obtained from a realistic quantum device are subject to at least finite-sampling noise. Therefore, it is perhaps wiser to consider the measured values of rui as stochastic estimates of the underlying quantities and therefore use them in a QMC-like algorithm. The resulting MC-PQE method is outlined below:
-
1.
On a classical machine, represent the wave function Û(θ)|ϕ0⟩ as a distribution of walkers with populations N0 corresponding to |ϕ0⟩ and Ni = θiN0 corresponding to each parameter.
-
2.
Encode the wave function Û(θ)|ϕ0⟩ on a quantum device and measure the residuals rui. This is done by obtaining the parameters θ from the classical distribution as
and substituting them into the circuit
in Figure 2 (a). Measuring
each residual is equivalent to an energy measurement. As in VQE, this
requires individual measurement of each (noncommuting) term in eq 41, scaling as n4qubit. The number of residuals is equal to the number of parameters in
the employed Ansatz. -
3.
Update each Ni = Ni – δβN0rui.
-
4.
Store the projected energy Eproj.
-
5.Once a threshold population Ntot = ∑Nparami=0 Ni has been reached, allow the shift to vary to maintain this population constant. In the original FCIQMC algorithm this is done by32
where Ntot is the total walker population, A is the number of steps the shift is updated after, and the damping parameter ζ controls the rate at which the shift responds to changes in population. More recent update procedures have been developed that lead to finer population control and more rapid convergence.99
43 -
6.
Repeat steps 2–5 until sufficient samples of Eproj and S have been accumulated to obtain accurate Monte Carlo estimates.
On the one hand, as discussed in section 4, this approach has a series of benefits relative to a “deterministic” PQE approach, as it is resilient to noise in the quantum measurement, allowing the use of low shot numbers to obtain accurate results. Additionally, the shift provides a second independent estimator for the energy which can be used to more clearly identify when convergence has been reached. On the other hand, it is more efficient than a fully classical Quantum Monte Carlo algorithm as it both removes the need for cluster sampling and merges the death and spawning steps into a single process. Additionally, this joint process can be seen as originating from the whole wave function, which removes the dependence of the algorithm on the total walker population.
One of the main benefits of QMC methods over conventional algorithms is that they take advantage of sparsity in the Hamiltonian to store a compressed version of the wave function, thereby decreasing classical memory overheads. In the following section we explore these QMC-inspired ideas to further decrease the memory or quantum resource costs of the algorithm detailed above.
3.2. Stochastic Approximations
3.2.1. Sampling the Hamiltonian
When computing the residuals rui one must in principle measure each of the terms of the qubit Hamiltonian separately, as they require different postrotations to be applied to the circuit before measurement. However, they can be further grouped37,100 as
| 44 |
where [P̂ki, P̂lj] ∝ δkl. Terms in the same group Gk commute, so they may be measured simultaneously using the same postrotations. Nevertheless, in the general case, this does not reduce the operator to a single group, so a significant number of terms still need to be measured independently. Additionally, optimal grouping of Pauli terms is in general a hard problem.101 For the two-body quantum chemistry Hamiltonian there is a simple heuristic partitioning, based on the qubitwise commutativity of Pauli strings. This leads to one large group comprising the identity string and all strings containing only Z gates and many small groups of strings containing some X and Y gates. Significant work has gone into further optimizing the number of measurements required to obtain Hamiltonian expectation values, including modifying the partitioning between groups30,31,102 or the Pauli strings themselves29 to lower variance, or using (randomized) measurement techniques based on the classical shadows approach.28,103−105
Regardless of the means by which groups are obtained, one can employ an approach similar to that used in classical QMC algorithms and only select a subset of the groups to measure at each time-step. This decreases the number of circuit measurements needed per time-step, but introduces further noise in the estimate of rui. However, provided no systematic bias is caused, this noise will be averaged out over the course of the imaginary-time propagation.
There exist various possible Hamiltonian term selection schemes, the simplest of which would be to sample uniformly from the set of Pauli terms or groups. Many of these terms will have negligible weights, however, so in order to better capture the action of the Hamiltonian in a small number of samples, some form of importance sampling is recommended. One straightforward approach is to select each Pauli group with probability proportional to the group weight Wk = ∑j ∈ Gk|hkj|,
| 45 |
For most quantum chemistry Hamiltonians investigated in this paper, we find that, when using qubitwise commutativity to partition the terms, the weight of the group containing the empty Pauli string and all Z-only strings, which we will label G0, strongly dominates the resulting probability distribution. Therefore, under this selection scheme, it is likely that for small numbers of samples it will be over- rather than undersampled. We also note that this term is qualitatively different from the other groups, as it describes the diagonal action of the Hamiltonian, while the others all correspond to off-diagonal contributions. Therefore, to obtain a more balanced description, we propose a scheme in which the diagonal group G0 is always evaluated, while the other groups are selected with probability
| 46 |
3.2.2. Sampling the Wave Function
UCC is the natural candidate Ansatz for this type of quantum-enhanced QMC algorithm. One of the main challenges with using this Ansatz on NISQ devices is that it leads to deep circuits, with execution times that easily exceed the coherence times for current machines. We have previously shown that by using insight from a fully classical UCCMC calculation,34 one can significantly shorten circuits while preserving accuracy by removing low-weight excitors from the Ansatz.106
This circuit simplification can be done on-the-fly during the propagation, by stochastically rounding the parameter values before encoding the wave function,
![]() |
47 |
where p is a uniform random sample from the interval [0, 1) and the parameters θi are ordered by decreasing amplitude. Once again, this is expected to increase fluctuations in the estimators at each time-step. The issue of potential systematic biases is explored further in section 4.
3.2.3. Spawning
In the methodology detailed above, all parameters are updated at every time-step. However, one can take the approach commonly employed in QMC algorithms and only update a stochastically selected subset of the populations. In particular, for spawning in conventional QMC algorithms one can use a variety of excitation generation algorithms.107−110
In principle, one could
spawn onto connected determinants uniformly. However, the spawning
probability is proportional to
(see eq 22), so for
appropriate importance sampling of this process
it is desirable that pgen(i|j) ∝ Hij. Different algorithms have been designed to approximately
achieve this, using heat-bath sampling107,110 or mathematical
bounds on the value of Hij.108
With the residuals computed according to the quantum algorithm in section 3.1, death and spawning are no longer separate processes, so the parameters to be updated should be generated with
| 48 |
If we write out the Fermionic Hamiltonian as Ĥ = ∑k hFkF̂k, where F̂k is some Fermionic excitation operator and (nonuniquely) label the excitation between determinants ϕi and ϕj as F̂ij, then
| 49 |
Sampling the distribution pgen is nontrivial even with access to a quantum computer and a qubit representation of the wave function and Hamiltonian. In particular, the circuits described in Figure 2, which can be used to estimate the overlap itself, cannot be used for this purpose.
However, one can efficiently generate determinants with probability
| 50 |
by preparing
the state |Ψ⟩,
applying one of the operators P̂k corresponding to each F̂k to it with probability
and then measuring the
qubit register.
While this is not a perfect importance sampling of the Hamiltonian
coupling, it will better match its minima and maxima and should therefore
represent an improvement over uniform sampling. An example for the
H4 molecule is shown in Figure 3. These circuits do not require ancilla or
additional controlled operations, so they are less costly to implement
than those needed to compute the residuals. The number of shots needed
is equal to the number of determinants one wants to generate, so they
would add little computational overhead.
Figure 3.
Excitation generation probability according to eq 49 and eq 50 for the H4 molecule, using an approximate ground state wave function. p̃gen is a better approximant for pgen than the uniform distribution. As a metric, the Kullback–Leibler divergence111 of p̃gen with respect to pgen is 0.118, while that of the uniform distribution is 0.541.
While stochastic parameter updates may be valuable for larger systems, for the problems considered in this paper it is easy to store and cycle through all the relevant parameters and therefore probabilistic spawning is not employed.
3.3. Folded Spectrum Considerations
All the methods described above can equally be applied to the folded spectrum Hamiltonian, by replacing the residual with that in eq 31. As the squared Hamiltonian operator contains many-body terms of higher order than the original Hamiltonian, this will lead to more terms in the Pauli string representation of the corresponding qubit operator as well. However, some of these will commute with the terms in the original operator, so the number of different groups will see a smaller increase. Nevertheless, for nontrivial systems, this leads to a potentially insurmountable increase in required computation, even with efficient Hamiltonian term grouping methods. The possibility of sampling the Hamiltonian is therefore particularly promising in this case as a means to mitigate the additional costs.
As molecules are pulled apart electronic states approach one another and often become degenerate in the fully dissociated limit. Therefore, if one is searching for two different states which are close in energy (which will remain so after the folding procedure), noise in the wave function representation becomes potentially problematic as it may be sufficient to induce a switch from one state to another. In the case of ground state calculations, it has been observed in conventional CCMC that, particularly in more strongly correlated regimes, large fluctuations will sometimes cause a calculation to collapse onto a different, often unphysical, state.112,113 This is made possible by the nonlinear structure of the coupled cluster equations, which allow for multiple solutions, not all of which have a configuration interaction correspondent.114,115 Therefore, the range of stochastic techniques that can be used in this scenario may be more limited than in ground state calculations.
4. Results
All results in this paper are obtained from state-vector or shot-based quantum circuit simulation using the t|ket⟩ platform.116 Necessary atomic orbital Hamiltonian integrals were obtained from PySCF117 and FCI calculations were performed using HANDE-QMC.118 All calculations used the UCCSD Ansatz. The main systems considered are linear hydrogen molecules up to H8 in the STO-3G basis set,119 which serve as a useful proof of concept for the methods described here. These molecules are small enough that the corresponding Fock space vectors can be manipulated on a classical computer, while covering a range of chemical behavior. Shot-based simulations are obtained by taking Nshots samples from the probability distribution corresponding to the wave function encoded in a given quantum circuit.
In order to reduce computation time required for larger systems, shot-based simulation is at times replaced by state-vector simulation with added Gaussian noise of mean μ = 0 and standard deviation σ. The average behavior of such simulations should be very similar to true shot-based results for large enough Nshots, but it will fail to capture some of the catastrophic failures of the very low shot count regime.
Average values of the shift S and Eproj are obtained by a reblocking analysis120 of data obtained in the steady-state regime of calculations, using pyblock.121
4.1. Ground State Calculations
We begin our investigation into the effects of sampling noise on the MC-PQE algorithm by carrying out calculations using the circuit in Figure 2 (a), sampled with 101 to 104 shots for each Pauli term in the Hamiltonian.
Representative examples of MC-PQE energies over the course of calculations with differing numbers of shots for H+3 at a bond length of rHH = 2.0 Å are shown in Figure 4. The instantaneous energy estimators display significant fluctuations, although, unsurprisingly, the noise decreases as the number of shots is increased.
Figure 4.
Shift (top) and projected correlation energy (bottom) as a function of imaginary time, obtained from 101–104 samples of the residual circuits for each Pauli term in the Hamiltonian, for H+3 at rHH = 2.0 Å. Noise decreases as the number of shots increases.
There is a qualitative change in the behavior of the projected energy using Nshots = 10, with some samples deviating significantly from the expected mean. This is effectively due to the underestimation of the denominator in the expression of Eproj (see eq 24), which leads to divergences in this quantity. There is therefore a lower bound on the number of shots needed to obtain a stable calculation, which is dependent on the overlap ⟨ϕ0|Ψ(β)⟩. The final estimators of the energy, obtained by averaging over the instantaneous energies once the calculation has reached its steady-state regime are given in Table 1 and display the expected lower variances as the number of shots increases.
Table 1. Mean and Standard Deviation of the Shift and Projected Correlation Energy as the Number of Shots Is Increased, for H+3 at rHH = 2.0 Åa.
Average values for the estimators S and Eproj along the binding curve of H+3 are given in Figure 5. At large bond-lengths, we observe that divergences in the instantaneous values of the estimators due to undersampling translate into divergences of the overall estimator, with the projected energy more sensitive to this than the shift. This behavior is not unexpected. As the bond length increases, the system becomes increasingly strongly correlated and therefore the weight of the reference determinant ϕ0 decreases, requiring more sampling to estimate appropriately.
Figure 5.

Shift (left) and Eproj (right) estimates of the correlation energy of linear H+3 over the range rHH = 0.5–3.0 Å. The insets include the estimators obtained with only 10 shots per residual estimation. Deviation from the true correlation energy increases as the number of shots is decreased, with deviations more pronounced in the projected energy and at larger bond lengths. This correlates with an increase in strong correlation and lowering of the overlap of the ground state wave function and the Hartree–Fock reference, ⟨ϕ0|Ψ(β)⟩.
It is therefore the case that more strongly correlated systems will require more sampling than weakly correlated ones. This follows well-known trends in the difficulty of solving quantum chemical problems in a classical setting and we can offer a series of ways to alleviate the issue. First, in the absence of noise, the overlap ⟨ϕ0|Ψ(β)⟩ decreases monotonically with β. Therefore, it will be possible to use fewer shots at short imaginary times and increase the shot count as the calculation progresses, thereby accelerating convergence to the steady state. For most Monte Carlo calculations, however, the majority of the time is spent sampling this state, which cannot benefit from the early reduction in shots.
Second, different numbers of shots can be allocated to different quantities of interest. In this case, one could run a calculation with relatively small numbers of shots for the residuals, but a large number of shots for the reference overlap estimation. As the system size increases, this will represent a smaller fraction of the computational effort needed, thereby allowing calculations that are effectively as shot-efficient as ones with the lowest number of shots. This approach could be further refined by allocating different shot numbers to different residuals as well, taking into account their expected magnitudes. This would allow for a more efficient distribution of computational effort, such that more significant contributions are estimated more accurately.
Another standard computational chemistry approach would be to replace the Hartree–Fock reference wave function in the projected energy with a more complex, multideterminental quantity |ΨT⟩ which is hoped to have larger overlap with the true ground state, giving a new projected energy of the form
| 51 |
On a classical machine, this would require a linear increase in computation, however in the current scheme, all terms in both the numerator and denominator are already computed as part of the propagation. We test this for H+3, which in a minimal basis has two electrons in three orbitals, using a trial wave function of the form
| 52 |
which includes the dominant configurations at dissociation, where |ij⟩ is the Slater determinant with spin-orbitals i and j occupied. The orbitals are labeled in order of increasing energy, with even numbers corresponding to ms = 1/2 and odd numbers to ms = −1/2 orbitals. This is insufficient to ensure convergence of the extremely undersampled 10-shot calculation toward dissociation, but it does reduce the standard error in 100-shot calculations by a factor of approximately 1.5.
Finally we compare the performance of MC-PQE with conventional PQE and with VQE, performed using the Simultaneous Perturbation Stochastic Approximation (SPSA) optimization algorithm,122 which has been shown to outperform other optimizers for noisy variational optimization.123 In Table 2 we compare the average error in the ground state energy obtained by VQE, PQE, and MC-PQE across the symmetric stretch of the H+3, H4, H6, and H8 chains, for bond lengths in the range 1.0–3.0 Å. All errors are relative to the result of a noiseless L-BFGS optimization of the UCCSD energy. For the two smaller systems, calculations are performed using explicit sampling, while for the larger systems Gaussian noise is used to simulate finite sampling noise. The VQE calculations are run for a fixed number of iterations. For H+3, MC-PQE is run for 250 iterations. For H4, it is run for up to 1000 iterations, with reblocking analyses run every 50 iterations. The reported energy errors and iteration numbers are computed using either the first instance of the variational energy estimator error converging under 1mEh or the best estimate available over the course of the propagation. The same procedure is employed for H6 and H8, with MC-PQE run for up to 2000 iterations. The number of PQE iterations and samples is chosen to make errors comparable to MC-PQE. VQE and PQE calculations are repeated 5 times to obtain statistical bounds on the errors. For MC-PQE such bounds can be obtained in the course of a single calculation.
Table 2. Comparison of VQE, PQE, and MC-PQE Results for Hydrogen Chainsa.
| H+3 |
||||||
|---|---|---|---|---|---|---|
| Method | nq | n2q | nshots | niter | ntotal | ΔE |
| VQE | 6 | 128 | 10000 | 1000 | 5.00e8 | 3(2)b |
| PQE | 6 | 128 | 10000 | 50 | 1.13e8 | 1(2) |
| MC-PQE | 7 | 152 | 100 | 250 | 3.13e6 | 1(1) |
| H4 |
||||||
|---|---|---|---|---|---|---|
| Method | nq | n2q | nshots | niter | ntotal | ΔE |
| VQE | 8 | 736 | 10000 | 1000 | 2.02e9 | 5(2)b |
| PQE | 8 | 736 | 10000 | 111 | 3.25e9 | 1(2) |
| MC-PQE | 9 | 832 | 500 | 480 | 3.64e8 | 1(1) |
| H6 |
||||||
|---|---|---|---|---|---|---|
| Method | nq | n2q | σ | niter | ntotal | ΔE |
| VQE | 12 | 4560 | 0.0001 | 2000 | 2.40e10 n | 200(80)c |
| PQE | 12 | 4560 | 0.0001 | 49 | 3.50e10 n | 2.8(0.2) |
| MC-PQE | 13 | 4996 | 0.01 | 1080 | 3.89e7 n | 3(3) |
| H8 |
||||||
|---|---|---|---|---|---|---|
| Method | nq | n2q | σ | niter | ntotal | ΔE |
| VQE | 16 | 18560 | 0.0001 | 1000 | 4.21e10 n | 700(200) |
| PQE | 16 | 18560 | 0.001 | 46 | 3.57e9 n | 6(2) |
| MC-PQE | 17 | 19285 | 0.01 | 1010 | 3.93e8 n | 6(5) |
nq is the number of qubits and n2q the number of two-qubit gates in each circuit. Each method was run for an average of niter iterations, using nshots measurements per Pauli string measured at each step or Gaussian noise with standard deviation σ. VQE and PQE calculations were repeated 5 times to obtain statistical error bounds. ntotal is the total number of measurements required. For VQE with SPSA optimization, this is 2niternHamilnshots, for PQE it is (2nparam + 1)niternHamilnshots, while for MC-PQE it is (nparam + 1)niternHamilnshots. ΔE is the average absolute error over the binding curve, in milliHartree. For a fair comparison, a variational estimate of the energy is also computed for MC-PQE.
Outliers with energy errors above 100 mEh were removed.
Outliers with energy errors above 1000 mEh were removed.
First, we note the results of the calculations presented in this table could undoubtedly be further improved by allocating additional computational resources. Nevertheless, we find that in all cases explored here, for a given error, MC-PQE requires at least 1 order of magnitude fewer samples to obtain comparable results to conventional PQE. This is also true in comparison to VQE, where the latter converges well. For the larger H6 and H8 systems, VQE encounters convergence problems, which we do not observe for either version of PQE. This is to be expected due to the imaginary-time projection underlying these methods. As described above, MC-PQE requires one ancilla qubit and an increased number of two-qubit gates, but the relative additional cost decreases with system size, as can also be seen from Table 2.
We move on to consider stochastic implementations of the projection algorithm itself.
We begin by considering the effects of stochastic sampling of the wave function and Hamiltonian independently, while doing the projection itself deterministically. Additional example MC-PQE trajectories are given in the Supporting Information. Figure 6 shows trajectories computed using deterministic projection on a stochastically rounded wave function for H+3, H3, and H4, with corresponding statistical properties given in Table 3. H2 is not considered here as it only has one parameter in the wave function, so there is no rounding to be done. While the noise introduced into the shift by this procedure is roughly constant and system-independent, in itself a desirable property, the noise in Eproj scales linearly with the absolute magnitude of the correlation energy, as can be seen from the right panel of Figure 6. This is unsurprising since if all amplitudes are rounded down, we expect the correlation energy to be zero. Nevertheless, for all three systems we obtain stable estimators for the correlation energy. For the H3 and H+3 systems, for which the UCCSD Ansatz is exact, the results are within error bars of the FCI value. For H4, there is an error of 10 milliHartree in the correlation energy estimators. This can be significantly reduced by computing the variational rather than projected energy estimator.34
Figure 6.

Shift (left) and projected correlation energy (right) as a function of imaginary time, obtained from a stochastically represented wave function for H+3 (blue), H3 (orange), and H4 (green) at rHH = 1.5 Å. The noise in the shift is roughly system-independent, whereas the variance of Eproj increases with its absolute value.
Table 3. Mean and Standard Deviation of the Shift and Projected Correlation Energy Obtained from the Deterministic Statevector Propagation of Stochastically Rounded Wavefunctions for Systems of Increasing Sizea.
| System | ⟨S⟩ | σ(S) | ⟨Eproj⟩ | σ(Eproj) | EFCI |
|---|---|---|---|---|---|
| H+3 | –0.0688 | 0.0005 | –0.068 | 0.001 | –0.06803 |
| H3 | –0.113 | 0.001 | –0.1107 | 0.0009 | –0.11011 |
| H4 | –0.180 | 0.003 | –0.176 | 0.002 | –0.16701 |
All systems have bond lengths of r = 1.5 Å, and all energies are given in Hartree.
We then consider propagating the full wave function with a stochastically sampled Hamiltonian in which only NHamil commuting Pauli groups are included at each time-step. Corresponding values of the estimators for such calculations are given in Table 4. Once again, as expected, variance decreases with the number of terms included and we note that propagation under the action of the stochastically sampled Hamiltonian does not introduce any additional bias to the estimators. Noise in the shift fully depends on the details of the stochastic trajectory, but in order to minimize the variance of Eproj we use the full Hamiltonian at each step. As this is equivalent to a single residual computation, the relative cost of employing the full Hamiltonian at this stage decays with system size. However, the projected energy could also be estimated using the sampled Hamiltonian at each step, decreasing computational overhead at the cost of increased sampling noise.
Table 4. Mean and Standard Deviation of the Shift and Projected Energy Obtained from Linearized Imaginary Time-Propagation of the H+3 Wavefunction at r = 2.0 Å, Using Stochastically Sampled Hamiltonians with Increasing Numbers of Terms Selected per Stepa.
| NHamil | ⟨S⟩ | σ(S) | ⟨Eproj⟩ | σ(Eproj) | EFCI |
|---|---|---|---|---|---|
| 2 | –0.115 | 0.003 | –0.125 | 0.007 | –0.11586 |
| 3 | –0.116 | 0.001 | –0.121 | 0.004 | |
| 4 | –0.117 | 0.001 | –0.121 | 0.004 | |
| 5 | –0.1137 | 0.0007 | –0.115 | 0.004 | |
| 6 | –0.1133 | 0.0007 | –0.112 | 0.003 |
All energies are given in Hartree.
Given the data presented above, we are satisfied that shot-based simulation, stochastic wave function rounding and Hamiltonian sampling are all compatible with MC-PQE and do not introduce significant biases into the results of a simulation. They do however all increase the noise present, requiring, much like classical QMC methods, a relatively long period of steady-state propagation to converge the desired quantities to the intended accuracy.
There are further ways to reduce the noise in the simulation which do not require increased sampling. One such method is shift damping,32 which entails decreasing the parameter ζ in eq 43. This makes the shift less responsive to changes in population, thereby directly decreasing its variance. As the value of the shift affects the continued propagation of the wave function, we expect that, once the steady-state has been reached, less variability of the shift will translate to less variability of the wave function and therefore one might expect less noise in the projected energy as well.
As an example, we compare the shift and projected energy in calculations with different numbers of shots and different degrees of shift damping for H+3. While a 10-fold decrease in ζ is very effective in reducing shift noise (σdamped/σ = 18% (1000 shots), 20% (100 shots)), we see no effect in the projected energy (σdamped/σ = 101% (1000 shots), 102% (100 shots)). See the Supporting Information for example MC-PQE trajectories.
Finally, we combine shot-based simulation with stochastic wave function rounding and Hamiltonian sampling. H+3 binding curves obtained with the fully stochastic algorithm are given in Figure 7. Simulations remain well behaved even with multiple sources of noise. We also note that the systematic increase in error due to stochastic rounding of the wave function appears to be partially canceled out by other noise. As noted in the case of pure finite sampling noise, more highly correlated regimes require better sampling to achieve the same level of accuracy.
Figure 7.

Shift (left) and projected correlation energy (right) estimators for the H+3 correlation energy, obtained using a sampled Hamiltonian with only 2–11 Pauli groups selected at each time-step, a stochastically rounded wave function, and 1000 shots per residual.
We also apply this stochastic PQE algorithm to first row mono- and dihydrides over a range of geometries, with results summarized in Table 5. The cases studied include the dissociation of LiH and HF, the symmetric stretch of H2O at its equilibrium bond-angle and the C2v insertion of Be into the H2 bond to form BeH2.124 Geometries for HF and H2O match those from ref (125), BeH2 geometries follow the trajectory described in ref (124) and the LiH bond lengths considered are rLiH/Å= {0.5, 1.0, 1.5, 2.0, 2.5}. The STO-3G basis set was used for all molecules. When using the same calculation parameters for all systems, it is unsurprising that errors are larger for more complex molecules. However, we note that by stochastically rounding the wave function and only sampling 20 Hamiltonian groups for each system, similar errors to the pure finite sampling case are observed. In all cases, the results correspond to relatively short propagation times and errors could be reduced by running the calculations further.
Table 5. Maximum Absolute Error (MAE) and Non-Parallelity Error (NPE) in milliHartree for Monte Carlo PQE in Some Frozen-Core Second Row Hydrides, Compared to Fully Deterministic PQEa.
| MAE |
NPE |
MAE (10) |
NPE (10) |
MAE (20) |
NPE (20) |
|||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| System | S | E | S | E | S | E | S | E | S | E | S | E |
| LiH | 0.5 | 0.3 | 0.6 | 0.6 | 2 | 1 | 4 | 1.6 | 2 | 0.7 | 2.7 | 1 |
| BeH2 | 0.6 | 0.9 | 0.5 | 0.9 | 2 | 3 | 5 | 6 | 2 | 3 | 4 | 4 |
| H2O | 6 | 4 | 6 | 6 | 42 | 76 | 53 | 72 | 9 | 5 | 10 | 5 |
| HF | 9 | 4 | 14 | 4 | 10 | 13 | 18 | 20 | 6 | 10 | 6 | 14 |
These systems have 125 (LiH and HF) and 313 (H2O and BeH2) Hamiltonian groups, respectively. Results in all columns have Gaussian noise with σ = 0.001 added to simulate sampling noise, and are obtained from runs of 2000 imaginary time-steps δβ = 0.2. The first set of results (columns 1–4) has no additional stochasticity. The second (5–8) and third (9–12) sets use stochastic wavefunctions and 10 or 20 sampled Hamiltonian terms per step, respectively. The error converges toward the pure sampling error with few sampled Hamiltonian groups. For all methods, errors could be further decreased by using longer propagation times.
4.2. Excited States
As described in Sec II D, the algorithms above can also be applied to excited states by employing the modified Hamiltonian in eq 29. The results of example folded-spectrum calculations performed using exact statevector simulations for H+3 are given in Figure 8. In order to easily converge to the desired state, the calculations are initialized at the first geometry (shortest rHH) with different reference determinants and values of ω close to their energies. States are then tracked along the binding curve by using the parameters and energies of the previous point to initialize the wave function and ω value for the current point. This allows smooth tracking of the states over the whole range of geometries considered.
Figure 8.
Statevector-simulated folded-spectrum energies for the H+3 molecule in the STO-3G basis set, using a projective eigenvalue solver. The Slater determinants used as initial references for each excited states are, in increasing energy order of the resulting state: |01⟩, |03⟩, |12⟩, |23⟩, |05⟩, |14⟩, |25⟩, |34⟩, |45⟩, following the same conventions defined for eq 52.
We investigate introducing noise into these simulations, first in the form of pure sampling noise due to shot-based simulation. Results obtained using Gaussian noise with σ = 0.01 for H+3 are shown in the left panel of Figure 9. We note that, even with relatively realistic finite sampling noise levels, convergence is still very good, with obtained states closely following their FCI counterparts.
Figure 9.

Folded-spectrum energies for the H+3 molecule in the STO-3G basis set, using a projective eigensolver and (left) Gaussian noise with σ = 0.01, (middle) Gaussian noise with σ = 0.01 and 10 Hamiltonian groups sampled at each step, and (right) Gaussian noise with σ = 0.01 and a stochastically rounded wave function.
However, not all instances of noise are as benign in this scenario, as can be seen in the right panel of Figure 9, which shows results for the totally symmetric states of H+3 obtained with stochastically rounded wave functions. In this case, particularly for the highly excited states, the rounding of the wave function leads to unphysical behavior. The third excited state is most strongly affected, at points tending toward converging onto the highest excited state instead. One must note that because previous values of the energies are used as ω values at subsequent points, once a sufficiently large deviation occurs it is likely to remain or be amplified. This could be avoided by running independent calculations at each geometry, but a new problem of estimating a priori a good initial wave function and ω is introduced.
The main limitation to using the folded spectrum method is the increase in terms in the squared Hamiltonian compared to the original operator. However, the Monte Carlo stochastic sampling of the Hamiltonian described in section 3.2 provides an effective means of sampling the folded spectrum operator. We find (see middle panel of Figure 9) that the same number of sampled Hamiltonian terms can be used per step as in standard ground state calculations to generate generally good quality excited state energies, although once again, where states are close in energy this may lead to convergence onto different states than the one targeted. This behavior has been observed for conventional PQE as well, in the presence of noise.64 This significantly expands on the range of systems for which folded spectrum methods are tractable.
5. Conclusion
In this paper, we present a Quantum Monte Carlo-informed approach to projective quantum eigensolver algorithms. We begin by noting that rather than attempting to obtain the true ground state of a system to within the desired accuracy directly, once propagation has converged, we can obtain highly accurate estimates by classically averaging over samples obtained at different times over the course of imaginary time propagation. This allows us to use low shot counts without compromising final accuracy, leading to a significant reduction in the number of samples relative to comparable conventional VQE and PQE calculations. Notably, this reduction is due to an effective increase in the target variance of the measured observable, and therefore orthogonal to potential improvements due to more effective utilization of the measurement information itself. Therefore, this method should be usable in conjunction with efficient measurement techniques such as those based on classical shadows to great effect.
We go further to decrease the quantum computational overhead, through stochastic rounding of the wave function and probabilistic sampling of the Hamiltonian. These procedures lead to shallower circuits and fewer shots required per step, but also generate noisier projectors. However, we observe that the Monte Carlo energy estimators employed are generally resilient to this additional noise, generating comparable accuracy to the deterministic projector, provided the resulting truncation at each step is not too drastic. In practice, for first row hydrides we observe that as few as 10% of the Hamiltonian terms are required.
Finally, we expand this method to excited state calculations, by employing the folded-spectrum approach, in which the Hamiltonian is replaced by a variance operator. The squared operator has significantly more terms than the underlying Hamiltonian, making this method traditionally more expensive than conventional eigensolvers. However, by sampling the operator we find that we can reduce the cost to that of an equivalent ground state calculation.
We believe the results presented here represent a promising proof of concept for the MC-PQE method and its performance should be investigated further for more complex physical systems. As previously noted, this could be made easier by combining the MC-PQE approach with more efficient measurement techniques28,103−105 and compact Ansatz encodings,95,96 which should significantly reduce required computational time. The latter would also make it possible to move beyond the UCCSD wave function by including higher-order excitations in the cluster expansion, which is prohibitively expensive in the convential UCC encoding scheme. Higher order UCC expansions would allow for a better treatment of more strongly correlated systems and have shown promising results using conventional QMC.34
Another alternative to improve the overall accuracy of the method would be to use adaptive Ansätze25,35,55,56 or generalized excitations.126 However, the use of repeated operators or of operators that do not correspond to excitations from the reference wave function is challenging in projection approaches, due to the requirement of a one-to-one mapping between parametrized Fermionic operators and configurations in the Hilbert space in the residual equations. Developing alternative projection equations that are applicable in this context would therefore be highly useful in order to expand the range of applicability of projective algorithms, both stochastic and deterministic.
The fundamental reason these stochastic approximations and sampling methods work is that, given a wave function that is a steady-state of some operator, they induce fluctuations about this wave function that may be effectively averaged over. Therefore, their applicability is not limited to the projective quantum eigensolver and we believe they may be helpful in any quantum algorithm which aims to converge to a some well-defined final wave function.
Acknowledgments
The author thanks Alex Thom and Lila Cadi-Tazi for useful discussions and gratefully acknowledges Peterhouse, University of Cambridge for supporting this work through a Research Fellowship.
Supporting Information Available
The Supporting Information is available free of charge at https://pubs.acs.org/doi/10.1021/acs.jctc.4c00295.
Additional example MC-QMC trajectories employing Hamiltonian term sampling and shift damping (PDF)
The author declares no competing financial interest.
Supplementary Material
References
- Feynman R. P. Simulating physics with computers. Int. J. Theor. Phys. 1982, 21, 467–488. 10.1007/BF02650179. [DOI] [Google Scholar]
- Aspuru-Guzik A.; Dutoi A. D.; Love P. J.; Head-Gordon M. Chemistry: Simulated quantum computation of molecular energies. Science 2005, 309, 1704–1707. 10.1126/science.1113479. [DOI] [PubMed] [Google Scholar]
- Berry D. W.; Ahokas G.; Cleve R.; Sanders B. C. Efficient Quantum Algorithms for Simulating Sparse Hamiltonians. Commun. Math. Phys. 2007, 270, 359–371. 10.1007/s00220-006-0150-x. [DOI] [Google Scholar]
- Berry D. W.; Childs A. M.; Cleve R.; Kothari R.; Somma R. D. Simulating Hamiltonian Dynamics with a Truncated Taylor Series. Phys. Rev. Lett. 2015, 114, 090502 10.1103/PhysRevLett.114.090502. [DOI] [PubMed] [Google Scholar]
- Low G. H.; Chuang I. L. Optimal Hamiltonian Simulation by Quantum Signal Processing. Phys. Rev. Lett. 2017, 118, 010501 10.1103/PhysRevLett.118.010501. [DOI] [PubMed] [Google Scholar]
- Childs A. M.; Maslov D.; Nam Y.; Ross N. J.; Su Y. Toward the first quantum simulation with quantum speedup. Proc. Natl. Acad. Sci. U.S.A. 2018, 115, 9456–9461. 10.1073/pnas.1801723115. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Abrams D. S.; Lloyd S. Simulation of Many-Body Fermi Systems on a Universal Quantum Computer. Phys. Rev. Lett. 1997, 79, 2586–2589. 10.1103/PhysRevLett.79.2586. [DOI] [Google Scholar]
- Abrams D. S.; Lloyd S. Quantum Algorithm Providing Exponential Speed Increase for Finding Eigenvalues and Eigenvectors. Phys. Rev. Lett. 1999, 83, 5162–5165. 10.1103/PhysRevLett.83.5162. [DOI] [Google Scholar]
- Preskill J. Quantum Computing in the NISQ era and beyond. Quantum 2018, 2, 79. 10.22331/q-2018-08-06-79. [DOI] [Google Scholar]
- Linke N. M.; Maslov D.; Roetteler M.; Debnath S.; Figgatt C.; Landsman K. A.; Wright K.; Monroe C. Experimental comparison of two quantum computing architectures. Proc. Natl. Acad. Sci. U.S.A. 2017, 114, 3305–3310. 10.1073/pnas.1618020114. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Knill E.; Laflamme R. Theory of quantum error-correcting codes. Phys. Rev. A 1997, 55, 900–911. 10.1103/PhysRevA.55.900. [DOI] [Google Scholar]
- Knill E.; Laflamme R.; Viola L. Theory of Quantum Error Correction for General Noise. Phys. Rev. Lett. 2000, 84, 2525–2528. 10.1103/PhysRevLett.84.2525. [DOI] [PubMed] [Google Scholar]
- Kribs D.; Laflamme R.; Poulin D. Unified and Generalized Approach to Quantum Error Correction. Phys. Rev. Lett. 2005, 94, 180501. 10.1103/PhysRevLett.94.180501. [DOI] [PubMed] [Google Scholar]
- Terhal B. M. Quantum error correction for quantum memories. Rev. Mod. Phys. 2015, 87, 307–346. 10.1103/RevModPhys.87.307. [DOI] [Google Scholar]
- Endo S.; Cai Z.; Benjamin S. C.; Yuan X. Hybrid Quantum-Classical Algorithms and Quantum Error Mitigation. J. Phys. Soc. Jpn. 2021, 90, 032001 10.7566/JPSJ.90.032001. [DOI] [Google Scholar]
- Cai Z.; Babbush R.; Benjamin S. C.; Endo S.; Huggins W. J.; Li Y.; McClean J. R.; O’Brien T. E. Quantum error mitigation. Rev. Mod. Phys. 2023, 95, 045005 10.1103/RevModPhys.95.045005. [DOI] [Google Scholar]
- Suzuki Y.; Endo S.; Fujii K.; Tokunaga Y. Quantum Error Mitigation as a Universal Error Reduction Technique: Applications from the NISQ to the Fault-Tolerant Quantum Computing Eras. PRX Quantum 2022, 3, 010345 10.1103/PRXQuantum.3.010345. [DOI] [Google Scholar]
- Bultrini D.; Gordon M. H.; Czarnik P.; Arrasmith A.; Cerezo M.; Coles P. J.; Cincio L. Unifying and benchmarking state-of-the-art quantum error mitigation techniques. Quantum 2023, 7, 1034. 10.22331/q-2023-06-06-1034. [DOI] [Google Scholar]
- Farhi E.; Goldstone J.; Gutmann S.. A quantum approximate optimization algorithm. 2014; arXiv:1411.4028.
- Peruzzo A.; McClean J.; Shadbolt P.; Yung M.-H.; Zhou X.-Q.; Love P. J.; Aspuru-Guzik A.; O’brien J. L. A variational eigenvalue solver on a photonic quantum processor. Nat. Commun. 2014, 5, 4213. 10.1038/ncomms5213. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Colless J. I.; Ramasesh V. V.; Dahlen D.; Blok M. S.; Kimchi-Schwartz M. E.; McClean J. R.; Carter J.; de Jong W. A.; Siddiqi I. Computation of Molecular Spectra on a Quantum Processor with an Error-Resilient Algorithm. Phys. Rev. X 2018, 8, 011021 10.1103/PhysRevX.8.011021. [DOI] [Google Scholar]
- Higgott O.; Wang D.; Brierley S. Variational Quantum Computation of Excited States. Quantum 2019, 3, 156. 10.22331/q-2019-07-01-156. [DOI] [Google Scholar]
- Nakanishi K. M.; Mitarai K.; Fujii K. Subspace-search variational quantum eigensolver for excited states. Phys. Rev. Research 2019, 1, 033062 10.1103/PhysRevResearch.1.033062. [DOI] [Google Scholar]
- Greene-Diniz G.; Muñoz Ramo D. Generalized unitary coupled cluster excitations for multireference molecular states optimized by the variational quantum eigensolver. Int. J. Quantum Chem. 2021, 121, e26352 10.1002/qua.26352. [DOI] [Google Scholar]
- Smart S. E.; Mazziotti D. A. Quantum Solver of Contracted Eigenvalue Equations for Scalable Molecular Simulations on Quantum Computing Devices. Phys. Rev. Lett. 2021, 126, 070504 10.1103/PhysRevLett.126.070504. [DOI] [PubMed] [Google Scholar]
- Shen Y.; Zhang X.; Zhang S.; Zhang J.-N.; Yung M.-H.; Kim K. Quantum implementation of the unitary coupled cluster for simulating molecular electronic structure. Phys. Rev. A 2017, 95, 020501 10.1103/PhysRevA.95.020501. [DOI] [Google Scholar]
- Hempel C.; Maier C.; Romero J.; McClean J.; Monz T.; Shen H.; Jurcevic P.; Lanyon B. P.; Love P.; Babbush R.; et al. Quantum Chemistry Calculations on a Trapped-Ion Quantum Simulator. Phys. Rev. X 2018, 8, 031022 10.1103/PhysRevX.8.031022. [DOI] [Google Scholar]
- Hadfield C.; Bravyi S.; Raymond R.; Mezzacapo A. Measurements of Quantum Hamiltonians with Locally-Biased Classical Shadows. Commun. Math. Phys. 2022, 391, 951–967. 10.1007/s00220-022-04343-8. [DOI] [Google Scholar]
- Choi S.; Yen T.-C.; Izmaylov A. F. Improving Quantum Measurements by Introducing “Ghost” Pauli Products. J. Chem. Theory Comput. 2022, 18, 7394–7402. 10.1021/acs.jctc.2c00837. [DOI] [PubMed] [Google Scholar]
- Choi S.; Loaiza I.; Izmaylov A. F. Fluid fermionic fragments for optimizing quantum measurements of electronic Hamiltonians in the variational quantum eigensolver. Quantum 2023, 7, 889. 10.22331/q-2023-01-03-889. [DOI] [Google Scholar]
- Yen T. C.; Ganeshram A.; Izmaylov A. F. Deterministic improvements of quantum measurements with grouping of compatible operators, non-local transformations, and covariance estimates. npj Quantum Inf 2023, 9, 14. 10.1038/s41534-023-00683-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Booth G. H.; Thom A. J. W.; 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 10.1063/1.3193710. [DOI] [PubMed] [Google Scholar]
- Thom A. J. W. Stochastic coupled cluster theory. Phys. Rev. Lett. 2010, 105, 263004. 10.1103/PhysRevLett.105.263004. [DOI] [PubMed] [Google Scholar]
- Filip M.-A.; Thom A. J. W. A stochastic approach to unitary coupled cluster. J. Chem. Phys. 2020, 153, 214106. 10.1063/5.0026141. [DOI] [PubMed] [Google Scholar]
- Stair N. H.; Evangelista F. A. Simulating Many-Body Systems with a Projective Quantum Eigensolver. PRX Quantum 2021, 2, 030301 10.1103/PRXQuantum.2.030301. [DOI] [Google Scholar]
- Cao Y.; Romero J.; Olson J. P.; Degroote M.; Johnson P. D.; Kieferová M.; Kivlichan I. D.; Menke T.; Peropadre B.; Sawaya N. P. D.; et al. Quantum Chemistry in the Age of Quantum Computing. Chem. Rev. 2019, 119, 10856–10915. 10.1021/acs.chemrev.8b00803. [DOI] [PubMed] [Google Scholar]
- Kandala A.; Mezzacapo A.; Temme K.; Takita M.; Brink M.; Chow J. M.; Gambetta J. M. Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets. Nature 2017, 549, 242–246. 10.1038/nature23879. [DOI] [PubMed] [Google Scholar]
- McClean J. R.; Boixo S.; Smelyanskiy V. N.; Babbush R.; Neven H. Barren plateaus in quantum neural network training landscapes. Nat. Commun. 2018, 9, 4812. 10.1038/s41467-018-07090-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Fontana E.; Herman D.; Chakrabarti S.; Kumar N.; Yalovetzky R.; Heredge J.; Sureshbabu S. H.; Pistoia M.. The Adjoint Is All You Need: Characterizing Barren Plateaus in Quantum Ansätze. 2023; arXiv:2309.07902. [DOI] [PMC free article] [PubMed]
- Ragone M.; Bakalov B. N.; Sauvage F.; Kemper A. F.; Marrero C. O.; Larocca M.; Cerezo M.. A Unified Theory of Barren Plateaus for Deep Parametrized Quantum Circuits. 2023; arXiv:2309.09342. [DOI] [PMC free article] [PubMed]
- Holmes Z.; Sharma K.; Cerezo M.; Coles P. J. Connecting Ansatz Expressibility to Gradient Magnitudes and Barren Plateaus. PRX Quantum 2022, 3, 010313 10.1103/PRXQuantum.3.010313. [DOI] [Google Scholar]
- Ortiz Marrero C.; Kieferová M.; Wiebe N. Entanglement-Induced Barren Plateaus. PRX. Quantum 2021, 2, 040316 10.1103/PRXQuantum.2.040316. [DOI] [Google Scholar]
- Liu J.; Wilde F.; Mele A. A.; Jiang L.; Eisert J.. Stochastic noise can be helpful for variational quantum algorithms. 2023; arXiv:2210.06723.
- Kutzelnigg W. Quantum chemistry in Fock space. I. The universal wave and energy operators. J. Chem. Phys. 1982, 77, 3081–3097. 10.1063/1.444231. [DOI] [Google Scholar]
- Kutzelnigg W.; Koch S. Quantum chemistry in Fock space. II. Effective Hamiltonians in Fock space. J. Chem. Phys. 1983, 79, 4315–4335. 10.1063/1.446313. [DOI] [Google Scholar]
- Kutzelnigg W. Quantum chemistry in Fock space. III. Particle-hole formalism. J. Chem. Phys. 1984, 80, 822–830. 10.1063/1.446736. [DOI] [Google Scholar]
- Bartlett R. J.; Kucharski S. A.; Noga J. Alternative coupled-cluster ansätze II. The unitary coupled-cluster method. Chem. Phys. Lett. 1989, 155, 133–140. 10.1016/S0009-2614(89)87372-5. [DOI] [Google Scholar]
- Trotter H. F. On the Product of Semi-Groups of Operators. Proc. Am. Math. Soc. 1959, 10, 545–551. 10.1090/S0002-9939-1959-0108732-6. [DOI] [Google Scholar]
- Suzuki M. Generalized Trotter’s formula and systematic approximants of exponential operators and inner derivations with applications to many-body problems. Commun. Math. Phys. 1976, 51, 183–190. 10.1007/BF01609348. [DOI] [Google Scholar]
- Evangelista F. A.; Chan G. K. L.; Scuseria G. E. Exact parameterization of fermionic wave functions via unitary coupled cluster theory. J. Chem. Phys. 2019, 151, 244112. 10.1063/1.5133059. [DOI] [PubMed] [Google Scholar]
- Gard B. T.; Zhu L.; Barron G. S.; Mayhall N. J.; Economou S. E.; Barnes E. Efficient symmetry-preserving state preparation circuits for the variational quantum eigensolver algorithm. npj Quantum Inf. 2020, 6, 10. 10.1038/s41534-019-0240-1. [DOI] [Google Scholar]
- Anselmetti G.-L. R.; Wierichs D.; Gogolin C.; Parrish R. M. Local, expressive, quantum-number-preserving VQE ansätze for fermionic systems. New J. Phys. 2021, 23, 113010. 10.1088/1367-2630/ac2cb3. [DOI] [Google Scholar]
- Burton H.; Marti-Dafcik D.; Tew D. P.; Wales D. J. Exact electronic states with shallow quantum circuits from global optimization. npj Quantum Inf 2023, 9, 75. 10.1038/s41534-023-00744-2. [DOI] [Google Scholar]
- Burton H. G. A.Accurate and gate-efficient quantum ansätze for electronic states without adaptive optimization. 2024; arXiv:2312.09761.
- Grimsley H. R.; Economou S. E.; Barnes E.; Mayhall N. J. An adaptive variational algorithm for exact molecular simulations on a quantum computer. Nat. Commun. 2019, 10, 3007. 10.1038/s41467-019-10988-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Fedorov D. A.; Alexeev Y.; Gray S. K.; Otten M. Unitary Selective Coupled-Cluster Method. Quantum 2022, 6, 703. 10.22331/q-2022-05-02-703. [DOI] [Google Scholar]
- Ryabinkin I. G.; Yen T.-C.; Genin S. N.; Izmaylov A. F. Qubit Coupled Cluster Method: A Systematic Approach to Quantum Chemistry on a Quantum Computer. J. Chem. Theory Comput. 2018, 14, 6317–6326. 10.1021/acs.jctc.8b00932. [DOI] [PubMed] [Google Scholar]
- Ryabinkin I. G.; Lang R. A.; Genin S. N.; Izmaylov A. F. Iterative Qubit Coupled Cluster Approach with Efficient Screening of Generators. J. Chem. Theory Comput. 2020, 16, 1055–1063. 10.1021/acs.jctc.9b01084. [DOI] [PubMed] [Google Scholar]
- Tang H. L.; Shkolnikov V.; Barron G. S.; Grimsley H. R.; Mayhall N. J.; Barnes E.; Economou S. E. Qubit-ADAPT-VQE: An Adaptive Algorithm for Constructing Hardware-Efficient Ansätze on a Quantum Processor. PRX Quantum 2021, 2, 020310 10.1103/PRXQuantum.2.020310. [DOI] [Google Scholar]
- Arrazola J. M.; Di Matteo O.; Quesada N.; Jahangiri S.; Delgado A.; Killoran N. Universal quantum circuits for quantum chemistry. Quantum 2022, 6, 742. 10.22331/q-2022-06-20-742. [DOI] [Google Scholar]
- Čížek J. On the Correlation Problem in Atomic and Molecular Systems. Calculation of Wavefunction Components in Ursell-Type Expansion Using Quantum-Field Theoretical Methods. J. Chem. Phys. 1966, 45, 4256–4266. 10.1063/1.1727484. [DOI] [Google Scholar]
- Čížek J. On the Use of the Cluster Expansion and the Technique of Diagrams in Calculations of Correlation Effects in Atoms and Molecules. Adv. Chem. Phys. 1969, 14, 35–89. 10.1002/9780470143599.ch2. [DOI] [Google Scholar]
- Shavitt I.; Bartlett R. J.. Many-Body Methods in Chemistry and Physics: MBPT and Coupled-Cluster Theory; Cambridge University Press: 2009. [Google Scholar]
- Misiewicz J. P.; Evangelista F. A. Implementation of the Projective Quantum Eigensolver on a Quantum Computer. J. Phys. Chem. A 2024, 128, 2220–2235. 10.1021/acs.jpca.3c07429. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Mitarai K.; Negoro M.; Kitagawa M.; Fujii K. Quantum circuit learning. Phys. Rev. A 2018, 98, 032309 10.1103/PhysRevA.98.032309. [DOI] [Google Scholar]
- Schuld M.; Bergholm V.; Gogolin C.; Izaac J.; Killoran N. Evaluating analytic gradients on quantum hardware. Phys. Rev. A 2019, 99, 032331 10.1103/PhysRevA.99.032331. [DOI] [Google Scholar]
- Kottmann J. S.; Anand A.; Aspuru-Guzik A. A feasible approach for automatically differentiable unitary coupled-cluster on quantum computers. Chem. Sci. 2021, 12, 3497–3508. 10.1039/D0SC06627C. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wierichs D.; Izaac J.; Wang C.; Lin C. Y.-Y. General parameter-shift rules for quantum gradients. Quantum 2022, 6, 677. 10.22331/q-2022-03-30-677. [DOI] [Google Scholar]
- Weser O.; Guther K.; Ghanem K.; Li Manni G. Stochastic Generalized Active Space Self-Consistent Field: Theory and Application. J. Chem. Theory Comput. 2022, 18, 251–272. 10.1021/acs.jctc.1c00936. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Cleland D.; Booth G. H.; Alavi A. Communications: Survival of the fittest: Accelerating convergence in full configuration-interaction quantum Monte Carlo. J. Chem. Phys. 2010, 132, 041103 10.1063/1.3302277. [DOI] [PubMed] [Google Scholar]
- Ghanem K.; Lozovoi A. Y.; Alavi A. Unbiasing the initiator approximation in full configuration interaction quantum Monte Carlo. J. Chem. Phys. 2019, 151, 224108. 10.1063/1.5134006. [DOI] [PubMed] [Google Scholar]
- Ghanem K.; Guther K.; Alavi A. The adaptive shift method in full configuration interaction quantum Monte Carlo: Development and applications. J. Chem. Phys. 2020, 153, 224115. 10.1063/5.0032617. [DOI] [PubMed] [Google Scholar]
- Scott C. J. C.; Thom A. J. W. Stochastic coupled cluster theory: Efficient sampling of the coupled cluster expansion. J. Chem. Phys. 2017, 147, 124105. 10.1063/1.4991795. [DOI] [PubMed] [Google Scholar]
- Neufeld V. A.; Thom A. J. W. A study of the dense uniform electron gas with high orders of coupled cluster. J. Chem. Phys. 2017, 147, 194105. 10.1063/1.5003794. [DOI] [PubMed] [Google Scholar]
- Filip M.-A.; Scott C. J. C.; Thom A. J. W. Multireference Stochastic Coupled Cluster. J. Chem. Theory Comput. 2019, 15, 6625–6635. 10.1021/acs.jctc.9b00741. [DOI] [PubMed] [Google Scholar]
- Blunt N. S.; Smart S. D.; Booth G. H.; Alavi A. An excited-state approach within full configuration interaction quantum Monte Carlo. J. Chem. Phys. 2015, 143, 134117. 10.1063/1.4932595. [DOI] [PubMed] [Google Scholar]
- McClean J. R.; Kimchi-Schwartz M. E.; Carter J.; de Jong W. A. Hybrid quantum-classical hierarchy for mitigation of decoherence and determination of excited states. Phys. Rev. A 2017, 95, 042308 10.1103/PhysRevA.95.042308. [DOI] [Google Scholar]
- Takeshita T.; Rubin N. C.; Jiang Z.; Lee E.; Babbush R.; McClean J. R. Increasing the Representation Accuracy of Quantum Simulations of Chemistry without Extra Quantum Resources. Phys. Rev. X 2020, 10, 011004 10.1103/PhysRevX.10.011004. [DOI] [Google Scholar]
- Parrish R. M.; Hohenstein E. G.; McMahon P. L.; Martínez T. J. Quantum Computation of Electronic Transitions Using a Variational Quantum Eigensolver. Phys. Rev. Lett. 2019, 122, 230401. 10.1103/PhysRevLett.122.230401. [DOI] [PubMed] [Google Scholar]
- Santagati R.; Wang J.; Gentile A. A.; Paesani S.; Wiebe N.; McClean J. R.; Morley-Short S.; Shadbolt P. J.; Bonneau D.; Silverstone J. W.; et al. Witnessing eigenstates for quantum simulation of Hamiltonian spectra. Sci. Adv. 2018, 4, eaap9646 10.1126/sciadv.aap9646. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Cadi Tazi L.; Thom A. J. W. Folded Spectrum VQE: A Quantum Computing Method for the Calculation of Molecular Excited States. J. Chem. Theory Comput 2024, 20, 2491–2504. 10.1021/acs.jctc.3c01378. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Booth G. H.; Chan G. K.-L. Communication: Excited states, dynamic correlation functions and spectral properties from full configuration interaction quantum Monte Carlo. J. Chem. Phys. 2012, 137, 191102. 10.1063/1.4766327. [DOI] [PubMed] [Google Scholar]
- Umrigar C. J.; Wilson K. G.; Wilkins J. W. Optimized trial wave functions for quantum Monte Carlo calculations. Phys. Rev. Lett. 1988, 60, 1719–1722. 10.1103/PhysRevLett.60.1719. [DOI] [PubMed] [Google Scholar]
- Zhao L.; Neuscamman E. An Efficient Variational Principle for the Direct Optimization of Excited States. J. Chem. Theory Comput. 2016, 12, 3436–3440. 10.1021/acs.jctc.6b00508. [DOI] [PubMed] [Google Scholar]
- Shea J. A. R.; Neuscamman E. Size Consistent Excited States via Algorithmic Transformations between Variational Principles. J. Chem. Theory Comput. 2017, 13, 6078–6088. 10.1021/acs.jctc.7b00923. [DOI] [PubMed] [Google Scholar]
- Cuzzocrea A.; Scemama A.; Briels W. J.; Moroni S.; Filippi C. Variational Principles in Quantum Monte Carlo: The Troubled Story of Variance Minimization. J. Chem. Theory Comput. 2020, 16, 4203–4212. 10.1021/acs.jctc.0c00147. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Otis L.; Neuscamman E. A promising intersection of excited-state-specific methods from quantum chemistry and quantum Monte Carlo. WIREs Comput. Mol. Sci. 2023, 13, e1659 10.1002/wcms.1659. [DOI] [Google Scholar]
- Zhang S.; Krakauer H. Quantum Monte Carlo Method using Phase-Free Random Walks with Slater Determinants. Phys. Rev. Lett. 2003, 90, 136401. 10.1103/PhysRevLett.90.136401. [DOI] [PubMed] [Google Scholar]
- Huggins W. J.; O’Gorman B. A.; Rubin N. C.; Reichman D. R.; Babbush R.; Lee J. Unbiasing fermionic quantum Monte Carlo with a quantum computer. Nature 2022, 603, 416–420. 10.1038/s41586-021-04351-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Jordan P.; Wigner E. Über das Paulische Äquivalenzverbot. Z. Physik 1928, 47, 631–651. 10.1007/BF01331938. [DOI] [Google Scholar]
- Bravyi S. B.; Kitaev A. Y. Fermionic Quantum Computation. Ann. Phys. 2002, 298, 210–226. 10.1006/aphy.2002.6254. [DOI] [Google Scholar]
- Seeley J. T.; Richard M. J.; Love P. J. The Bravyi-Kitaev transformation for quantum computation of electronic structure. J. Chem. Phys. 2012, 137, 224109. 10.1063/1.4768229. [DOI] [PubMed] [Google Scholar]
- Tranter A.; Sofia S.; Seeley J.; Kaicher M.; McClean J.; Babbush R.; Coveney P. V.; Mintert F.; Wilhelm F.; Love P. J. The Bravyi–Kitaev transformation: Properties and applications. Int. J. Quantum Chem. 2015, 115, 1431–1441. 10.1002/qua.24969. [DOI] [Google Scholar]
- Cowtan A.; Dilkes S.; Duncan R.; Simmons W.; Sivarajah S.. Phase Gadget Synthesis for Shallow Circuits. Proceedings 16th International Conference on Quantum Physics and Logic. 2020; pp 213–228.
- Yordanov Y. S.; Arvidsson-Shukur D. R. M.; Barnes C. H. W. Efficient quantum circuits for quantum computational chemistry. Phys. Rev. A 2020, 102, 062612 10.1103/PhysRevA.102.062612. [DOI] [Google Scholar]
- Magoulas I.; Evangelista F. A. CNOT-Efficient Circuits for Arbitrary Rank Many-Body Fermionic and Qubit Excitations. J. Chem. Theory Comput 2023, 19, 822–836. 10.1021/acs.jctc.2c01016. [DOI] [PubMed] [Google Scholar]
- Luongo A.Quantum algorithms for data analysis. 2020; https://quantumalgorithms.org.
- Huggins W. J.; Lee J.; Baek U.; O’Gorman B.; Whaley K. B. A non-orthogonal variational quantum eigensolver. New J. Phys. 2020, 22, 073009 10.1088/1367-2630/ab867b. [DOI] [Google Scholar]
- Yang M.; Pahl E.; Brand J. Improved walker population control for full configuration interaction quantum Monte Carlo. J. Chem. Phys. 2020, 153, 174103. 10.1063/5.0023088. [DOI] [PubMed] [Google Scholar]
- McClean J. R.; Romero J.; Babbush R.; Aspuru-Guzik A. The theory of variational hybrid quantum-classical algorithms. New J. Phys. 2016, 18, 023023 10.1088/1367-2630/18/2/023023. [DOI] [Google Scholar]
- Gokhale P.; Angiuli O.; Ding Y.; Gui K.; Tomesh T.; Suchara M.; Martonosi M.; Chong F. T. O(N3)Measurement Cost for Variational Quantum Eigensolver on Molecular Hamiltonians. IEEE Transa. Quantum Eng. 2020, 1, 1–24. 10.1109/TQE.2020.3035814. [DOI] [Google Scholar]
- Wu B.; Sun J.; Huang Q.; Yuan X. Overlapped grouping measurement: A unified framework for measuring quantum states. Quantum 2023, 7, 896. 10.22331/q-2023-01-13-896. [DOI] [Google Scholar]
- Huang H. Y.; Kueng R.; Preskill J. Predicting many properties of a quantum system from very few measurements. Nat. Phys. 2020, 16, 1050–1057. 10.1038/s41567-020-0932-7. [DOI] [Google Scholar]
- Huang H.-Y.; Kueng R.; Preskill J. Efficient Estimation of Pauli Observables by Derandomization. Phys. Rev. Lett. 2021, 127, 030503 10.1103/PhysRevLett.127.030503. [DOI] [PubMed] [Google Scholar]
- Choi S.; Izmaylov A. F. Measurement Optimization Techniques for Excited Electronic States in Near-Term Quantum Computing Algorithms. J. Chem. Theory Comput. 2023, 19, 3184–3193. 10.1021/acs.jctc.3c00218. [DOI] [PubMed] [Google Scholar]
- Filip M.-A.; Fitzpatrick N.; Muñoz Ramo D.; Thom A. J. W. Reducing unitary coupled cluster circuit depth by classical stochastic amplitude prescreening. Phys. Rev. Res. 2022, 4, 023243 10.1103/PhysRevResearch.4.023243. [DOI] [Google Scholar]
- Holmes A. A.; Changlani H. J.; Umrigar C. J. Efficient Heat-Bath Sampling in Fock Space. J. Chem. Theory Comput. 2016, 12, 1561–1571. 10.1021/acs.jctc.5b01170. [DOI] [PubMed] [Google Scholar]
- Neufeld V. A.; Thom A. J. W. Exciting Determinants in Quantum Monte Carlo: Loading the Dice with Fast, Low-Memory Weights. J. Chem. Theory Comput. 2019, 15, 127–140. 10.1021/acs.jctc.8b00844. [DOI] [PubMed] [Google Scholar]
- Guther K.; Anderson R. J.; Blunt N. S.; Bogdanov N. A.; Cleland D.; Dattani N.; Dobrautz W.; Ghanem K.; Jeszenszki P.; Liebermann N.; et al. NECI: N-Electron Configuration Interaction with an emphasis on state-of-the-art stochastic methods. J. Chem. Phys. 2020, 153, 034107 10.1063/5.0005754. [DOI] [PubMed] [Google Scholar]
- Weser O.; Alavi A.; Manni G. L. Exploiting Locality in Full Configuration Interaction Quantum Monte Carlo for Fast Excitation Generation. J. Chem. Theory Comput. 2023, 19, 9118–9135. 10.1021/acs.jctc.3c00546. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kullback S.; Leibler R. A. On Information and Sufficiency. Ann. Math. Stat. 1951, 22, 79–86. 10.1214/aoms/1177729694. [DOI] [Google Scholar]
- Scott C. J. C.; Di Remigio R.; Crawford T. D.; Thom A. J. W. Diagrammatic Coupled Cluster Monte Carlo. J. Phys. Chem. Lett. 2019, 10, 925–935. 10.1021/acs.jpclett.9b00067. [DOI] [PubMed] [Google Scholar]
- Scott C. J. C.; Di Remigio R.; Crawford T. D.; Thom A. J. W. Theory and implementation of a novel stochastic approach to coupled cluster. J. Chem. Phys. 2020, 153, 144117. 10.1063/5.0026513. [DOI] [PubMed] [Google Scholar]
- Piecuch P.; Kowalski K. In Search of the Relationship between Multiple Solutions Characterizing Coupled-Cluster Theories. Computational Chemistry: Reviews of Current Trends 2000, 5, 1–104. 10.1142/9789812792501_0001. [DOI] [Google Scholar]
- Csirik M. A.; Laestadius A. Laestadius, Andre Coupled-Cluster theory revisited - Part II: Analysis of the single-reference Coupled-Cluster equations. ESAIM: M2AN 2023, 57, 545–583. 10.1051/m2an/2022099. [DOI] [Google Scholar]
- Sivarajah S.; Dilkes S.; Cowtan A.; Simmons W.; Edgington A.; Duncan R. t–ket: a retargetable compiler for NISQ devices. Quantum Sci. Technol. 2021, 6, 014003 10.1088/2058-9565/ab8e92. [DOI] [Google Scholar]
- Sun Q.; Zhang X.; Banerjee S.; Bao P.; Barbry M.; Blunt N. S.; Bogdanov N. A.; Booth G. H.; Chen J.; Cui Z.-H.; et al. Recent developments in the PySCF program package. J. Chem. Phys. 2020, 153, 024109 10.1063/5.0006074. [DOI] [PubMed] [Google Scholar]
- Spencer J. S.; Blunt N. S.; Choi S.; Etrych J.; Filip M.-A.; Foulkes W. M. C.; Franklin R. S. T.; Handley W. J.; Malone F. D.; Neufeld V. A.; et al. The HANDE-QMC Project: Open-Source Stochastic Quantum Chemistry from the Ground State Up. J. Chem. Theory Comput. 2019, 15, 1728–1742. 10.1021/acs.jctc.8b01217. [DOI] [PubMed] [Google Scholar]
- Hehre W. J.; Stewart R. F.; Pople J. A. Self-Consistent Molecular-Orbital Methods. I. Use of Gaussian Expansions of Slater-Type Atomic Orbitals. J. Chem. Phys. 1969, 51, 2657–2664. 10.1063/1.1672392. [DOI] [Google Scholar]
- Flyvbjerg H.; Petersen H. G. Error estimates on averages of correlated data. J. Chem. Phys. 1989, 91, 461–466. 10.1063/1.457480. [DOI] [Google Scholar]
- Spencer J. pyblock. http://github.com/jsspencer/pyblock.
- Spall J. C. Multivariate stochastic approximation using a simultaneous perturbation gradient approximation. IEEE Trans. Automat. Contr. 1992, 37, 332–341. 10.1109/9.119632. [DOI] [Google Scholar]
- Bonet-Monroig X.; Wang H.; Vermetten D.; Senjean B.; Moussa C.; Bäck T.; Dunjko V.; O’Brien T. E. Performance comparison of optimization methods on variational quantum algorithms. Phys. Rev. A 2023, 107, 032407 10.1103/PhysRevA.107.032407. [DOI] [Google Scholar]
- Purvis G. D. III; Shepard R.; Brown F. B.; Bartlett R. J. C2V Insertion pathway for BeH2: A test problem for the coupled-cluster single and double excitation model. Int. J. Quantum Chem. 1983, 23, 835–845. 10.1002/qua.560230307. [DOI] [Google Scholar]
- Das S.; Mukherjee D.; Kállay M. Full implementation and benchmark studies of Mukherjee’s state-specific multireference coupled-cluster ansatz. J. Chem. Phys. 2010, 132, 074103 10.1063/1.3310288. [DOI] [PubMed] [Google Scholar]
- Lee J.; Huggins W. J.; Head-Gordon M.; Whaley K. B. Generalized Unitary Coupled Cluster Wave functions for Quantum Computation. J. Chem. Theory Comput. 2019, 15, 311–324. 10.1021/acs.jctc.8b01004. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.









