SeQuenC-Consortium / qunicorn-core

The core component of the Unification Layer
https://qunicorn-core-enpro.readthedocs.io/en/main/
Apache License 2.0
2 stars 1 forks source link

IBMQ Qiskit-Runtime Execution #17

Closed GeorgDaniel closed 11 months ago

GeorgDaniel commented 1 year ago

Problem Statement

As a Developer, I want to execute a whole quantum application in one envorinment, as quantum applications often contain quantum parts and classical parts.


References

Documentation Links (click to expand)

[https://cloud.ibm.com/apidocs/quantum-computing](https://cloud.ibm.com/apidocs/quantum-computing) [https://quantum-computing.ibm.com/lab/docs/iql/runtime/](https://quantum-computing.ibm.com/lab/docs/iql/runtime/)

Goal

The Goal is to include a feature to execute a qiskit-runtime program on a target device where the quantum circuit code together with the classical code is contained in a python file and a JSON-metadata file.

Notes

Check the documentation for API reference.

A prime use-case are Variational Quantum Algorithms, as they benefit from the hybrid execution environment.

Here, the behaviour is explained as a pattern: https://quantumcomputingpatterns.org/#/patterns/6

!!Note, that the Qiskit-Runtime API is different from the IBM/web API.

For a better understanding, here is an excerpt of the Execution Pattern Paper which describes the idea of the two steps of a pre-deployed application:

Use IBM Qasm Simulator (not local)

Execution of uploaded runtime programs results in an authorization error 403

Tasks

Paper Excerpt for (click to expand)

![image](https://user-images.githubusercontent.com/56876774/235129792-6644de9b-ff07-4213-882a-a2b2cb7a842e.png) ![image](https://user-images.githubusercontent.com/56876774/235129886-72be309e-69bd-4b10-a733-745455c79932.png)

PatrickEbner commented 1 year ago

Old estimate: 21

st161630 commented 1 year ago

All subtasks completed (or in Ready for Review)