minihf.hamiltonian.integral.electron_repulsion module

class minihf.hamiltonian.integral.electron_repulsion.ElectronRepulsion[source]

Bases: object

The Obara-Saika scheme for three-dimensional nuclear attraction integral over primitive Gaussian orbitals.

__init__(self)[source]

Initialize the instance.

contracted(self, cga, cgb, cgc, cgd)[source]

Evaluate integral over contracted GTOs.

target(self, N, pga, pgb, pgc, pgd)[source]

Obtain the target integral in the Obara-Saika recurrence relations.

recurrence(self, r, N, pga, pgb, pgc, pgd, pga_1, pga_2, pgb_1, pgc_1, pgd_1)[source]

Run the recurrence.

new_gaussian(self, r, pga, pgb, pgc, pgd)[source]

Generate all the new primitive GTOs in the Obara-Saika recurrence relations.

contracted(cga, cgb, cgc, cgd)[source]

Evaluate integral over contracted GTOs.

Parameters:
Returns:

result – Integral value.

Return type:

float

target(N, pga, pgb, pgc, pgd)[source]

Obtain the target integral in the Obara-Saika recurrence relations.

recurrence(r, N, pga, pgb, pgc, pgd, pga_1, pga_2, pgb_1, pgc_1, pgd_1)[source]

Run the recurrence.

new_gaussian(r, pga, pgb, pgc, pgd)[source]

Generate all the new primitive GTOs in the Obara-Saika recurrence relations.

Parameters:
Returns:

result – Tuple of 5 PrimitiveGaussian orbital instance.

Return type:

Tuple(pg,pg,pg,pg,pg)