Question: How to setup commutation rules like pauli matrix in Physics Packages

Hello, everyone. I faced some promblems on maple. Hope you can help me.

I want to set up the commutation rules like Pauli sigma matrix in Physics Packages,

but failed to get the correct one.

Here is my maple code:

restart;
with(Physics);
Setup(mathematicalnotation = true);

Setup(quantumop = {Q}, algebrarule = {%AntiCommutator(Q[j], Q[k]) = 2*KroneckerDelta[j, k], %Commutator(Q[j], Q[k]) = 2*I*(Sum(LeviCivita[i, k, l]*Q[l], l = 1 .. 3))});

Commutator(Q[1], Q[2]);
                              
AntiCommutator(Q[1], Q[2]);
                              
AntiCommutator(Q[1], Q[1]);
                              
Commutator(Q[1], Q[1]);

In fact, Commutator(Q[1], Q[2]) give a incorrect result 0 while the correct answer is  2*I*Q[3].

Do anyone know how to resolve this?

Please Wait...