Ask Your Question

Is there a way of doing gamma matrix manipulation in sage?

asked 2011-12-15 17:31:54 +0200

Shashank gravatar image

updated 2011-12-15 17:38:43 +0200

I am searching for a sage/python based way of manipulating gamma matrices and trace calculation (Particle Physics). Basically, I am searching for a package/module that does what this

package but does not dependent on Mathematica.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2011-12-16 09:50:06 +0200

Volker Braun gravatar image

With the just-finished plural wrapper for Sage you could also implement the (non-commutative) algebra of gamma matrices in an abstract way.

edit flag offensive delete link more


I don't have much experience with sage development, also I am not a mathematician as you may have guessed. But, I will try to see whether I can start developing a package for sage which does gamma matrix manipulation. Any suggestions or guidelines are most welcome.

Shashank gravatar imageShashank ( 2011-12-16 15:15:22 +0200 )edit

I'm a particle physicist, too :-P

Volker Braun gravatar imageVolker Braun ( 2011-12-17 06:36:40 +0200 )edit

Cool! As I mentioned before I am not very familiar with sage development, but I am quite familiar with Python/C++. Do you think its worth spending some time to implement a tracer like module for sage? I am not sure how difficult it is. But I think it would be useful. It pains me to see the amount of money being spent every year on buying Mathematica in my department and the reason people are reluctant to switch to sage is because they are not sure they can use packages like tracer. I have completely stopped using Mathematica for a few months now. Had to go back to Mathematica just because of trace calculations.

Shashank gravatar imageShashank ( 2011-12-17 16:05:46 +0200 )edit

I think it would be a good addition to Sage ;-)

Volker Braun gravatar imageVolker Braun ( 2011-12-18 10:32:22 +0200 )edit

answered 2011-12-16 07:17:41 +0200

I don't know a good answer. But do you want to find a general package or you want to find a way to write something yourself? If latter, you may use explicit representations of Gamma matrices, for example, defined in 4d in Peskin's QFT book or in a general integer dimension in Polchinski's String theory book. In this case the gamma matrices are explicit matrices thus every calculation is straightforward.

On the other hand, if you want to do something more abstract, non-commutative rings (or groups?) may help. But currently I haven't fully understood Sage's construction about rings and groups yet.

As another suggestion, you may want to ask the question more explicitly. Otherwise only particle physicists could understand your question ;)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2011-12-15 17:31:54 +0200

Seen: 2,081 times

Last updated: Dec 16 '11