You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The anticommutator function does not simplify to 0 for majoranaoperators with multiple arguments if their arguments are different, but it correctly simplifies to 1 for the cases with the same arguments.
Steps to Reproduce:
Load the SNEG package and define Majorana operators:
<<sneg`sneg`;snegmajoranaoperators[gamma];
Compute the anticommutator of two Majorana operators with multiple arguments:
Description:
The
anticommutator
function does not simplify to 0 formajoranaoperators
with multiple arguments if their arguments are different, but it correctly simplifies to 1 for the cases with the same arguments.Steps to Reproduce:
Load the SNEG package and define Majorana operators:
Compute the anticommutator of two Majorana operators with multiple arguments:
Observe the result:
My workaround is to convert majorana operators with multiple arguments to operators with a single argument, see the following.
Define a custom Majorana operator using a delayed function and compute the anticommutator:
Observe the result:
Version: sneg 2.0.5
The text was updated successfully, but these errors were encountered: