Program for Traces of Dirac matrices

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 6K views
PJK
Messages
14
Reaction score
0
Hi all,

I want to calculate traces of Dirac matrices with a program like Mathematica.
I found the package FeynCalc but it seems to be outdated.
It is always producing results like this:
Code:
4 (-(DiracCanonical->False) (Factoring->False) (FeynCalcInternal->True) g^(mu nu) 

(InsideDiracTrace->True) k\[CenterDot]l-l^2 (DiracCanonical->False) (Factoring->False) 

(FeynCalcInternal->True) g^(mu nu) (InsideDiracTrace->True)+m^2 

(DiracCanonical->False) (Factoring->False) (FeynCalcInternal->True) g^(mu nu) 

(InsideDiracTrace->True)+k^nu l^mu (DiracCanonical->False) (Factoring->False) 

(FeynCalcInternal->True) (InsideDiracTrace->True)+k^mu l^nu (DiracCanonical->False) 

(Factoring->False) (FeynCalcInternal->True) (InsideDiracTrace->True)+2 l^mu l^nu 

(DiracCanonical->False) (Factoring->False) (FeynCalcInternal->True) 

(InsideDiracTrace->True))
Which is quite annoying. Even worse I want to use the metric (-1,1,1,1) and there seems to be no support for changing the metric.
Is there a better program/package for doing those calculations?
 
Physics news on Phys.org
Apparently this was a difficult question. But maybe one year later someone has got an idea?
I have the same problem as the one described above.
 
comote said:
I am not too(edit: At all) familiar with the Dirac matrices but following the discussion on

http://mathworld.wolfram.com/DiracMatrices.html

What is wrong with using $Tr(A\otimes B) = Tr(A)Tr(B)$?

Thanks for your input. Of course it would be possible to implement all the Dirac algebra using the functions of Mathematica. That's what the people of FeynCalc did. But since it has already been done, I would rather use it, instead of redoing it myself. And FeynCalc DOES work; its output is just unreadable (as can be seen in the example above).