qml.qchem.overlap_integral

overlap_integral(basis_a, basis_b)[source]

Return a function that computes the overlap integral for two contracted Gaussian functions.

Parameters
  • basis_a (BasisFunction) – first basis function

  • basis_b (BasisFunction) – second basis function

Returns

function that computes the overlap integral

Return type

function

Example

>>> symbols  = ['H', 'H']
>>> geometry = np.array([[0.0, 0.0, 0.0], [0.0, 0.0, 1.0]], requires_grad = False)
>>> mol = qml.qchem.Molecule(symbols, geometry)
>>> args = []
>>> overlap_integral(mol.basis_set[0], mol.basis_set[0])(*args)
1.0