xnn.ffnn.models.amoeba.two_center#

xnn.ffnn.models.amoeba.two_center(R, zi, zk, order, kernel, deficit=False)[source]#

The ladder of a two-center kernel (overlap_coulomb_kernel() or squared_overlap()), or its deficit, with its series in the exponent difference where |zeta_i - zeta_k| R is small (equal exponents included) and its closed form elsewhere. Each form runs on its own pairs, which takes a host synchronization; on a GPU inside the fused path, a compiled region or a CUDA-graph capture both forms run on every pair instead (two_center_ladder()).

Parameters:
Return type:

list[Tensor]