unfold_s4_to_s1#

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

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

パラメータ:
  • eri (Tensor | ndarray | SparseArray) – the 2-dimensional tensor to unfold.

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

戻り値:

A 1-fold symmetric tensor.

例外:

ValueError – if eri is not 2-dimensional.

戻り値の型:

S1Integrals