I am thinking of having a custom multiplication operation CenterDot[A,B] for non-commutative operators, and some rules that should commute the operators to a desired ordering. The calculation would be very time intensive, while manipulations would just be trivial swapping of entries and addition of other entries. Therefore, I wonder if there is any (perhaps hacky?) way to Compile a code of this type in Mathematica? Thanks for any suggestion!
Asked
Active
Viewed 112 times
2
Kagaratsch
- 11,955
- 4
- 25
- 72
CenterDotand a small example on how to use it? – halirutan Dec 06 '17 at 09:13AppendTois compilable. I'll have to think more about it. – Kagaratsch Dec 06 '17 at 14:48