Processing math: 100%

Constructing molecular integrals with derivative on the r_inv operator by partial integration

In quantum chemstry integrals of the following form are sometimes needed:

Fa=ϕi|ar1|ϕj

But these integrals are often not directly available.

What instead is available is integrals of the form:

fa=aϕi|r1|ϕj fa,b=aϕi|r1|bϕj

Let us therefore trb to formulate Fa in terms of fa and fa,b. Now switching the integral notation to the more “regular” notation:

Fa=Ωϕiϕjar1dr

Doing integration by parts:

Fa=[ϕiϕja1r1]ΩΩ(ϕiϕj)a1r1dr

The wave function goes to zero at infinity, therefore the first term is zero:

Fa=Ωϕiϕja1r1drΩϕiϕja1r1dr

Doing integration by parts again:

Fa=([ϕiϕja2r1]ΩΩ(ϕiϕj)a2r1dr)([ϕiϕja2r1]ΩΩ(ϕiϕj)a2r1dr)

The wave function goes to zero at infinity, therefore the first term is zero:

Fa=(Ω2ϕiϕja2r1drΩϕiϕja2r1dr)(Ωϕiϕja2r1drΩϕi2ϕja2r1dr)

Simplifying:

Fa=Ω2ϕiϕja2r1dr+Ωϕi2ϕja2r1dr+2Ωϕiϕja2r1dr

We therefore now have:

F1=ϕi|r1|ϕj=Ωϕiϕjr1drΩϕiϕjr1dr

and,

F2=ϕi|2r1|ϕj=Ω2ϕiϕjr1dr+Ωϕi2ϕjr1dr+2Ωϕiϕjr1dr

I.e. the integrals have been constructed without taking the derivative of r1. How to use these formulas with integrals available from PySCF can be seen here. If hihger derivatives are needed, simply just do partial integration again.

If you enjoyed this post you can donate a coffee , if you like :)