Skip to content

[qasm2-quake] Added a qasm2 to cudaq-quake translator - #68

Merged
akshay9594 merged 1 commit into
developfrom
akshay/qasm2-to-quake
Nov 2, 2026
Merged

akshay9594 merged 1 commit into
developfrom
akshay/qasm2-to-quake

Conversation

@akshay9594

Copy link
Copy Markdown
Collaborator

Summary

Qasm2 to Quake translation might be required when certain front-ends only provide qasm2 input.
Added a translation pass for doing this. Provided a CLI as well as library interface (for QRM&CI).

Type of change

  • Bug fix
  • New feature / pass
  • Refactor (no behavior change)
  • Documentation only
  • Tests only

Testing

  • Added or updated tests in tests/dialects and/or tests/code
  • make test-dialects and make test-interfaces passes locally
  • make test-all passes locally (if this touches cudaq-quake/mqss-cc)
  • pre-commit run --all-files passes locally

Checklist

  • PR targets develop
  • Commit messages are meaningful and follow CONTRIBUTING.md
  • This PR is focused on a single pass/bug/feature (unrelated changes split out)
  • AI coding agents were used for parts of this change — disclosed in the PR description (see
    CONTRIBUTING.md)
  • Claude Code was used in the development of the code in this PR.

- The pass lives in `lib/Translation/QASM2ToQuake.cpp`
- The pass is exposed via the `translation::translateQASM2ToQuake` interface
- Added documentation in docs/user_guide/qasm2-input.md which covers the
caveats of the current pass implementation
@akshay9594
akshay9594 marked this pull request as ready for review October 30, 2026 17:11
@akshay9594
akshay9594 merged commit e713ef6 into develop Nov 2, 2026
6 checks passed
@akshay9594
akshay9594 deleted the akshay/qasm2-to-quake branch November 2, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant