qml.qchem.hermite_moment¶
- hermite_moment(alpha, beta, t, order, r)[source]¶
Compute the Hermite moment integral recursively.
The Hermite moment integral in one dimension is defined as
Met=∫+∞−∞qeΛtdq,where e is a positive integer, that is represented by the
order
argument, q=x,y,z is the coordinate at which the integral is evaluatedand and Λt is the t component of the Hermite Gaussian function. The integral can be computed recursively as [Helgaker (1995) p802]Me+1t=tMet−1+QMet+12pMet+1,where Q is the distance between the center of the Hermite Gaussian function and the origin, at dimension q=x,y,z of the Cartesian coordinates system.
This integral is zero for t>e and the base case solution is
M0t=δt0√πp,where p=α+β and α,β are the exponents of the Gaussian functions that construct the Hermite Gaussian function Λ.
- Parameters
alpha (array[float]) – exponent of the left Gaussian function
beta (array[float]) – exponent of the right Gaussian function
t (integer) – order of the Hermite Gaussian function
order (integer) – exponent of the position component
r (array[float]) – distance between the center of the Hermite Gaussian function and the origin
- Returns
the Hermite moment integral
- Return type
array[float]
Example
>>> alpha = np.array([3.42525091]) >>> beta = np.array([3.42525091]) >>> t = 0 >>> order = 1 >>> r = 1.5 >>> hermite_moment(alpha, beta, t, order, r) array([1.0157925])