MP2-F12: Explicitly Correlated MP2¶
Code author: Erica Mitchell
Section author: Erica Mitchell
Module: Keywords, PSI Variables, MP2-F12
Introduction¶
Convergence of the one-particle basis set to the electronic cusp is slow with traditional methods. This slow convergence is
inherent in all traditional electronic structure methods and has led to the construction of what are called explicitly
correlated methods. Explicitly correlated methods include terms that have the interelectronic distance within them significantly increasing
the speed at which convergence to the electronic cusp is achieved. These explicitly correlated terms contain the correlation
factor,
The inclusion of
An example input file is:
molecule h2o {
0 1
O
H 1 1.0
H 1 1.0 2 104.5
symmetry c1
}
set {
basis cc-pvtz-f12
cabs_basis cc-pvtz-f12-optri
df_basis_f12 aug-cc-pvtz-ri
freeze_core True
mp2_type df
f12_beta 1.0
cabs_singles True
}
energy('mp2-f12')
The energy('mp2-f12')
call to energy()
executes the predefined MP-F12 procedure,
first calling the SCF module with a default RHF reference. The two-electron integrals may be solved either with
or without DF, as specified with MP2_TYPE. The general outline of an MP2-F12 computation is as follows:
Form the CABS AO to MO transformation matrix
Compute the one- and two-electron integrals
Construct the F12 intermediates,
, , , and Solve the F12 energy equation for each occupied orbital pair
The results will then look something like:
===> DF-MP2-F12/3C(FIX) Energies <===
Total DF-MP2-F12/3C(FIX) Energy: -76.362440627264
RHF Reference Energy: -76.059038661557
MP2 Correlation Energy: -0.276433879145
F12/3C(FIX) Correlation Energy: -0.026029803210
CABS Singles Correction: -0.000938283352
The theory and common keywords used in MP2-F12 are presented below.
Theory¶
In MP2-F12, the second-order MBPT energy may be determined by minimizing the Hylleraas functional,
The resulting linear first-order equations can then be broken down into the conventional residual and the explicitly correlated residual,
where the last term of the
The correlation factor and projector are what hold the majority of the approximations made in F12 theory. Firstly, the correlation
factor is what describes the electronic cusp but, similar to how a nuclear cusp is simulated by contracted Gaussian-type orbitals,
the
where the coefficients and exponents are taken from Tew and Klopper [Tew:2005:074101] and can be scaled using the parameter
where
Within modern F12 theory, the ansatz inherently holds the resolution-of-identity (RI). The RI can be taken as functions from the
orbital basis set (OBS) and a chosen auxiliary basis set (ABS). It was observed by Valeev [Valeev:2004:190] that the choice of ABS
can affect the error due to the use of a finite RI. He proposed that the ABS include the OBS explicitly so that the exact orthogonal
complement projector
When applying the projector within the CABS approach to the F12 intermediates, the
where the following integral types are revealed,
Before the energy expression can be revealed, the choice of explicitly correlated amplitudes must be taken into account. Although the
residuals can both be set to zero to solve for the minimized amplitudes, it has been determined that the best approach is by utilizing
the electronic cusp conditions so that the s- and p- wave coalesence conditions are met [Tenno:2004:117]. This results in only the
conventional residual,
which is denoted as the 3C(FIX) Ansatz. The 3C(FIX) Ansatz has the benefits that it is free from the geminal basis set superposition error,
orbital invariant, and diagonal. Since only diagonal terms are needed, the computational complexity reduces from
Finally, the F12/3C(FIX) energy correction can be expressed as
where
With the slow convergence of the conventional doubles energy handled, the primary source of error then comes from the basis set incompleteness error from the HF reference. When the CABS is utilized, the relaxation of the HF orbitals in the presence of the CABS needs to be accounted for. This is done using the what’s termed the CABS singles correction. The CABS singles correction is reminiscent of the singles correction in MP2 without a RHF or UHF reference,
where
Therefore, the most accurate MP2-F12/3C(FIX) energy is given by
Recommendations¶
MP2-F12 is a complicated theory but the implemented module should be simple to use. All keywords are appropriately documented in the Appendix F12 and care should be taken to read through them before changing defaults. Some basic recommendations for running the module are included below:
MP2-F12 runs much faster with density-fitted integrals. Unless high accuracy is needed, DF requires much less computational resources and still provides quality results. If DF is chosen, the HF and MP2 modules are also set to run DF. Choose a DF basis set with at least triple-zeta quality as PSI4‘s DF-SCF module performs poorly with lower quality DF basis sets. This module utilizes robust density-fitting [Dunlap:2000:2113] so energies may differ from other programs. The default MP2_TYPE is
DF
.The length-scale parameter
F12_BETA
has been fiddled with in many past studies and they have determined that the exponents 0.9, 1.0, and 1.0 are recommended for cc-pVXZ-F12 where X = D, T, and Q, respectively, while those for aug-cc-pVXZ where X = D, T, and Q are 1.1, 1.2, and 1.4 . The default value is set to 1.0 to allow flexibility of use.MP2-F12 likes threads. The module was developed with threading in mind and the formation of the integrals and the tensor contractions rely on the threads for efficiency.
MP2-F12 is memory greedy. The core algorithm has been developed to compute the integrals on-the-fly but the size of some integrals cannot be avoided. Care should be taken to choose whether the core or disk algorithm is chosen, F12_SUBTYPE .
Like most wavefunction methods, freezing the core is good for both efficiency and correctness purposes.
MP2-F12 is not symmetry aware.
MP2-F12 cannot use Psi4’s Schwarz screening due to the presence of mixed basis sets. This is a work in progress but siginificantly increases the computational prefactor.
At the moment, the MP2-F12 code is only compatible with RHF references.