Hi,
My sympy-foo is a bit rusty now, but I think you would have to implement
this in core.Pow to get automatic simplification of that expression.
However, there may be good reasons to avoid putting all kinds of special
cases into the core module.
The terms should vanish when you apply Wick's th
Hi,
Yes, I believe you are right and the square (or any even power) of these
operators should always simplify to zero. I am not sure how to do that
though...
Any experimented SymPy person, could a proper implementation of _eval_power
yield the desired behaviour ?
Jerome
Le mardi 12 mai 2015