# Malin Sjödahl

Home   Contact Information   Research   Talks   Teaching   ColorMath   ColorFull

# ColorMath

ColorMath is a Mathematica package for symbolically performing color summed calculations in SU(Nc). It is based on advanced pattern matching and uses a syntax which is very similar to how QCD color structure is written on paper.

For a quick start, it is recommended to use the Mathematica notebook ColorMathTutorial1.0.nb. However, the ColorMath paper is recommended for more details and better understanding. ColorMath has been tested with Mathematica 7, 8 and 9, but also seems to work with version 10 and 11. ColorMath is published in EPJC as well as on the Wolfram Library Archive.

# Color bases

For many applications, it is desirable to use color bases for treating the color structure. Below is a selection of multiplet bases as Mathematica .m packages, which can be read in to Mathematica and used with ColorMath. The files are also fairly human readable. More information about the bases can be found by reading the top sections in the respective .m-files.

## Gluon bases

Below are the orthogonal normalized multiplet color bases needed for processes with four, five and six gluons, for any Nc. They come in two versions, one charge conjugation invariant version, and one general version. The invariant bases use that in any pure gluon amplitude, the color structures related by swapping quarks and antiquarks always appear together. These bases are thus sufficient for gluon amplitudes. The larger, non-invariant, versions can be used for building bases with quarks (a gluon can be traded for a quark-antiquark pair) and for more straight forward calculations using Wigner 6j coefficients. Smaller Nc=3 versions of the bases are obtained by crossing out the vectors which do not appear for Nc=3. The bases are valid for any order in perturbation theory.