iodata.overlap module

Module for computing overlap of atomic orbital basis functions.

class GaussianOverlap(n_max)[source]

Bases: object

Gaussian Overlap Class.

__init__(n_max)[source]

Initialize class.

Parameters:

n_max (int) – Maximum angular momentum.

compute_overlap_gaussian_1d(x1, x2, n1, n2, two_at)[source]

Compute overlap integral of two Gaussian functions in one-dimensions.

compute_overlap(obasis0, atcoords0, obasis1=None, atcoords1=None)[source]

Compute overlap matrix for the given molecular basis set(s).

\[\braket{\psi_{i}}{\psi_{j}}\]

When only one basis set is given, the overlap matrix of that basis (with itself) is computed. If a second basis set (with its atomic coordinates) is provided, the overlap between the two basis sets is computed.

This function takes into account the requested order of the basis functions in obasis0.conventions (and obasis1.conventions). Note that only L2 normalized primitives are supported at the moment.

Parameters:
  • obasis0 (MolecularBasis) – The orbital basis set.

  • atcoords0 (ndarray) – The atomic Cartesian coordinates (including those of ghost atoms).

  • obasis1 (Optional[MolecularBasis]) – An optional second orbital basis set.

  • atcoords1 (Optional[ndarray]) – An optional second array with atomic Cartesian coordinates (including those of ghost atoms).

Returns:

The matrix with overlap integrals, shape=(obasis0.nbasis, obasis1.nbasis).

Return type:

overlap

gob_cart_normalization(alpha, n)[source]

Compute normalization of exponent.

Parameters:
  • alpha (ndarray) – Gaussian basis exponents

  • n (ndarray) – Cartesian subshell angular momenta

Returns:

The normalization constant for the gaussian cartesian basis.

Return type:

np.ndarray