qutech / qupulse

Quantum Computing Toolkit for Qubit Control
56 stars 31 forks source link

Investigate using symengine #572

Open terrorfisch opened 3 years ago

terrorfisch commented 3 years ago

https://github.com/symengine/symengine.py

Looks easily adaptable. Some features are missing, but this probably is not a roadblocker. A lot of sympy's features is not used anyways. I propose defining a set of operations that is supported on any system so one can be sure that a pulse works independent of the used backend while still using sophisticated features if porability is no concern.

A problem could be the implementation of vector valued expressions. This is already hacky in sympy. If I see this correctly symengine only allows matricies there is symarray.

Will using symengine actually be faster?

TODO:

terrorfisch commented 3 years ago

Supported Expressions:

Custom functions: