Question: Using Physics[diff]

Hi:

I am having trouble with the Physics[diff] operator.

restart:
with(Physics):

#Setup noncommutative operators:
Setup(noncommutativeprefix = {P, H, rho});
              [noncommutativeprefix = {H, P, rho}]

#this works:
diff(P(t),t);
                    
#even more complicated stuff works:
diff(expand(Commutator(H(t), rho(t))), t);

#But this does not:
diff(Dagger(P(t)), t);

#get error:
#Error, (in diff/function/D) not implemented derivative w.r.t the noncommutative variable P(t)

Does anyone know how to get around this? Is this a bug?

I have treid maple 15 and 16 on linux 64bit.

thanks

Please Wait...