You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can be found all over dynamics.py (and other optimization related files). This is done to distinguish between "dense" and "sparse" representations.
The new data layer structure in v5, however, supports both types within the Qobj class.
Therefore dynamics.py and related tests should be adapted to the v5 changes.
The text was updated successfully, but these errors were encountered:
flowerthrower
changed the title
Refactoring dynamics.py to use dense and sparse format of v5 Qobj
Refactoring of optimization to use dense and sparse format of v5 Qobj
Aug 25, 2023
Thanks for raising this. When tackling this, one should remember that the checks for if dtype == ... are dotted around in other files too, so best to grep around and check.
Checks like
can be found all over
dynamics.py
(and other optimization related files). This is done to distinguish between "dense" and "sparse" representations.The new data layer structure in v5, however, supports both types within the Qobj class.
Therefore
dynamics.py
and related tests should be adapted to the v5 changes.The text was updated successfully, but these errors were encountered: