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

✨ Adopt QDMI for representing devices #438

Open
burgholzer opened this issue Dec 3, 2024 · 0 comments
Open

✨ Adopt QDMI for representing devices #438

burgholzer opened this issue Dec 3, 2024 · 0 comments
Labels
feature New feature or request mqt.bench Issues that affect mqt.bench python Pull requests that update Python code

Comments

@burgholzer
Copy link
Member

What's the problem this feature will solve?

Right now, we maintain a rather proprietary interface for devices in MQT Bench.
QDMI, which is available at https://github.com/Munich-Quantum-Software-Stack/QDMI, provides a standardised interface for querying and controlling quantum devices.
It forms a central part of the Munich Quantum Software Stack (MQSS).

Adopting QDMI allows us to directly connect device implementations created as part of the MQSS (and beyond) to mqt-bench and use them for creating benchmarks for these systems.
It also gets rid of our own device representation code and, hopefully, leads to more unification of these concepts across the MQT and the MQSS.

Describe the solution you'd like

The existing device class should be replaced by QDMI.
This sounds simpler as it is in practice, as there are several open questions left to address. QDMI is a C interface, with implementations in C or C++. As of the time creating this issue, there are no Python bindings for QDMI. In addition, it is not 100% clear, how the concept of a QDMI driver that provides access to the available shared libraries translates to Python.

In a best-case scenario, we can use the Device class interface from mqt-bench and simply swap it out for Python bindings of QDMI without disrupting most of mqt-bench.
I have a feeling that it might not be that easy though.
QDMI support within the MQT is tracked in mqt-core as part of cda-tum/mqt-core#772

@burgholzer burgholzer added python Pull requests that update Python code feature New feature or request mqt.bench Issues that affect mqt.bench labels Dec 3, 2024
@github-project-automation github-project-automation bot moved this to In Progress in MQT Applications Dec 3, 2024
@github-project-automation github-project-automation bot moved this to In Progress in MQT Dec 3, 2024
@burgholzer burgholzer moved this from In Progress to Todo in MQT Dec 3, 2024
@burgholzer burgholzer moved this from In Progress to Todo in MQT Applications Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request mqt.bench Issues that affect mqt.bench python Pull requests that update Python code
Projects
Status: Todo
Status: Todo
Development

No branches or pull requests

1 participant