undo_trace

symbolica.community.idenso Function

undo_trace(expression: Expression) -> Expression

Expand trace shorthands while leaving dots, chains, and Schoonschip forms compact.

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