Commutators on Maple

  • #1
Hi!

I'm trying to evaluate some commutators on Maple 12 and so far I have defined the rule for [tex][x_i^\alpha,p_j^\beta]=i\hbar \delta_{ij}\delta^{\alpha,\beta}[/tex], where [tex]i[/tex] denotes a space coordinate and [tex]\alpha[/tex] represents a particle. The code that I used for that is

Setup(quantumop = {p, x}, algebrarule = {%Commutator(x[i, alpha], p[j, beta]) = I* hbar* KroneckerDelta[i, j]* KroneckerDelta[alpha, beta]})

I'm trying to code a similar rule for

[tex][p_i^\alpha,f(x)]=-i\hbar \frac{\partial}{\partial x_i^\alpha}f(x)[/tex], and I tried

Setup(quantumop = {f, p}, algebrarule = {%Commutator(p[i, alpha], f(x)) = -I*hbar* Diff(f(x), x[i, alpha])})

but it doesn't work. Does anyone know how to implement this rule? By the way, how can I implement the Einstein summation convention on Maple?

Thanks for your help.
 

Answers and Replies

Related Threads on Commutators on Maple

  • Last Post
Replies
10
Views
3K
Replies
1
Views
2K
  • Last Post
Replies
11
Views
846
  • Last Post
Replies
9
Views
2K
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
9
Views
3K
  • Last Post
Replies
4
Views
1K
  • Last Post
2
Replies
38
Views
6K
  • Last Post
Replies
6
Views
841
  • Last Post
Replies
3
Views
662
Top