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
File ~/opt/anaconda3/envs/qiskit-stable/lib/python3.9/site-packages/numpy/core/numeric.py:2287, in isclose(a, b, rtol, atol, equal_nan)
2284 dt = multiarray.result_type(y, 1.)
2285 y = array(y, dtype=dt, copy=False, subok=True)
-> 2287 xfin = isfinite(x)
2288 yfin = isfinite(y)
2289 if all(xfin) and all(yfin):
TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
What should happen?
This works fine if the theta rotation is replaced by a float, i.e. 0.3.
Any suggestions?
The ParameterExpression should be cast to float.
The text was updated successfully, but these errors were encountered:
Environment
What is happening?
See below.
How can we reproduce the issue?
yields
Then,
results in an error:
What should happen?
This works fine if the theta rotation is replaced by a float, i.e.
0.3
.Any suggestions?
The
ParameterExpression
should be cast to float.The text was updated successfully, but these errors were encountered: