Reputation: 1
I am starting out with learning Qutip and was going through the tutorial and introduction examples on their website. However, I am running into the following Type error when I tried to run a function that calculates the commutator of two operators my code
i get the same error when I try to multiple two operators, so I think its an issue with multiplication. error from multiplication
Note: I ran the same code on google colab and it ran without any problem. But when I ran it locally on pycharm and jupyter lab, I get this error. Could some please help me resolve this. Thank you!
I tried searching these errors on google and also tried chatgpt, but wasn't able to resolve it. I have tried reinstalling python, jupyter and qutip, and made sure I ws using the right version of python and numpy required by qutip. But the error still persists
Upvotes: 0
Views: 70