fold_s4_to_s8#
- fold_s4_to_s8(eri, *, validate=True)[source]#
Folds a 2-dimensional tensor to 8-fold symmetries (1-dimensional).
- Parameters:
- Returns:
An 8-fold symmetric tensor.
- Raises:
ValueError – if
eri
is not 2-dimensional.ValueError – if
eri
is not a symmetric tensor.
- Return type: