unfold_s4_to_s1#
- unfold_s4_to_s1(eri, *, validate=True)[source]#
Unfolds an 4-fold symmetric tensor to 1-fold symmetries (4-dimensional).
- Parameters:
- Returns:
A 1-fold symmetric tensor.
- Raises:
ValueError – if
eri
is not 2-dimensional.- Return type: