Papers
Topics
Authors
Recent
Search
2000 character limit reached

Partial sRI-CC2: Efficient Stochastic CC2

Updated 5 July 2026
  • Partial sRI-CC2 is a selective stochastic resolution-of-identity method in CC2 that targets the most expensive electron repulsion integral contractions.
  • The method combines deterministic low-rank factorization for Coulomb terms with stochastic sampling for exchange-like contributions, reducing computational scaling.
  • It achieves accurate energy derivatives and gradients for excited-state and nonadiabatic dynamics while effectively managing stochastic noise.

Partial sRI-CC2 denotes a family of selective stochastic-resolution-of-identity formulations of the second-order approximate coupled-cluster singles and doubles method, CC2, in which stochastic sampling is applied only to chosen four-index electron-repulsion-integral contractions rather than to the entire two-electron sector. In the cited literature, the selection is made to target the dominant expensive contractions—most commonly exchange-like terms—while retaining deterministic RI treatment, or another low-rank factorization, for the remaining contributions. The resulting methods preserve much of the scaling reduction associated with full sRI-CC2, but with substantially lower stochastic noise, especially for energy derivatives, analytical gradients, derivative couplings, and nonadiabatic dynamics (Zhao et al., 2022, Zhao et al., 14 Mar 2025, Zhao et al., 8 Sep 2025, Zhao et al., 26 Sep 2025).

1. Origin and conceptual scope

The background to partial sRI-CC2 is the contrast between conventional RI-CC2 and full sRI-CC2. In RI-CC2, the dominant cost arises from contractions involving four-index ERIs and remains formally O(N5)O(N^5). Full sRI-CC2 replaces every occurrence of the ERI by a stochastic low-rank factorization, reducing the leading cost to O(N3)O(N^3) when the number of stochastic samples is held constant (Zhao et al., 2022, Zhao et al., 2023).

Partial sRI-CC2 emerged as a compromise between these two limits. In the 2022 ground-state formulation, only the two most expensive contributions in the singles residual, commonly called Q2Q_2 and Q3Q_3, together with the final energy contractions, are treated stochastically; all remaining terms, including Q1Q_1, Q4Q_4, Q5Q_5, Q6Q_6, the Fock build, and DIIS, remain deterministic (Zhao et al., 2022). In the 2025 work on oscillator strengths and ground-state gradients, the mixed scheme is refined further: in the CC2 gradient Lagrangian, the first “direct” two-electron term is kept fully deterministic, while the second “exchange” term alone is stochastically hypercontracted (Zhao et al., 14 Mar 2025). The excited-state gradient and derivative-coupling implementation follows the same logic, applying sRI selectively to exchange terms only and leaving Coulomb integrals deterministic (Zhao et al., 8 Sep 2025).

A further development is the hybrid THC-sRI-CC2 formulation, in which the Coulomb-like contribution is factorized by tensor hypercontraction and only the exchange-like contribution is sampled stochastically. This “noise-reduced” variant preserves overall O(N3)O(N^3) scaling while suppressing variance from the largest-amplitude deterministic sector (Zhao et al., 26 Sep 2025). This suggests that partial sRI-CC2 is best understood not as a single fixed algorithm but as a design principle: stochastic decoupling is confined to the contractions that dominate cost but need not dominate variance.

2. Algebraic structure

The starting point is the usual RI approximation,

(αβγδ)PQ(αβP)[V1]PQ(Qγδ),(\alpha\beta|\gamma\delta)\approx \sum_{P Q}(\alpha\beta|P)\bigl[V^{-1}\bigr]_{P Q}(Q|\gamma\delta),

with the three-index tensor

O(N3)O(N^3)0

so that

O(N3)O(N^3)1

The sRI construction replaces the auxiliary index by random O(N3)O(N^3)2 vectors O(N3)O(N^3)3 satisfying

O(N3)O(N^3)4

and defines

O(N3)O(N^3)5

The ERI is then estimated by

O(N3)O(N^3)6

These identities are common to both full and partial sRI formulations (Zhao et al., 2023, Zhao et al., 26 Sep 2025).

The defining step in partial sRI-CC2 is selective insertion of this stochastic factorization. In the exchange-only formulation of the CC2 contraction,

O(N3)O(N^3)7

only the exchange-like term is decoupled stochastically, while the Coulomb-like term is evaluated deterministically or through another low-rank factorization. The resulting expression can be written as

O(N3)O(N^3)8

The use of independent samples O(N3)O(N^3)9 for the two ERIs guarantees unbiased estimates of products of two ERIs (Zhao et al., 26 Sep 2025).

For gradient theory, the same partition appears in the two-electron derivative contribution,

Q2Q_20

with

Q2Q_21

