Dear Wolfram Community,
I hope this message finds you well. I require some assistance with a problem I encountered while using Wolfram Mathematica.
I have been trying to resolve problem 1.1 from the second edition of Sakurai’s Modern Quantum Mechanics, using Mathematica. The problem’s solution is shown below:
Here is the code I have been using:
In[3]:= commutator[x_, y_] := x ** y - y ** x
In[9]:= A ** commutator[C, B] ** D - A ** C ** commutator[D, B] +
commutator[C, A] ** D ** B -
C ** commutator[D, A] ** B // FullSimplify
Out[9]= -A ** C ** (-B ** D + D ** B) + A ** (-B ** C + C ** B) ** D -
C ** (-A ** D + D ** A) ** B + (-A ** C + C ** A) ** D ** B
However, I’m unsure as to why the result isn’t further expandable and simplifiable. Am I missing something here? Any insights into this issue would greatly be appreciated.
Thank you for taking the time to read my query. I look forward to hearing from you soon.
Best regards,
Zhao

