unfold#

unfold(eri, *, validate=True)[ソース]#

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

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

パラメータ:
  • 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.

戻り値:

A 1-fold symmetric tensor.

例外:

NotImplementedError – if eri is of an unsupported dimension.

戻り値の型:

S1Integrals