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
I am doing a problem where parameters would be assigned very frequently, and the performance is not quite satisfactory. After profiling I found that subs (from sympy) counts for 1.84s out of 2.09s in QuantumCircuit._bind_parameter during my profiled session. It even takes more time than the simulation itself (0.13s), which is not acceptable.
In most cases (where the expression is a single variable), there could be some shortcuts that moves away from the costly symbolic operations.
The text was updated successfully, but these errors were encountered:
What is the expected enhancement?
I am doing a problem where parameters would be assigned very frequently, and the performance is not quite satisfactory. After profiling I found that
subs
(fromsympy
) counts for 1.84s out of 2.09s inQuantumCircuit._bind_parameter
during my profiled session. It even takes more time than the simulation itself (0.13s), which is not acceptable.In most cases (where the expression is a single variable), there could be some shortcuts that moves away from the costly symbolic operations.
The text was updated successfully, but these errors were encountered: