auto_contractor.contract_simplify¶
- auto_contractor.contract_simplify(*exprs, is_isospin_symmetric_limit=True, diagram_type_dict=None)[source]¶
interface function
exprs = [ expr, (expr, *included_types,), ... ]In case
diagram_type_dictis notNone, perform the following filter. Ifdiagram_type_dict[diagram_type]isNone: term is removed. For(expr, *included_types,), only terms (inexpr) withdiagram_typethat is inincluded_typesis kept. included_types should be a list/tuple of string. Seefilter_diagram_typefor more details.