Special Article - Tools for Experiment and Theory

The European Physical Journal C

, 73:2310

First online:

Open Access This content is freely available online to anyone, anywhere at any time.

ColorMath—a package for color summed calculations in SU(N c )

  • Malin SjödahlAffiliated withDepartment of Astronomy and Theoretical Physics, Lund University Email author 


A Mathematica package for color summed calculations in QCD (SU(N c )) is presented. Color contractions of any color amplitude appearing in QCD may be performed, and the package uses a syntax which is very similar to how color structure is written on paper. It also supports the definition of color vectors and bases, and special functions such as scalar products are defined for such color tensors.