munich-quantum-toolkit / munich-quantum-toolkit/core

✨ Extend OpenQASM-to-QC translation

Open
#1,733 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement MLIR
Dominant language
C++
Stars
133
Forks
73
Avg merge
17h 34m
Merged PRs (30d)
261

Description

#1671 has added an initial translation from OpenQASM to the QC dialect. The translation does not yet support all features of OpenQASM.

This issue collects all features we should support. It is expected to grow in the future.

  • Add support for duration type
  • Add support for opaque gate declarations
  • Improve support for include statement (currently, only stdgates.inc and qelib1.inc are supported)

[!IMPORTANT]
Please break out sub-issues as needed when implementing certain bullet points.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #1671 and the existing OpenQASM-to-QC translation to understand the current supported features. Break the requested work into sub-issues for duration, opaque gate declarations, and broader include support, then define completion for each feature before implementing it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.