libint2_supports

psi4.driver.p4util.libint2_supports(am, der=0, centers=4)[source]

Does the linked Libint2 support 2-, 3-, or 4-centers ERIs of angular momentum am and derivative der.

Parameters:
  • am (int) – Angular momentum of every center, 0 (s) through 20 (z).

  • der (int) – Derivative order, 0 (energy), 1 (gradient), or 2 (Hessian).

  • centers (int) – Number of centers in the ERI: 2, 3, or 4. Note that for 3-center, this probes the single auxiliary AM, not the paired AO indices. For finer control, use psi4.core.libint2_supports directly.

Returns:

Whether the linked Libint2 was built with that integral class. False means unsupported by this build, never invalid query.

Return type:

bool

Raises:

ValidationError – If any argument is not an integer or is out of range.