Closed adekusar-drl closed 1 year ago
Thank you for your reporting. Please try the latest main branch because https://github.com/Qiskit/qiskit-aer/commit/269fbce8ef659a951c7a471d21237e3aa549be38 fixes this issue.
Updated my environment to Aer from the sources. The problem is still there. If I uncomment # qc = qc.decompose(reps=3)
the issue is still the same. Unfortunately, I cannot reopen this issue.
Informations
What is the current behavior?
Aer Estimator fails on complex circuits when reference Estimator works well.
A similar issue is filed here: https://github.com/Qiskit/qiskit-ibm-runtime/issues/809, I think they are related, but the circuit in that issue can be executed by Aer Estimator.
The Sampler primitive is subject to the same problem, I think.
Steps to reproduce the problem
Run the script:
I get a stack trace:
If the line
# qc = qc.decompose(reps=3)
is uncommented, I get a slightly different error that might shed a light on the problem. Here is this stack trace:What is the expected behavior?
No error is risen.