Multiplying QuTip Operators by Sympy Symbols

463 views
Skip to first unread message

taylo...@g.harvard.edu

unread,
Jun 14, 2018, 2:42:56 PM6/14/18
to QuTiP: Quantum Toolbox in Python
I would like to solve equations while leaving my scalars symbolic. However, whenever I define

A=symbols('A')

for instance, and then try

sigmam()*A

I receive the following type error: Incompatible object for multiplication.

How can I use symbolic scalars, from Sympy or otherwise, in conjunction with QuTip operators?

Paul Nation

unread,
Jun 14, 2018, 2:59:34 PM6/14/18
to qu...@googlegroups.com
At present you cannot.

-P

--
You received this message because you are subscribed to the Google Groups "QuTiP: Quantum Toolbox in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qutip+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

taylo...@g.harvard.edu

unread,
Jun 14, 2018, 3:00:30 PM6/14/18
to QuTiP: Quantum Toolbox in Python
SymPy physics package it is then! Thanks, Paul.
Reply all
Reply to author
Forward
0 new messages