Skip to content

QASM Profile Pragma #2612

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

Merged
merged 13 commits into from
Jul 24, 2025
Merged

QASM Profile Pragma #2612

merged 13 commits into from
Jul 24, 2025

Conversation

ScottCarda-MS
Copy link
Contributor

@ScottCarda-MS ScottCarda-MS commented Jul 17, 2025

Adds the #pragma qdk.qir.profile pragma to our QASM compiler. This pragma is used to specify the profile to compile the QASM file with, i.e. #pragma qdk.qir.profile Base to have the file compile with the Base profile. QASM files are always compiled with the profile specified by their source with this pragma. If no pragma is provided, the compilation will default to Unrestricted.

The PR is built on top of and relies on #2591

@ScottCarda-MS ScottCarda-MS changed the title Sccarda/qasm profiles QASM Profile Pragma Jul 17, 2025
@ScottCarda-MS ScottCarda-MS changed the base branch from main to sccarda/SingleFileProfiles July 17, 2025 21:56
@ScottCarda-MS ScottCarda-MS changed the base branch from sccarda/SingleFileProfiles to main July 17, 2025 21:57
@ScottCarda-MS ScottCarda-MS force-pushed the sccarda/QasmProfiles branch from 9197df6 to 2bd45d6 Compare July 22, 2025 19:10
@ScottCarda-MS ScottCarda-MS marked this pull request as ready for review July 22, 2025 19:26
@ScottCarda-MS ScottCarda-MS enabled auto-merge July 23, 2025 23:36
@ScottCarda-MS ScottCarda-MS added this pull request to the merge queue Jul 23, 2025
Merged via the queue into main with commit 5202db9 Jul 24, 2025
26 of 32 checks passed
@ScottCarda-MS ScottCarda-MS deleted the sccarda/QasmProfiles branch July 24, 2025 00:06
ScottCarda-MS added a commit that referenced this pull request Jul 24, 2025
github-merge-queue bot pushed a commit that referenced this pull request Jul 24, 2025
Reverts #2612 and #2591. We want to spend some more time on this feature
before shipping it.
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.

3 participants