undo_chain

symbolica.community.idenso Function

undo_chain(expression: Expression) -> Expression

Expand open-chain shorthands while leaving dots, traces, and Schoonschip forms compact.

Raises NetworkToolingError when the expression is not a valid tensor network or evaluation fails.