unfold_s8_to_s4#

unfold_s8_to_s4(eri, *, validate=True)[source]#

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

প্যারামিটার:
  • eri (Tensor | ndarray | SparseArray) -- the 1-dimensional tensor to unfold.

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

রিটার্নস:

A 4-fold symmetric tensor.

রেইজেস:

ValueError -- if eri is not 1-dimensional.

রিটার্ন টাইপ:

S4Integrals