The area of molecular integrals with respect to Gaussian basis functions has recently been reviewed [808] and the user is referred to this review for deeper discussions and further references to the general area. The purpose of this short account is to present the basic approach, and in particular, the implementation of ERI algorithms and aspects of interest to the user in the AOInts package which underlies the Q-Chem program.

We begin by observing that all of the integrals encountered in an *ab initio* calculation, of which overlap, kinetic energy, multipole moment, internuclear repulsion, nuclear-electron attraction and inter electron repulsion are the best known, can be written in the general form

(B.1) |

where the basis functions are contracted Gaussian’s (CGTF)

(B.2) |

and the operator is a two-electron operator. Of the two-electron operators (Coulomb, CASE, anti-Coulomb and delta-function) used in the Q-Chem program, the most significant is the Coulomb, which leads us to the ERIs.

An ERI is the classical Coulomb interaction ( in B.1) between two charge distributions referred to as bras and kets .