SUNDelta[a, b]
is the Kronecker-delta for SU(N) with color indices a
and b
in the adjoint representation.
Overview, ExplicitSUNIndex, SD, SUNF, SUNIndex, SUNSimplify, Trick.
[SUNIndex[a], SUNIndex[b]] SUNDelta
\delta ^{ab}
[SUNIndex[a], SUNIndex[b]] SUNDelta[SUNIndex[b], SUNIndex[c]]
SUNDelta
[%] SUNSimplify
\delta ^{ab} \delta ^{bc}
\delta ^{ac}
[SUNIndex[a], SUNIndex[b]] // StandardForm
SUNDelta
(*SUNDelta[SUNIndex[a], SUNIndex[b]]*)
[SUNIndex[a], SUNIndex[b]] // FCI // FCE // StandardForm
SUNDelta
(*SD[a, b]*)
[a, b] // FCI // StandardForm
SD
(*SUNDelta[SUNIndex[a], SUNIndex[b]]*)
The arguments of SUNDelta
may also represent explicit integer indices via the head ExplictiSUNIndex
. The difference is that SUNSimplify
will only sum over symbolic indices.
= SUNDelta[SUNIndex[a], ExplicitSUNIndex[2]] SUNDelta[SUNIndex[a], SUNIndex[b]] SUNDelta[SUNIndex[c], ExplicitSUNIndex[2]] // SUNSimplify ex
\delta ^{2b} \delta ^{2c}
// StandardForm
ex
(*SUNDelta[ExplicitSUNIndex[2], SUNIndex[b]] SUNDelta[ExplicitSUNIndex[2], SUNIndex[c]]*)
[1, 2] // FCI // StandardForm
SD
(*SUNDelta[ExplicitSUNIndex[1], ExplicitSUNIndex[2]]*)