Question: how do i solve the problems in physcis packge

Dear friends,

    The Physics package in Maple is a good tool for quantum physics. However, I came across some problems with the package when I performed a computation. Please see the figure.

The left-hand code (last two lines) shows Amx.Amy.Ket(x,1,1)=”-Ket(x,0,0)”. However, I believe that the answer is wrong; it seems that the negative sign should not be here.

The “am.Ket(B,4)=2ket(B,3)” in the right-hand column is correct, but I just want to do something else. The first thing is, is there some way to replace 2ket(B,3) by “1ket(B,3)”?  in a word ,the coefficient of Ket is one.

The second thing is, when I input Eq. (2) in the Maple, an error occurred, because the negative integer in the equation. How can I deal with the negative integer?

This problems maybe wrong, I still wish friends give me some suggestions. 

Please Wait...