Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EstimatorV2 jobs are not async #2260

Open
nonhermitian opened this issue Nov 15, 2024 · 0 comments
Open

EstimatorV2 jobs are not async #2260

nonhermitian opened this issue Nov 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nonhermitian
Copy link
Contributor

Informations

  • Qiskit Aer version: latest
  • Python version:
  • Operating system:

What is the current behavior?

The EstimatorV2 run call waits for results to come back in the main Python thread, thus blocking any further work.

Steps to reproduce the problem

Any call to EstimatorV2

What is the expected behavior?

Calls to run return a job, but otherwise do not block the main process.

Suggested solutions

Remove the internal calls that wait on the results

@nonhermitian nonhermitian added the bug Something isn't working label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant