Stochastic Tensor Contraction for Efficient MP2
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Physics. The day in general physics: instruments, methods and results across the field.
Kai: We're looking at the paper: "Stochastic Tensor Contraction for Efficient MP2".
Title and authors: Kai: So we're looking at this paper called "Stochastic Tensor Contraction for Efficient MP2". It tackles second-order Møller–Plesset perturbation theory, which is a pretty simple correlated wave-function method, but it has a conventional cost that limits us to small systems.
Mira: That's right. The paper says that the usual way of doing this has an O of N five scaling issue, which just means it gets really slow when you have big systems. This new technique introduces stochastic tensor contraction, or STC, to deal with the exchange contribution part of Laplace-transformed MP2, which is what's causing that O of N five scaling.
Lev: From my side in error correction research, I can tell you that any calculation with O of N five scaling just doesn't run on real hardware without massive overhead. So getting it down to something manageable is a big deal for practical quantum chemistry.
Kai: Exactly. The paper says that by applying STC to this exchange part, they get an O of N three deterministic setup cost and an O of N two stochastic cost at a fixed absolute error level. That's the key efficiency gain there; it fundamentally changes how we look at the math for these calculations.
Mira: And what they achieve is that this estimator is unbiased, meaning it actually gives you the right answer, and you can specify your target stochastic error by estimating how many samples you need before doing the full calculation. That gives us a way to control our accuracy directly with the sample budget instead of just guessing.
Lev: From an engineering standpoint, controlling the error this way is crucial. It means we don't just throw more computer time at it; we can calculate exactly how much time we need based on what variance we see in a small pilot batch of samples. That makes resource planning much cleaner for hardware deployment.
Kai: The paper describes a hybrid deterministic to stochastic evaluation strategy, and they split the dressed tensor based on a threshold tau, which is related to the row norms of that auxiliary matrix. This means they treat the largest contributions deterministically and the smaller ones stochastically.
Mira: That hybrid approach is smart because it directly addresses how important different parts of the calculation are. It says that we can use a threshold to decide what gets the full computational weight and what gets sampled, which should make it much faster than just doing everything stochastically.
Title and authors: Lev: If you think about running this on hardware, splitting the work like that is good because you can map the deterministic part to fixed resources and the stochastic part to something that scales well with the number of samples. That keeps things balanced for real systems.
Kai: The numerical validation shows they achieved an absolute accuracy of zero point three mEh, which is about zero point one nine kcal per mole, and they found that this sampled exchange contraction is much cheaper than a single density fitting Hartree-Fock iteration <ref:2609.03168#pg2>.
Mira: That comparison is telling because it shows that for this level of accuracy, the STC method actually beats a simpler method. But the paper also flags that the remaining computational bottlenecks are still those O of N four costs from the Laplace dressing and the direct contraction part.
Lev: So even with this clever sampling trick for just one part, you still have those bigger O of N four costs to deal with when you try to run it on a full system. That tells us where the next optimization needs to focus if we want to use this for really large molecules.
Kai: The conclusion summarizes that the exchange contraction requires an O of N three deterministic setup cost and an O of N two stochastic cost at a fixed absolute error. They also found that the sample count needed scales as N squared for linear alkane chains and as N squared point two seven for two dimensional hydrogen terminated hexagonal boron nitride sheets.
Mira: It's interesting that they are showing scaling results on those specific systems, like the linear alkane chains and those boron nitride sheets. That gives us concrete data on how this method behaves when we move beyond just small test cases to actual chemically relevant structures.
Lev: If you look at those scaling results, the fact that it scales as N squared for one thing is a step up from what we might expect if it were purely deterministic, but still not ideal for the largest systems. We're seeing an improvement over O of N five, which is the main goal here.
Kai: The authors suggest that this technique can be applied broadly beyond just evaluating MP2 energy because these MP2-like correlation terms show up in things like regularized MP2 methods and double hybrid density functionals.
Title and authors: Mira: That's a big implication because it means we might be able to use this sampling idea for other correlated wave-function approaches, not just the specific exchange term they focused on. It suggests that the method itself is versatile.
Lev: Versatility is good, but we still have to worry about those O of N four costs they mentioned earlier. For us in hardware, that means whatever we use to calculate the Laplace dressing and direct contraction has to be efficient too for this to be truly practical.
Kai: Overall, the paper "Stochastic Tensor Contraction for Efficient MP2" shows that we can use sampling techniques to tame some of the most computationally expensive parts of quantum chemistry calculations. It sets a new benchmark for how we estimate those high-order tensor contractions in a way that is controllable by our error budget.
Mira: It provides a concrete, scalable way to handle the exchange term, moving it from an intractable O of N five problem to something with O of N three setup and O of N two sampling cost. That's a significant structural improvement in the algorithm itself.
Lev: For us on error correction, this is just another tool in the toolbox. It shows that we can introduce controlled stochasticity into quantum chemistry methods without completely losing accuracy if we manage the sampling budget correctly.
Kai: So to wrap up, this paper gives us a specific methodology for evaluating Laplace-transformed MP2 exchange using STC with a hybrid strategy, resulting in an O of N three deterministic setup and O of N two stochastic cost at fixed absolute error.
Mira: It's really about making the calculation feasible for larger molecules by controlling the sampling based on variance estimation from pilot batches.
Lev: And while it handles one part efficiently, we still have to manage those remaining O of N four costs in the dressing and direct contractions if you want to run a full system calculation with this approach.
Kai: That's where the next step is for us, and it shows that STC can be a general approach for reducing costs across many-body methods in quantum chemistry.
Mira: It’s a solid piece of work that applies sampling principles to high-order tensor contractions, which is something we need to keep watching as methods get more complex.
The paper's summary: Kai: So, to recap, this paper takes second-order Møller–Plesset perturbation theory and uses something called stochastic tensor contraction to handle the exchange part much more efficiently than what we’ve seen before.
Mira: Exactly. The main thing they're showing is that instead of getting stuck with a very slow scaling of N five for the exchange term, they can set up their calculation in a deterministic way with an N three cost and then use sampling to get the final answer at an N two cost, all for a fixed absolute error level.
Lev: That’s a big win because it means we can actually think about doing these calculations on real hardware that isn't going to grind to a halt trying to compute that massive exchange term.
Kai: Right, and they show how this works with some kind of hybrid strategy, splitting the calculation based on the size of the terms—the largest ones are handled deterministically, and the smaller ones are sampled stochastically.
Mira: That threshold method is smart because it lets you treat those important parts exactly while only sampling what really needs it, which keeps you within your target accuracy budget.
Lev: From my side, that hybrid approach is crucial for running these things on real systems because you can map the deterministic part to fixed resources and handle the stochastic part in a way that scales predictably with the number of samples.
Kai: And numerically, they showed that at a specific accuracy level, this sampled exchange contraction actually ends up being cheaper than running just one density fitting Hartree-Fock iteration.
Mira: That comparison is telling because it shows we can get a good correlated result without having to do the full brute force calculation for every single system.
Lev: But we have to remember that the paper points out that the remaining bottlenecks are still those O of N four costs from the Laplace dressing and the direct contraction part, so it’s not a complete fix for everything yet.
Kai: So, what this means is that we can use this kind of controlled stochasticity not just for MP2 energy anymore, but for other methods like regularized MP2 or even double hybrid density functionals.
Mira: It suggests that the principle behind using sampling to tame high-order tensor contractions is a general technique we can apply across many different quantum chemistry approaches.
Lev: If you look at the scaling results they did on linear alkane chains and those boron nitride sheets, we see that it scales as N squared for one case and N squared point two seven for the other, which gives us some concrete numbers to work with.
Kai: That's really interesting because it shows exactly how this method behaves when you move from small test cases to systems that look more like real molecules.
Mira: It’s a solid piece of work that applies sampling principles to high-order tensor contractions, which is something we need to keep watching as methods get more complex and more expensive.
The paper's improvements: Kai: So, moving on to what they suggest as improvements, this paper isn't just about using sampling once; it’s about making sure that the way we choose our sampling is smarter than just throwing random numbers at it.
Mira: Right. They talk about refining the threshold tau—that value we use to decide which tensor parts get the full deterministic treatment versus which ones get sampled—to make sure that splitting those tensors actually cuts the total computation time as much as possible.
Lev: That refinement is important because if you set that threshold poorly, you might end up treating too many small parts deterministically, and then all your sampling effort is wasted on things that don't matter much.
Kai: And they found a specific way to determine the number of samples needed based on a small pilot batch—they draw a tiny set of numbers first to estimate the variance, and then use that variance estimate to figure out exactly how many samples you need for your target accuracy.
Mira: That gives us direct control over the sample count, which is much better than just guessing how much time we need to spend on the calculation.
Lev: Controlling it by estimating variance is a good way to manage overhead because you can see the error in a small batch and predict the total cost before you commit to running millions of samples.
Kai: So, one thing they suggest is that this idea isn't just for MP2 anymore; they say we can adapt this stochastic sampling technique to other correlated wave-function methods that have those high-order tensor contractions too.
Mira: That’s the big picture here—it suggests a general approach for reducing the cost of many-body methods, not just one specific calculation.
Lev: If you look at those scaling results on the linear alkane chains again, they show it scales as N squared for that case, which is definitely better than what we’d expect from a purely deterministic O of N five method.
Kai: That means if we use this strategy across different methods, we could potentially make higher-level correlation calculations more accessible on current quantum hardware.
Mira: It seems like the core idea they are pushing is that controlled stochasticity can be a versatile tool to handle these complex computational bottlenecks in chemistry and physics.
Conclusion: Kai: So to wrap things up, this paper on "Stochastic Tensor Contraction for Efficient MP2" shows that we can use sampling techniques to tame some of the most computationally expensive parts of quantum chemistry calculations.
Mira: It really boils down to getting an N three setup cost and an N two sampling cost for a fixed absolute error, which is a big structural improvement over the previous O of N five scaling.
Lev: I just see that as moving from something that’s practically impossible on current hardware to something manageable, even if those remaining O of N four costs from the dressing and direct contraction are still there.
Kai: The implication is that this sampling idea can be used broadly for other correlated wave-function methods, not just MP2 energy calculations.
Mira: It suggests that the principle of using controlled stochasticity to estimate high-order tensor contractions is a versatile tool we can apply across many different quantum chemistry approaches.
Lev: If you look at those scaling results on linear alkane chains and those boron nitride sheets, we see it scales as N squared for one case and N squared point two seven for the other, which gives us some concrete numbers to work with.
Kai: That’s really interesting because it shows exactly how this method behaves when you move from small test cases to systems that look more like real molecules.
Mira: It seems like the core idea they are pushing is that controlled stochasticity can be a versatile tool to handle these complex computational bottlenecks in chemistry and physics.
Lev: For us on error correction, this is just another tool in the toolbox, showing we can introduce controlled stochasticity into quantum chemistry methods without completely losing accuracy if we manage the sampling budget correctly.
Kai: Overall, the paper "Stochastic Tensor Contraction for Efficient MP2" gives us a specific methodology for evaluating Laplace-transformed MP2 exchange using this method with a hybrid strategy.
Mira: It's really about making the calculation feasible for larger molecules by controlling the sampling based on variance estimation from pilot batches.
Lev: And while it handles one part efficiently, we still have to manage those remaining O of N four costs in the dressing and direct contractions if you want to run a full system calculation with this approach.
Kai: So, what does this mean for us now? It means that even though we’re building these incredibly precise systems here on superconducting qubits, we need these kinds of efficient estimation techniques to handle the complexity of the calculations we are running on them.
Mira: It means that as our methods get more complex and require higher-order tensors, this approach provides a pathway to keep those simulations from hitting a wall due to scaling issues.
Lev: It means if we want these quantum chemistry methods to become truly applicable for large systems, we need these types of sampling strategies working alongside the hardware constraints.
Marcus Center for Theoretical Chemistry, California Institute of Technology
physics.chem-ph, physics.comp-ph
Submitted: 2026-09-02
Updated: 2026-11-30
Comments: 12 pages, 7 figures
Code: https://github.com/SUSYUSTC/stc_mp2_exchange
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
Importance score: 97/100
The gist: Second-order Møller–Plesset perturbation theory (MP2) is one of the simplest correlated wave-function methods, but its conventional O(N5) cost limits its application to large systems.
Key concepts
- MP2 Correlation Energy
- This is a standard method in quantum chemistry used to estimate the energy correction due to electron correlation beyond the Hartree-Fock level. It involves calculating interactions between occupied and virtual orbitals, which is crucial for accurately describing molecular properties.
- Stochastic Tensor Contraction (STC)
- STC is a technique that samples summation indices instead of calculating every term exactly. By breaking down complex, highly coupled sums into simpler parts and using importance sampling based on variance estimation, it allows for efficient evaluation of large tensor contractions.
- Laplace Transformation
- The paper uses the numerical Laplace representation to rewrite the MP2 energy expression. This transformation simplifies the calculation by converting a complicated expression involving an energy denominator into a sum of simpler tensor contractions, which is necessary for applying sampling techniques.
Terminology
Summary
Second-order Møller–Plesset perturbation theory (MP2) is one of the simplest correlated wave-function methods, but its conventional O(N5) cost limits its application to large systems. p. 0 Stochastic Tensor Contraction for Efficient MP2 Exchange
Jiace Sun1, 2 and Garnet Kin-Lic Chan1, 2, a)
1)Marcus Center for Theoretical Chemistry, California Institute of Technology, Pasadena, CA 91125,
USA
2)Division of Chemistry and Chemical Engineering, California Institute of Technology, Pasadena, CA 91125,
USA
Second-order Møller–Plesset perturbation theory (MP2) is one of the simplest correlated wave-function
methods, but its conventional O(N5
) cost limits its application to large systems. Stochastic tensor contraction
(STC) has recently appeared as a general technique to evaluate high-order tensor contractions in quantum
chemistry.Where the paper says it
The core contribution involves applying stochastic tensor contraction to the exchange contribution of Laplace-transformed MP2, which results in an O(N3) deterministic setup cost and an O(N2) stochastic cost at fixed absolute error The resulting STC exchange algorithm has an O(N3) deterministic setup cost and an O(N2) stochastic cost at fixed absolute error >
Theoretical Framework for the Energy Split
The paper begins by defining the spin-summed MP2 correlation energy in the density fitting (DF) approximation.<ref:2609.03168#pg2, EMP2 = −Xijab (iajb) [2(iajb) − (ibja)] delta ijab, where i, j label occupied, and a, b virtual, orbitals>. p. 1 We also showcase the
complementary strengths of the STC approach to local
approximations, for which we compare to domain-based
local pair natural orbital MP218,36
. Laplace-transformed DF-MP2 and the direct/exchange
split
We begin from the spin-summed MP2 correlation
energy in the density fitting (DF) approximation,
EMP2 = −
X
ijab
(ia|jb) [2(ia|jb) − (ib|ja)]
∆ijab
, (1)
where i, j label occupied, and a, b virtual, orbitals,
∆ijab = εa + εb − εi − εj > 0, and the two-electron
integrals are factorized through an auxiliary basis {P}
of size Naux = O(N),
(ia|jb) = X
P
R
P
iaR
P
jb, RP
ia =
X
P ′
(ia|P
′
) (J
−1/2
)P ′P ,
(2)
with JP ′Q′ = (P
′
|Q′
) the Coulomb metric of the auxiliary
basis. Laplace-transformed DF-MP2 and the direct/exchange
split
We begin from the spin-summed MP2 correlation
energy in the density fitting (DF) approximation,
EMP2 = −
X
ijab
(ia|jb) [2(ia|jb) − (ib|ja)]
∆ijab
, (1)
where i, j label occupied, and a, b virtual, orbitals,
∆ijab = εa + εb − εi − εj > 0, and the two-electron
integrals are factorized through an auxiliary basis {P}
of size Naux = O(N),
(ia|jb) = X
P
R
P
iaR
P
jb, RP
ia =
X
P ′
(ia|P
′
) (J
−1/2
)P ′P ,
(2)
with JP ′Q′ = (P
′
|Q′
) the Coulomb metric of the auxiliary
basis. The energy denominator couples all four orbital
indices. The energy denominator couples all four orbital
indices. To obtain a more conveniently factorizable
form, we use the numerical Laplace representation of the
denominator,23,24
1
∆
≈
X
M
k=1
wke
−βk∆, (3)
and refer to the resulting formulation as LT-MP2. In these studies, M = 6–8
is found to be enough to converge the quadrature error
for most systems. Defining the exponential factors
U
o
(β) = e
+βF
o/2
, U
v
(β) = e
−βF
v/2
, (4)
where F
o
and F
v
are the occupied and virtual blocks of
the Fock matrix, we absorb them into the dressed tensors
R˜P
ia(β) = X
i
′a′
U
o
ii′ (β) R
P
i
′a′ U
v
a′a
(β), (5)
The correlation energy then becomes a sum of plain
tensor contractions with no energy denominator,
EMP2 = −
X
M
k=1
wk
h
2J(βk) − K(βk)
i
, (6)
with the direct (Coulomb-like) and exchange-like terms
J(β) = X
P Q
MP Q2
, MP Q =
X
ia
R˜P
iaR˜Q
ia, (7)
K(β) = X
ijab
X
P Q
R˜P
iaR˜P
jbR˜Q
ibR˜Q
ja. In these studies, M = 6–8
is found to be enough to converge the quadrature error
for most systems. Defining the exponential factors
U
o
(β) = e
+βF
o/2
, U
v
(β) = e
−βF
v/2
, (4)
where F
o
and F
v
are the occupied and virtual blocks of
the Fock matrix, we absorb them into the dressed tensors
R˜P
ia(β) = X
i
′a′
U
o
ii′ (β) R
P
i
′a′ U
v
a′a
(β), (5)
The correlation energy then becomes a sum of plain
tensor contractions with no energy denominator,
EMP2 = −
X
M
k=1
wk
h
2J(βk) − K(βk)
i
, (6)
with the direct (Coulomb-like) and exchange-like terms
J(β) = X
P Q
MP Q2
, MP Q =
X
ia
R˜P
iaR˜Q
ia, (7)
K(β) = X
ijab
X
P Q
R˜P
iaR˜P
jbR˜Q
ibR˜Q
ja. (8)
Although the MP2 energy can generally be written as a
sum of direct and exchange contributions, their different
computational costs here arise from the factorization
enabled by the Laplace transform. The direct term
factorizes into a matrix contraction of a single O(N 2
)
object, the auxiliary matrix MP Q, as Fig. The direct term
factorizes into a matrix contraction of a single O(N 2
)
object, the auxiliary matrix MP Q, as Fig. 1(a) shows,
and requires O(N4
) cost. The low scaling of the
direct contraction is the motivation for spin-oppositescaled (SOS)-MP239 which discards the exchange term
completely. The exchange term contains the ‘crossed’ index pattern
(ia|jb)(ib|ja) (see Fig. The exchange term contains the ‘crossed’ index pattern
(ia|jb)(ib|ja) (see Fig. The contraction does not
factorize in the same way as the direct term, and costs
O(N5
) to evaluate exactly.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Stochastic Treatment via Loop Breaking
To evaluate Eq. 8 by stochastic tensor contraction (STC), the idea is to importance sample over the summation indices. p. 1 8 by stochastic tensor contraction
(STC). 35 The idea is to importance sample over
the summation indices: for any sampling probability
distribution p over the composite index I =
(i, j, a, b, P, Q), the single-sample estimator
Kˆ =
OI
pI
, OI = R˜P
iaR˜P
jbR˜Q
ibR˜Q
ja, I ∼ p, (9)
is unbiased, E[Kˆ ] = K, for any choice of p; the choice
affects only the variance. 35, this is simple if OI arises
from a tree-like contraction, where pI can be obtained
by sampling each of the tensors in the contraction and
combining the conditionals (conditional probabilities). However, Eq. However, Eq. 8 is a maximally loopy contraction: every
pair of the four tensors shares exactly one index, so
its diagram is the complete graph of Fig. 8 is a maximally loopy contraction: every
pair of the four tensors shares exactly one index, so
its diagram is the complete graph of Fig. 1(b), and
|OI | does not factorize into conditionals that can be
sampled sequentially. 35 proposed a loop-breaking strategy, and we follow
a similar procedure here. We break the loops by replacing
two of the factors with the separable approximation
R˜P
ia
≈ Aia B
P
,
Aia =
X
P
(R˜P
ia)
2
1/2
, BP =
X
ia
(R˜P
ia)
2
1/2
,
(10)
see Fig. The number of samples can then be determined from
the requested accuracy ϵ. To do this we draw a small
pilot batch of samples, estimate the variance σ
2
, and
use Nsample = σ
2/ϵ2
samples.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Efficiency through Hybrid Evaluation Strategy
The efficiency of sampling versus deterministic summation in Eq. 8 depends on the distribution of sizes and number of terms in the sum. p. 2 Hybrid deterministic–stochastic evaluation
The efficiency of sampling versus deterministic
summation in Eq. 8 depends on the distribution of
sizes and number of terms in the sum. The most efficient arrangement is to
treat the largest contributions deterministically and the
many small ones stochastically. We split the dressed tensor accordingly, using a
threshold τ on the row norms of Eq. 10, scaled by
the quadrature weight so that a single τ serves every
quadrature point. Here w denotes the quadrature weight
at the current Laplace point.Where the paper says it
Where the paper says it
Where the paper says it
Numerical Validation and Scaling Results
The numerical results show that at an absolute accuracy of 0.3 mEh ∼ 0. p. 3 III C, and a requested standard
error of 0. 3 mEh ≈ 0. 3 mEh ∼ 0. 19 kcal/mol, the sampled exchange
contraction is much cheaper even than a single DF-HF
iteration, and in larger molecules is essentially free. 19 kcal/mol, the sampled exchange
contraction is much cheaper even than a single DF-HF
iteration, and in larger molecules is essentially free. The remaining computational bottlenecks are the
contractions of the Laplace dressing and the cost of the
direct contraction, both O(N4
) costs. 19 kcal/mol, the sampled exchange
contraction is much cheaper even than a single DF-HF
iteration, and in larger molecules is essentially free. The remaining computational bottlenecks are the
contractions of the Laplace dressing and the cost of the
direct contraction, both O(N4
) costs.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Conclusion and Future Directions
The paper concludes that the exchange contraction requires an O(N3) deterministic setup of the sampling tables and an O(N2) stochastic sampling cost for a fixed absolute error.<ref:2609.03168#pg1>. The remaining computational bottlenecks are the contractions of the Laplace dressing and the cost of the direct contraction, both O(N4) costs.<ref:2609.03168#pg8>. The techniques in this work can be applied broadly beyond the evaluation of the MP2 energy, since MP2-like correlation terms enter regularized MP2 methods, double-hybrid density functionals, and higher-level local correlation approaches such as LNO-CCSD(T). p. 7 There are multiple ways to reduce this,
including using sparsity, controlled local truncations, or
further tensor factorizations. The techniques in this work can be applied broadly
beyond the evaluation of the MP2 energy, since MP2-
like correlation terms enter regularized MP2 methods,
double-hybrid density functionals, and higher-level local
correlation approaches such as LNO-CCSD(T).Where the paper says it
Benchmark on Large Realistic Molecules
Across five systems, the cost of the STC-MP2 exchange ranges from 111 s to 261 s, i.e. a factor of 2. p. 2 The auxiliary
index is kept (somewhat) local in the same spirit by
using the symmetric inverse square root J
−1/2
in Eq. 2
for orthogonalization, rather than a Cholesky factor. a factor of 2. 1, to be compared with a factor of 27 for
standard DF-MP2 over the same molecules, reflecting the
change in scaling. 6% of the
total LT-MP2 evaluation time, and is thus effectively free. In this formulation the bottleneck is therefore no longer
the exchange term, but the remaining O(N4
) direct piece.Where the paper says it
Where the paper says it
Where the paper says it
Data Availability
The code, numerical results, and plotting scripts that support the findings of this study are publicly available at https://github.com/SUSYUSTC/stc mp2 exchange. p. 7 DATA AVAILABILITY
The code, numerical results, and plotting scripts that
support the findings of this study are publicly available
at https://github. com/SUSYUSTC/stc_mp2_exchange.Where the paper says it
Acknowledgments
This work was supported by the U.S. Department of Energy, Office of Science, Basic Energy Sciences, under Award No. p. 7 ACKNOWLEDGMENTS
This work was supported by the U. Department of
Energy, Office of Science, Basic Energy Sciences, under
Award No. Department of
Energy, Office of Science, Basic Energy Sciences, under
Award No. DE-SC0018140.Where the paper says it
Where the paper says it
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Stochastic tensor contraction for exchange evaluation allows for an O(N3) deterministic setup cost and an O(N2) stochastic cost at fixed absolute error, removing the conventional O(N5) scaling bottleneck of Laplace-transformed MP2 exchange. This enables efficient evaluation of high-order tensor contractions in quantum chemistry.
-
The hybrid deterministic–stochastic evaluation strategy splits the dressed tensor based on a threshold tau, treating largest contributions deterministically and many small ones stochastically to minimize total time while maintaining target accuracy. This results in a minimum total cost that is 61 times faster than purely deterministic evaluation for the BN 4x4 sheet.
-
The system can now evaluate MP2 correlation energy using a method where the exchange contraction takes
20 times less time than a single DF-HF iteration
for standard error of 0.3 mEh and isessentially free
in larger molecules, making it computationally feasible for systems up to 6990 basis functions. -
The improved system can achieve a target absolute accuracy of 0.3 mEh by requiring an O(N2) sample count at O(1) cost per sample for the exchange term, which scales as N squared for linear alkanes and N squared.27 for 2D BN sheets.
Abstract
Second-order Møller--Plesset perturbation theory (MP2) is one of the simplest correlated wave-function methods, but its conventional O(N 5) cost limits its application to large systems. Stochastic tensor contraction (STC) has recently appeared as a general technique to evaluate high-order tensor contractions in quantum chemistry. Here, we apply STC to the O(N 5) bottleneck step of Laplace-transformed DF-MP2, reducing the computational scaling to an O(N 3) deterministic setup cost and an O(N 2) stochastic cost at fixed absolute error in the total energy, after an O(N 4) preparation of the input tensor. The estimator is unbiased and provides a way to specify the target stochastic error by estimating the number of required samples before the full calculation. We implement the algorithm using a hybrid deterministic--stochastic evaluation strategy, with grouped index sampling, to reduce the computational prefactor. Over a range of benchmark molecules containing up to about 7000 basis functions, the complete STC-MP2 calculation becomes faster than DF-MP2 at about 600 basis functions, at a fixed absolute error of 0.2 kcal/mol, and is 7.7--10.0 times faster in the largest systems, where the STC treatment takes only about 5% of the total time. For the isomerization energies of C 60 isomers, STC-MP2 reaches a given accuracy with 6--21 times lower CPU cost than a leading local MP2 method. Our results further substantiate the power of STC to serve as a general tensor-contraction engine for quantum chemistry.
Related papers
- A System-Independent Metadynamics Strategy for Reactive Training Data: Application to Gas-Phase Organic Reactions
- A Machine Learning Model for the Chemistry of a Solvated Electron
- Compression of virtual spaces in transcorrelated methods via singular value decomposition: application to the G2 set
- Detrital Remanent Magnetization Analysis at the Particle Scale: Implications for Prebiotic Origins of Homochirality
- Charge Transfer with a Spin. II: A Framework for Diabatization which Localizes Charge and Spin
- Diabatic Seam Space Sampling for Hydrogen Tunneling Systems with Nuclear-Electronic Orbital Theory