SUNTrace
SUNTrace[exp]
is the head of color traces. By default the trace is not evaluated. The evaluation occurs only when the option SUNTraceEvaluate
is set to True
. It is recommended to use SUNSimplify
, which will automatically evaluate all color traces involving 2 or 3 matrices in the input expression.
See also
Overview, SUNSimplify, SUNT, SUNTF, SUNF, SUND, SUNTraceEvaluate.
Examples
tr(Ta.Tb)
SUNTrace[SUNT[a, b], SUNTraceEvaluate -> True]
2δab
SUNTrace[SUNT[a, b]] // SUNSimplify
2δab
SUNTrace[SUNT[a, b, c]] // SUNSimplify
4dabc+41ifabc
SUNTrace[SUNT[a, b, c, d]] // SUNSimplify[#, SUNTraceEvaluate -> True, SUNIndexNames -> {j}] &
41δad(CA−2CF)δbc−41δac(CA−2CF)δbd+41δab(CA−2CF)δcd−81ifadjdbcj+81idadjfbcj+81dadjdbcj−81dbdjdacj+81dcdjdabj
SUNTrace[SUNT[a, b, c, a, b, c]] // SUNSimplify
41(CA2+1)CF(CA−2CF)