The many-body expansion (MBE) for a system of monomers is given by

(12.23) |

in which represents the energy of monomer , = is a two-body correction for dimer , and = is a three-body correction for trimer , etc. In a large system and/or a large basis set, truncation of this expression at the two- or three-body level may dramatically reduce the amount of computer time that is required to compute the energy. Convergence of the MBE can be accelerated by embedding the monomer (), dimer (), trimer (), calculations in some representation of the electrostatic potential of the rest of the system. A simple means to do this is via atom-centered point charges that could be obtained when the terms are calculated; this is the so-called electrostatically-embedded many-body expansion (EE-MBE) [758]. Alternatively, since the monomer electron densities are available from the terms as well, one could use these densities to compute the actual monomer–monomer Coulomb interactions, and this forms the basis of the fragment molecular orbital (FMO) method [759, 760]. In particular, the “bodies” (fragments) cannot be covalently bonded to one another, and therefore this is a method appropriate for non-covalent clusters of molecules. Moreover, individual subsystem calculations have been parallelized across processors using MPI, hence the present implementation is using the real power of the MBE. Analytic gradients are also available for MBE and EE-MBE, but not FMO.

It is well known that the interaction energies of non-covalent clusters are usually overestimated (often substantially) owing to basis-set superposition error (BSSE), which disappears only very slowly as the basis sets approach completeness. The widely used Boys–Bernardi counterpoise (CP) procedure corrects for this by computing all energies (including cluster and monomers) using the cluster basis set. (Note, however, that basis-set extrapolation is still necessary for high-quality binding energies; in , for example, a CP-corrected MP2/aug-cc-pVQZ calculation is still kcal/mol from the MP2 basis-set limit [782]. Fortunately, the MBE allows for use of large basis sets in order to perform basis-set extrapolations in sizable clusters [782, 783].) Two low-cost CP corrections that are consistent with an -body expansion have been proposed: the many-body CP correction, MBCP() [782, 783], and the -body Valiron-Mayer function counterpoise correction, VMFC() [784]. The two approaches are equivalent for but the MBCP() method requires far fewer subsystem calculations starting at and is thus significantly cheaper, while affording very similar results as compared to VMFC() [782, 783].

Q-Chem’s implementation of the EE-MBE() approach (electrostatically-embedded -body expansion) is designed to use *$mbe_charges* section to specify embedding charges. As such, a MBE calculation is requested by setting MANY_BODY_INT = TRUE. The variable MBE_EMBEDDING = CHARGES/GAS sets the MBE calculations with or without using embedding charges. The variable MBE_ORDER sets the truncation order, . As an alternative to point charges, density embedding is also available, in which Coulomb interactions are computed between proper monomer electron densities. The MBE with density embedding is equivalent to the original version of the fragment molecular orbital (FMO) [759]. (Many subsequent modifications to the FMO algorithm have been introduced [760, 785] but are not yet available in Q-Chem. These include, in particular, the option to use point charges or approximate electron repulsion integrals to compute the Coulomb interactions between distant monomers [786, 787], which actually makes FMO more like EE-MBE at long range.) This density-embedded version of FMO is available in Q-Chem by setting XPOL = TRUE, XPOL_MPOL_ORDER = DENSITY, and FRAG_MOL_ORB = TRUE. The variable FMO_ORDER sets the truncation order, . The MBE version of BSSE is requested by setting MANY_BODY_BSSE = MBCP or VMFC. The variable MBE_BSSE_ORDER sets the truncation order, .

Researchers who use Q-Chem’s MBE code are asked to cite Ref. Richard:2014 and—if the MBCP() method is used—to cite Ref. Richard:2013a as well.

The following *$rem* variables control MBE jobs.

MANY_BODY_INT

Perform a MBE calculation.

TYPE:

BOOLEAN

DEFAULT:

FALSE

OPTIONS:

TRUE

Perform a MBE calculation.

FALSE

Do not perform a MBE calculation.

RECOMMENDATION:

NONE

MBE_ORDER

Controls the truncation order for MBE.

TYPE:

INTEGER

DEFAULT:

2

OPTIONS:

Order of MBE

RECOMMENDATION:

MBE can be performed up to fifth order.