Here the first term is the deterministic “direct” contribution, while the second is the stochastic “exchange” contribution in partial sRI-CC2 (Zhao et al., 14 Mar 2025).

3. Observable-specific variants

Several distinct implementations fall under the label partial sRI-CC2. They differ in which contractions are sampled stochastically and in whether the retained deterministic sector is conventional RI or another low-rank factorization.

Context Partial-sRI split Formal scaling
Ground-state amplitudes and energy Only Q2Q_22, Q2Q_23, and final energy contractions use sRI; Q2Q_24, Q2Q_25, Q2Q_26, Q2Q_27, Fock build, and DIIS remain deterministic Effective Q2Q_28–Q2Q_29 overall iteration cost (Zhao et al., 2022)
Ground-state gradients and oscillator strengths Direct term deterministic; exchange term stochastically hypercontracted Q3Q_30 partial-sRI gradient algorithm (Zhao et al., 14 Mar 2025)
Excited-state gradients and derivative couplings Coulomb integrals deterministic; exchange integrals sampled through Q3Q_31 Net formal Q3Q_32 (Zhao et al., 8 Sep 2025)
Hybrid THC-sRI-CC2 Coulomb via THC/ISDF; exchange via sRI Net formal Q3Q_33 (Zhao et al., 26 Sep 2025)

In the ground-state formulation, the stochastic terms are inserted directly into the CC2 residual equations and the correlation energy. Schematically,

Q3Q_34

while the dominant residual terms Q3Q_35 and Q3Q_36 are also rewritten in terms of stochastic projected integrals Q3Q_37 (Zhao et al., 2022).

For gradients and response properties, the orbital-energy denominators are decoupled with a Laplace transform. The 2025 implementation uses a 7-point Laplace quadrature,

Q3Q_38

which turns the denominator into products of one-index exponentials and permits partial stochastic decoupling of the exchange block (Zhao et al., 14 Mar 2025). The excited-state gradient and derivative-coupling formulation uses the same Laplace logic, with Q3Q_39 stated as typical (Zhao et al., 8 Sep 2025).

The hybrid THC-sRI-CC2 construction modifies only the deterministic half of this partition. The Coulomb-like term is factorized by tensor hypercontraction in an interpolative separable density fitting representation,

Q1Q_10

where interpolation points are chosen by a QRCP procedure and Q1Q_11. The exchange-like term remains under sRI (Zhao et al., 26 Sep 2025).

4. Scaling regimes and computational trade-offs

The principal motivation for partial sRI-CC2 is the redistribution of asymptotic cost. In conventional RI-based CC2, the Coulomb contribution scales as Q1Q_12, whereas the exchange contribution scales as Q1Q_13; the total is therefore Q1Q_14. In pure sRI-CC2, both Coulomb and exchange terms become Q1Q_15 if Q1Q_16 is held constant. In pure THC-CC2, the Coulomb part is reduced to Q1Q_17 through ISDF factorization, but the exchange part remains Q1Q_18. In THC-sRI-CC2, Coulomb via THC and exchange via sRI both scale as Q1Q_19, giving an overall Q4Q_40 method (Zhao et al., 26 Sep 2025).

The earlier partial schemes occupy an intermediate position. For ground-state energies, partial sRI reduces the dominant exponent from Q4Q_41 to Q4Q_42–Q4Q_43, depending on the fraction of terms treated stochastically (Zhao et al., 2022). For ground-state gradients, the mixed direct/exchange partition yields an Q4Q_44 implementation with a much smaller stochastic prefactor than full sRI (Zhao et al., 14 Mar 2025). For excited-state gradients and derivative couplings, the exchange-only implementation also gives net Q4Q_45 scaling, because the four-index Q4Q_46 tensor is replaced by two rank-two tensors Q4Q_47 and Q4Q_48, while the Coulomb sector remains deterministic (Zhao et al., 8 Sep 2025).

Measured timings reflect these distinctions. On hydrogen chains in STO-3G, RI-CC2 scales as Q4Q_49 and partial sRI-CC2 as Q5Q_50 for fixed Q5Q_51 (Zhao et al., 2022). For oscillator strengths and gradients, deterministic RI-CC2 is reported as Q5Q_52 measured, full sRI-CC2 as Q5Q_53 for oscillator strengths and Q5Q_54 for gradients, and partial sRI-CC2 as Q5Q_55 measured (Zhao et al., 14 Mar 2025). In the excited-state gradient and derivative-coupling study, RI-CC2 gradient cost scales as Q5Q_56, partial sRI gradient cost as Q5Q_57, RI-CC2 coupling cost as Q5Q_58, and partial sRI coupling cost as Q5Q_59; the CPU-time crossover is extrapolated at Q6Q_60 electrons (Zhao et al., 8 Sep 2025).

