unfold_s4_to_s1#

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

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