qml.qchem.primitive_norm¶
- primitive_norm(l, alpha)[source]¶
Compute the normalization constant for a primitive Gaussian function.
A Gaussian function centred at the position r=(x,y,z) is defined as
G=xlxylyzlze−αr2,where l=(lx,ly,lz) defines the angular momentum quantum number and α is the Gaussian function exponent. The normalization constant for this function is computed as
N(l,α)=(2απ)3/4(4α)(lx+ly+lz)/2(2lx−1)!!(2ly−1)!!(2lz−1)!!)1/2.- Parameters
l (tuple[int]) – angular momentum quantum number of the basis function
alpha (array[float]) – exponent of the primitive Gaussian function
- Returns
normalization coefficient
- Return type
array[float]
Example
>>> l = (0, 0, 0) >>> alpha = np.array([3.425250914]) >>> n = primitive_norm(l, alpha) >>> print(n) array([1.79444183])