The THC-hybridization changes this trade-off again. In numerical timing benchmarks on all-electron olefin chains up to Q6Q_61 electrons,

Q6Q_62

The crossover where sRI-based methods overtake RI-CC2 occurs around Q6Q_63 electrons, and THC-sRI-CC2 is Q6Q_64–Q6Q_65 faster than pure sRI-CC2 for identical stochastic sampling (Zhao et al., 26 Sep 2025).

5. Noise behavior and numerical accuracy

The defining statistical property of sRI is that the ERI is replaced by a Monte Carlo estimator,

Q6Q_66

Accordingly, the standard error in any CC2 observable decays as Q6Q_67 (Zhao et al., 26 Sep 2025). The same scaling is stated throughout the earlier partial-sRI literature: the stochastic estimator is unbiased, and doubling Q6Q_68 reduces the standard deviation by Q6Q_69 (Zhao et al., 2022, Zhao et al., 8 Sep 2025).

Partial sRI-CC2 is motivated by the observation that not all contractions contribute equally to variance. In the exchange-only formulations, only the exchange block is noisy, while the Coulomb block remains exact under deterministic RI. In the THC-sRI-CC2 formulation, stochastic sampling is removed altogether from the Coulomb term, which is described as typically the largest source of variance; only the exchange part retains O(N3)O(N^3)0 noise, leading to overall variance reductions of O(N3)O(N^3)1–O(N3)O(N^3)2 at fixed O(N3)O(N^3)3 (Zhao et al., 26 Sep 2025).

For gradient comparisons, the literature monitors component-wise deviations

O(N3)O(N^3)4

In the ground-state gradient work, full sRI requires very large O(N3)O(N^3)5 values, for example O(N3)O(N^3)6, to bring the statistical error on geometry derivatives below O(N3)O(N^3)7 Hartree/Bohr, whereas partial sRI typically needs O(N3)O(N^3)8–O(N3)O(N^3)9 for (αβγδ)PQ(αβP)[V1]PQ(Qγδ),(\alpha\beta|\gamma\delta)\approx \sum_{P Q}(\alpha\beta|P)\bigl[V^{-1}\bigr]_{P Q}(Q|\gamma\delta),0 Hartree/Bohr accuracy (Zhao et al., 14 Mar 2025). The same paper reports that oscillator strengths are less demanding, with (αβγδ)PQ(αβP)[V1]PQ(Qγδ),(\alpha\beta|\gamma\delta)\approx \sum_{P Q}(\alpha\beta|P)\bigl[V^{-1}\bigr]_{P Q}(Q|\gamma\delta),1 giving errors (αβγδ)PQ(αβP)[V1]PQ(Qγδ),(\alpha\beta|\gamma\delta)\approx \sum_{P Q}(\alpha\beta|P)\bigl[V^{-1}\bigr]_{P Q}(Q|\gamma\delta),2 au in (αβγδ)PQ(αβP)[V1]PQ(Qγδ),(\alpha\beta|\gamma\delta)\approx \sum_{P Q}(\alpha\beta|P)\bigl[V^{-1}\bigr]_{P Q}(Q|\gamma\delta),3 (Zhao et al., 14 Mar 2025).

The hybrid THC-sRI-CC2 benchmarks are more specific. For first excitation energies in cc-pVDZ at (αβγδ)PQ(αβP)[V1]PQ(Qγδ),(\alpha\beta|\gamma\delta)\approx \sum_{P Q}(\alpha\beta|P)\bigl[V^{-1}\bigr]_{P Q}(Q|\gamma\delta),4, H(αβγδ)PQ(αβP)[V1]PQ(Qγδ),(\alpha\beta|\gamma\delta)\approx \sum_{P Q}(\alpha\beta|P)\bigl[V^{-1}\bigr]_{P Q}(Q|\gamma\delta),5O gives RI (αβγδ)PQ(αβP)[V1]PQ(Qγδ),(\alpha\beta|\gamma\delta)\approx \sum_{P Q}(\alpha\beta|P)\bigl[V^{-1}\bigr]_{P Q}(Q|\gamma\delta),6 eV, sRI-CC2 (αβγδ)PQ(αβP)[V1]PQ(Qγδ),(\alpha\beta|\gamma\delta)\approx \sum_{P Q}(\alpha\beta|P)\bigl[V^{-1}\bigr]_{P Q}(Q|\gamma\delta),7 eV with S.D. (αβγδ)PQ(αβP)[V1]PQ(Qγδ),(\alpha\beta|\gamma\delta)\approx \sum_{P Q}(\alpha\beta|P)\bigl[V^{-1}\bigr]_{P Q}(Q|\gamma\delta),8 and absolute error (αβγδ)PQ(αβP)[V1]PQ(Qγδ),(\alpha\beta|\gamma\delta)\approx \sum_{P Q}(\alpha\beta|P)\bigl[V^{-1}\bigr]_{P Q}(Q|\gamma\delta),9, and THC-sRI-CC2 O(N3)O(N^3)00 eV with S.D. O(N3)O(N^3)01 and absolute error O(N3)O(N^3)02. For benzene, RI O(N3)O(N^3)03 eV, sRI-CC2 O(N3)O(N^3)04 eV with S.D. O(N3)O(N^3)05 and absolute error O(N3)O(N^3)06, and THC-sRI-CC2 O(N3)O(N^3)07 eV with S.D. O(N3)O(N^3)08 and absolute error O(N3)O(N^3)09 (Zhao et al., 26 Sep 2025). For ground-state gradients at O(N3)O(N^3)10, HO(N3)O(N^3)11O changes from O(N3)O(N^3)12, O(N3)O(N^3)13 in sRI-CC2 to O(N3)O(N^3)14, O(N3)O(N^3)15 in THC-sRI-CC2; benzene changes from O(N3)O(N^3)16, O(N3)O(N^3)17 to O(N3)O(N^3)18, O(N3)O(N^3)19. For the HO(N3)O(N^3)20O excited-state gradient, the reported values are O(N3)O(N^3)21, O(N3)O(N^3)22 for sRI-CC2 and O(N3)O(N^3)23, O(N3)O(N^3)24 for THC-sRI-CC2 (Zhao et al., 26 Sep 2025).