MBE_EMBEDDING

Controls the type of MBE calcualtions.

TYPE:

STRING

DEFAULT:

GAS

OPTIONS:

GAS

MBE without charge embedding.

CHARGES

MBE with charge embedding.

RECOMMENDATION:

NONE.

MANY_BODY_BSSE

Controls the type of many-body BSSE corrections.

TYPE:

STRING

DEFAULT:

MBCP

OPTIONS:

MBCP

Use many-body counterpoise correction.

VMFC

Use Valiron-Mayer function counterpoise correction.

RECOMMENDATION:

NONE.

MBE_BSSE_ORDER

Controls the order of many-body BSSE corrections.

TYPE:

INTEGER

DEFAULT:

2

OPTIONS:

Order of many-body BSSE corrections

RECOMMENDATION:

MBCP and VMFC can be performed up to fourth order.

FRAG_MOL_ORB

Perform a FMO calculation.

TYPE:

BOOLEAN

DEFAULT:

FALSE

OPTIONS:

TRUE

Perform a FMO calculation.

FALSE

Do not perform a FMO calculation.

RECOMMENDATION:

NONE

FMO_ORDER

Controls the truncation order for FMO.

TYPE:

INTEGER

DEFAULT:

NONE

OPTIONS:

Order of FMO

RECOMMENDATION:

FMO can be performed up to third order.

**Example 12.286** Example showing a 3-body EE-MBE calculation using TIP3P charges.

$rem sym_ignore true method B3LYP basis cc-pVDZ many_body_int true mbe_order 3 mbe_embedding charges thresh 14 scf_convergence 7 $end $molecule 0 1 -- 0 1 O -1.126149 -1.748387 -0.423240 H -0.234788 -1.493897 -0.661862 H -1.062789 -2.681331 -0.218819 -- 0 1 O -0.254210 1.611495 -1.293845 H -1.001520 1.163510 -1.690129 H -0.153399 2.411746 -1.809248 -- 0 1 O 1.694541 -0.226287 1.705739 H 0.785920 0.073487 1.677909 H 2.047134 0.150917 2.511706 -- 0 1 O -0.864533 0.522472 1.218817 H -0.694120 1.093542 0.469789 H -1.131418 -0.310426 0.829702 $end $mbe_charges -0.834 0.417 0.417 -0.834 0.417 0.417 -0.834 0.417 0.417 -0.834 0.417 0.417 $end

**Example 12.287** Example showing a 3-body MBCP calculation.

$rem sym_ignore true method B3LYP basis cc-pVDZ many_body_bsse mbcp mbe_bsse_order 3 thresh 14 scf_convergence 7 $end $molecule 0 1 -- 0 1 O -1.126149 -1.748387 -0.423240 H -0.234788 -1.493897 -0.661862 H -1.062789 -2.681331 -0.218819 -- 0 1 O -0.254210 1.611495 -1.293845 H -1.001520 1.163510 -1.690129 H -0.153399 2.411746 -1.809248 -- 0 1 O 1.694541 -0.226287 1.705739 H 0.785920 0.073487 1.677909 H 2.047134 0.150917 2.511706 -- 0 1 O -0.864533 0.522472 1.218817 H -0.694120 1.093542 0.469789 H -1.131418 -0.310426 0.829702 $end

**Example 12.288** Example showing a 3-body FMO calculation.

$rem sym_ignore true method B3LYP basis cc-pVDZ xpol true xpol_mpol_order density frag_mol_orb true fmo_order 3 thresh 14 scf_convergence 7 $end $molecule 0 1 -- 0 1 O -1.126149 -1.748387 -0.423240 H -0.234788 -1.493897 -0.661862 H -1.062789 -2.681331 -0.218819 -- 0 1 O -0.254210 1.611495 -1.293845 H -1.001520 1.163510 -1.690129 H -0.153399 2.411746 -1.809248 -- 0 1 O 1.694541 -0.226287 1.705739 H 0.785920 0.073487 1.677909 H 2.047134 0.150917 2.511706 -- 0 1 O -0.864533 0.522472 1.218817 H -0.694120 1.093542 0.469789 H -1.131418 -0.310426 0.829702 $end