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

Improve backend circuit execution #5717

Closed
woodsp-ibm opened this issue Jun 19, 2020 · 1 comment
Closed

Improve backend circuit execution #5717

woodsp-ibm opened this issue Jun 19, 2020 · 1 comment
Labels
mod: algorithms Related to the Algorithms module

Comments

@woodsp-ibm
Copy link
Member

woodsp-ibm commented Jun 19, 2020

Goal is to "modernise" QuantumInstance and run_circuits logic for execution of circuits on the backend given advances in capability of Terra and IBM Q Provider since some this aforementioned logic was written. This includes areas such as

  1. Moving over to use of the ibm q job manager when the remote provider is IBM Q.
  2. Ensuring we work with other remote providers correctly general question related to AQT simulator and Qiskit. "Attribute error" #5706
  3. More reliable operation with backend Qiskit/qiskit-aqua#910
  4. And in conjunction with 3 above perhaps looking to allow a job to be cancelled and resubmitted on behalf of an algorithm when the job seems to be stuck. Not sure how much this is catered to in 1 above. But since a variational algo can send in many jobs having it get stuck as it progress and having to restart the entire algo is less than desirable. Auto-recovery needs to be looked at but maybe it (also) can be done in conjunction with some user supplied code in a the job monitor callback which would signal to cancel/retry.
  5. Algorithms can require multiple circuits; since there is a backend limit on experiments per job currently they are split into multiple jobs if the limit is exceeded. Some like QuantumKernel do a circuit for each data pair and group by a batch size. If the grouping is more for execution efficiency rather than algorithmic reasons it might be better to inform such grouping via the QI rather than expect an end user to know things like max experiments and have to configure things manually (in QK case via some batch size param)

These are related to improving execution etc too

@woodsp-ibm woodsp-ibm transferred this issue from qiskit-community/qiskit-aqua Jan 26, 2021
@woodsp-ibm woodsp-ibm added the mod: algorithms Related to the Algorithms module label Jan 26, 2021
@woodsp-ibm woodsp-ibm added type: epic A theme of work that contain sub-tasks Epic and removed type: epic A theme of work that contain sub-tasks labels May 18, 2021
@woodsp-ibm
Copy link
Member Author

Algorithms have been refactored over to use primitives and circuit execution etc is now handled by these. As such I am closing this issue.

@woodsp-ibm woodsp-ibm closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod: algorithms Related to the Algorithms module
Projects
None yet
Development

No branches or pull requests

1 participant