I am looking for a way to define anti-commuting numbers (variables) in Mathematica. Let say we have a set of four variables like x1,x2,x3,x4 from which I need to get all possible permutations, then multiply them so they appear as a sum as
x1∗x2∗x3∗x4+x1∗x2∗x4∗x3+(22terms)
But these variables are Grassmann anti-commutative, so whenever we interchange any two of them we should get a negative sign, i.e., x1∗x2=−x2∗x1, for example the above expression should appear as
x1∗x2∗x3∗x4−x1∗x2∗x4∗x3+(22terms)
I know how to permute the variables, but I do not know how get their signs correctly. Any ideas?
Comments
Post a Comment