1
$\begingroup$

I am trying to multiply a symbol with a matrix which is defined by QuTip quantum object, but I got this error:

TypeError: Incompatible object for multiplication

I used:

from qutip import *
import sympy as sp
w0 = sp.Symbol('\omega_{0}')
w0*destroy(4)

Did I miss something?

$\endgroup$
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.