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 17:50:53 UTC-4, Stefanos Kourtis a écrit :
>
> Hi all,
>
> shouldn't CreateFermion(1)**2 and AnnihilateFermion(1)**2 automatically 
> return zero? Or perhaps simplify to zero? Is there some way to make such 
> terms cancel automatically?
>
> Best,
> Stefanos
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/fbf4b61c-589d-4585-b0ec-36656772dab9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to