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

✨ QIR support on mapped level #437

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

✨ QIR support on mapped level #437

burgholzer opened this issue Dec 3, 2024 · 4 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?

It would be great to additionally offer circuits on the mapped level as QIR in addition to QASM. At that level, it should also be guaranteed that the respective circuit can be represented in QIR. The same might not be true for higher levels in MQT Bench.

One immediate advantage of adding this is the ability to test QIR-based frameworks and tools.

Describe the solution you'd like

The mqt-bench Python package as well as the CLI should be able to generate QIR code.
Possible tools for making this possible are

Given how we will be exporting to OpenQASM 3 soon anyway, we might opt to simply rely on the qBraid solution to further translate the QASM file to QIR. Although I am slightly afraid that this process might not be fully lossless, I believe it should be fine at the mapped level.

We could think about extending this to

  • the native-gates level (should be more or less easily possible)
  • the target-independent level (might be possible for some of the programs, but probably not all. For example, multi-controlled Toffoli gates)
@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
@echavarria-lrz
Copy link

Are there any plans to also add QIR support at the Native Gates Level to MQT Bench?

@burgholzer
Copy link
Member Author

Are there any plans to also add QIR support at the Native Gates Level to MQT Bench?

Just quoting from above 😉👆🏼

We could think about extending this to

  • the native-gates level (should be more or less easily possible)

@echavarria-lrz
Copy link

Welp! I will open an issue requesting this as we are very interested at the LRZ about this. Thanks Lukas

@burgholzer
Copy link
Member Author

Welp! I will open an issue requesting this as we are very interested at the LRZ about this. Thanks Lukas

Sounds good. Feel free to go ahead and create the issue 👍🏼
Pretty sure we might be able to deal with both issues at the same time.

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

2 participants