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

✨ Quake support on Mapped and Native Gates Levels #440

Open
echavarria-lrz opened this issue Dec 5, 2024 · 5 comments
Open

✨ Quake support on Mapped and Native Gates Levels #440

echavarria-lrz opened this issue Dec 5, 2024 · 5 comments
Labels
feature New feature or request mqt.bench Issues that affect mqt.bench python Pull requests that update Python code

Comments

@echavarria-lrz
Copy link

What's the problem this feature will solve?

The MQSS is transitioning from QIR to Quake. To test the compiler passes we are developing, we need appropriate benchmarks.

Describe the solution you'd like

Add functionality to generate and export Quake benchmarks, similar to the existing support for QASM and TKET.

@github-project-automation github-project-automation bot moved this to In Progress in MQT Applications Dec 5, 2024
@burgholzer burgholzer added this to MQT Dec 5, 2024
@github-project-automation github-project-automation bot moved this to In Progress in MQT Dec 5, 2024
@burgholzer burgholzer moved this from In Progress to Todo in MQT Dec 5, 2024
@burgholzer burgholzer moved this from In Progress to Todo in MQT Applications Dec 5, 2024
@burgholzer burgholzer added python Pull requests that update Python code feature New feature or request mqt.bench Issues that affect mqt.bench labels Dec 5, 2024
@burgholzer
Copy link
Member

Thanks for creating this issue! I believe this should be feasible in general.
Although it is much harder to support as it is to support QIR.
A quick Google search has not brought up any existing way of feeding a Qiskit QuantumCircuit into cuda-q that would allow us to dump the respective IR.
That's not saying this isn't possible per-se. It just means, we would have to build and maintain that.
Happy to know if you have any ideas in that regard.

@YouAndre
Copy link

YouAndre commented Jan 30, 2025

Update on Quake Support:
Hi I also would need a quake version for my Project part of the MQSS.
could you give us an update how far the progress is ?
Thank you

@kayaercument
Copy link

Hello Lukas 👋

Is there any update regarding this issue? We really would like to use this feature to validate MLIR Passes and benchmarking the devices.

@burgholzer
Copy link
Member

Hey @YouAndre and @kayaercument 👋🏻

Thanks for your interest in this feature. This is still on our shortlist of features to implement. However, #429 is higher up on the list currently and I need to find some time to properly review it.

In general, the feature here shouldn't be too hard to realize assuming that cuda-q offers some way to read in OpenQASM or Qiskit circuits and dump the respective MLIR code.
Do any of you have experience with that and could provide a minimal working example here? I am happy to take it from there and integrate it into MQT Bench.

@echavarria-lrz
Copy link
Author

Perhaps @mletras89 can chip in

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

4 participants