TypeError: EvalfMixin.evalf() got an unexpected keyword argument 'real'
hit in transpile
#12144
Labels
bug
Something isn't working
Environment
What is happening?
When transpiling the circuit shown below, we hit
TypeError: EvalfMixin.evalf() got an unexpected keyword argument 'real'
See
qiskit/qiskit/circuit/parameterexpression.py
Line 528 in 2cbbe2b
How can we reproduce the issue?
What should happen?
No error should show up and the transpile should work?
Any suggestions?
It might be possible to use the chop parameter instead of real, but I am not sure what the intended result should be.
More details at: https://docs.sympy.org/latest/modules/core.html#sympy.core.evalf.EvalfMixin.evalf
The text was updated successfully, but these errors were encountered: