💥 Align compiler terminology and public names - #2519
Merged
Merged
Conversation
Use version-generic OpenQASM import names and distinguish compiler capabilities, IR operations, dialect conversions, and serialized programs. Apply the approved clean renames before the v4 release and update all callers, tests, generated stubs, documentation, and audit records. Remove the redundant gate-emission forwarding helper found during review. Assisted-by: Codex
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
burgholzer
commented
Sep 11, 2026
burgholzer
left a comment
Member
Author
There was a problem hiding this comment.
This feels like a pretty solid coverage and streamlining of the terminology for now. I'll get this in now to avoid large conflicts 🚀
This was referenced Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 AI text below 🤖
Description
Align the compiler-facing C++, Python, CLI, diagnostics, and documentation with the glossary and the naming decisions in #2251 and PR #2149. OpenQASM import now uses version-generic names for its supported versionless, 2.0, 3.0, and 3.1 inputs. Target metadata is
CompilerTarget.OperationCapability/CompilerTarget::OperationCapability, andmqt-ccadvertises and defaults to--emit=qc.These are clean renames of unreleased v4 interfaces: old import spellings and CLI aliases are removed. The audit and migration table records all replacements, downstream checks, and retained terminology. All in-tree callers, binding patterns, generated stubs, tests, and examples are updated.
Correct jeff conversion versus serialization, barrier operations, canonicalization patterns, conversion targets, linear ownership, and static entry-point gate counts. Compilation behavior and the accepted language subset are preserved. The requested Ponytail review removed one forwarding helper and found no remaining complexity to cut. No dependencies are added.
Local validation:
The existing v4 changelog entry and upgrade-guide examples use the final terminology.
Codex assisted with the audit, implementation, tests, review, and this description. Human review remains required before merge.
Fixes #2251
Checklist
If PR contains AI-assisted content:
🤖 *AI text below* 🤖(titles are exempt).