quemb.shared.helper.ravel_eri_idx

quemb.shared.helper.ravel_eri_idx(a, b, c, d)

Return compound index given four indices using Yoshimine sort and assuming 8-fold permutational symmetry

Works element-wise for scalars and for arrays of indices.

Return type:

TypeVar(_T_Integral, bound= int | integer) | GenericAlias[TypeVar(_T_int_dtype, bound= integer)]