ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 18 Dec 2011 10:32:22 +0100Is there a way of doing gamma matrix manipulation in sage?https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/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
http://library.wolfram.com/infocenter/MathSource/2987/
package but does not dependent on Mathematica. Thu, 15 Dec 2011 17:31:54 +0100https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/Answer by tririver for <p>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 </p>
<p><a href="http://library.wolfram.com/infocenter/MathSource/2987/">http://library.wolfram.com/infocenter...</a></p>
<p>package but does not dependent on Mathematica. </p>
https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/?answer=13026#post-id-13026I 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 ;)Fri, 16 Dec 2011 07:17:41 +0100https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/?answer=13026#post-id-13026Answer by Volker Braun for <p>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 </p>
<p><a href="http://library.wolfram.com/infocenter/MathSource/2987/">http://library.wolfram.com/infocenter...</a></p>
<p>package but does not dependent on Mathematica. </p>
https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/?answer=13029#post-id-13029With the just-finished plural wrapper for Sage http://trac.sagemath.org/sage_trac/ticket/4539 you could also implement the (non-commutative) algebra of gamma matrices in an abstract way.
Fri, 16 Dec 2011 09:50:06 +0100https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/?answer=13029#post-id-13029Comment by Volker Braun for <p>With the just-finished plural wrapper for Sage <a href="http://trac.sagemath.org/sage_trac/ticket/4539">http://trac.sagemath.org/sage_trac/ti...</a> you could also implement the (non-commutative) algebra of gamma matrices in an abstract way. </p>
https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/?comment=20692#post-id-20692I think it would be a good addition to Sage ;-)Sun, 18 Dec 2011 10:32:22 +0100https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/?comment=20692#post-id-20692Comment by Volker Braun for <p>With the just-finished plural wrapper for Sage <a href="http://trac.sagemath.org/sage_trac/ticket/4539">http://trac.sagemath.org/sage_trac/ti...</a> you could also implement the (non-commutative) algebra of gamma matrices in an abstract way. </p>
https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/?comment=20696#post-id-20696I'm a particle physicist, too :-PSat, 17 Dec 2011 06:36:40 +0100https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/?comment=20696#post-id-20696Comment by Shashank for <p>With the just-finished plural wrapper for Sage <a href="http://trac.sagemath.org/sage_trac/ticket/4539">http://trac.sagemath.org/sage_trac/ti...</a> you could also implement the (non-commutative) algebra of gamma matrices in an abstract way. </p>
https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/?comment=20697#post-id-20697I 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.Fri, 16 Dec 2011 15:15:22 +0100https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/?comment=20697#post-id-20697Comment by Shashank for <p>With the just-finished plural wrapper for Sage <a href="http://trac.sagemath.org/sage_trac/ticket/4539">http://trac.sagemath.org/sage_trac/ti...</a> you could also implement the (non-commutative) algebra of gamma matrices in an abstract way. </p>
https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/?comment=20695#post-id-20695Cool! 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.Sat, 17 Dec 2011 16:05:46 +0100https://ask.sagemath.org/question/8559/is-there-a-way-of-doing-gamma-matrix-manipulation-in-sage/?comment=20695#post-id-20695