The exchange-only excited-state derivative formulation shows the same pattern. With partial sRI-CC2 at O(N3)O(N^3)25, gradient S.D. is reported as O(N3)O(N^3)26 Hartree/Bohr and derivative-coupling S.D. as O(N3)O(N^3)27 a.u., whereas complete sRI-CC2 with O(N3)O(N^3)28 gives gradient S.D. O(N3)O(N^3)29 Hartree/Bohr and derivative-coupling S.D. O(N3)O(N^3)30 a.u. (Zhao et al., 8 Sep 2025). This directly counters the misconception that the fully cubic variant is always the practically superior option: for derivatives, lower asymptotic scaling can be offset by a prohibitively large sampling requirement.

6. Applications, implementation practice, and extensions

Partial sRI-CC2 is particularly associated with large-scale excited-state calculations and nonadiabatic dynamics. The 2025 excited-state gradient and derivative-coupling work identifies these quantities as essential ingredients for large-scale nonadiabatic dynamics and states that the partial sRI-CC2 implementation can handle systems with hundreds or even thousands of electrons (Zhao et al., 8 Sep 2025). The THC-sRI-CC2 study likewise emphasizes that the resulting O(N3)O(N^3)31 scaling extends the applicability of CC2 for excited-state energy calculations and nonadiabatic dynamics simulations of large molecular systems (Zhao et al., 26 Sep 2025).

Implementation practice follows directly from the selective stochastic partition. The same auxiliary basis sets as deterministic RI-CC2 are reused. Stochastic vectors have length O(N3)O(N^3)32 with independently drawn O(N3)O(N^3)33 entries. In response and derivative formulations, Laplace points O(N3)O(N^3)34 and stochastic vectors O(N3)O(N^3)35 are naturally distributed over MPI ranks or threads, while deterministic direct terms are handled through conventional RI contractions (Zhao et al., 14 Mar 2025, Zhao et al., 8 Sep 2025). For nonadiabatic dynamics, recommended practice includes choosing O(N3)O(N^3)36 so that fluctuations in forces and couplings are small relative to energy gaps, using the same random seed across nuclear time steps to correlate sampling, monitoring instantaneous standard deviations, and switching to deterministic RI-CC2 or increasing samples locally in critical crossing regions (Zhao et al., 8 Sep 2025).

The most general extension proposed so far is the hybrid low-rank/stochastic strategy introduced in THC-sRI-CC2. The paper states that the “partial sRI” logic extends naturally to CCSD and CCSD(T), EOM-CC and LR-CC, excited-state dynamics and non-adiabatic couplings, and can be combined with stochastic Cholesky, block RNG, control variates, and correlated sampling (Zhao et al., 26 Sep 2025). A plausible implication is that partial sRI-CC2 has become a prototype for selectively stochastic coupled-cluster algorithms more broadly: deterministic low-rank factorizations are assigned to large-amplitude sectors, and stochastic decoupling is reserved for the contractions that are asymptotically dominant but variance-manageable.

In this broader sense, partial sRI-CC2 is defined less by a single equation than by a stable methodological partition: exact or low-rank treatment where stochastic noise is most damaging, and stochastic treatment only where it most effectively removes the high-scaling bottleneck.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Partial sRI-CC2.