munich-quantum-toolkit / munich-quantum-toolkit/bench
✨ Adopt QDMI for representing devices
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 131
- Forks
- 44
- Avg merge
- 2h 3m
- Merged PRs (30d)
- 36
Description
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 https://github.com/cda-tum/mqt-core/issues/772
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the existing Device class and the QDMI support tracked in mqt-core issue 772. Resolve how Python bindings and QDMI drivers should expose the available device libraries, then confirm that mqt-bench can use QDMI implementations without disrupting its current interface.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp, python
- Domain
- quantum-computing, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100