unfold#

unfold(eri, *, validate=True)[fuente]#

Unfolds an electronic integrals tensor to 1-fold symmetries (4-dimensional).

This utility method combines unfold_s4_to_s1() and unfold_s8_to_s1().

Parámetros:
  • eri (Tensor | ndarray | SparseArray) – a 4-, 2- or 1-dimensional array storing electronic integrals.

  • validate (bool) – when set to False, the requirements of eri are not validated.

Devuelve:

A 1-fold symmetric tensor.

Muestra:

NotImplementedError – if eri is of an unsupported dimension.

Tipo del valor devuelto:

S1Integrals