qml.qchem.kinetic_integral

kinetic_integral(basis_a, basis_b)[source]

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

Parameters
  • basis_a (BasisFunction) – first basis function

  • basis_b (BasisFunction) – second basis function

Returns

function that computes the kinetic 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)
>>> alpha = np.array([[3.425250914, 0.6239137298, 0.168855404],
>>>                   [3.425250914, 0.6239137298, 0.168855404]], requires_grad = True)
>>> mol = qml.qchem.Molecule(symbols, geometry, alpha=alpha)
>>> args = [mol.alpha]
>>> kinetic_integral(mol.basis_set[0], mol.basis_set[1])(*args)
0.38325367405312843