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

Optimize RIR reindexing, QIR qubit use #1938

Merged
merged 3 commits into from
Sep 26, 2024
Merged

Conversation

swernli
Copy link
Collaborator

@swernli swernli commented Sep 26, 2024

This change updates the behavior of the RIR qubit reindexing to assume single block only and then take additional steps to optimize qubit usage with that block. This is consistent with the assumption that qubit reuse is required for adaptive programs rather than a separately configurable capability.

In addition, updates the qasm3 compiling to take advantage of this optimization by having explicitly call __quantum__qis__m__body, and updates the corresponding tests.

This change updates the behavior of the RIR qubit reindexing to assume single block only and then take additional steps to optimize qubit usage with that block. This is consistent with the assumption that qubit reuse is required for adaptive programs rather than a separately configurable capability.
@swernli swernli marked this pull request as ready for review September 26, 2024 21:15
@swernli swernli added this pull request to the merge queue Sep 26, 2024
@idavis idavis removed this pull request from the merge queue due to a manual request Sep 26, 2024
@idavis idavis added this pull request to the merge queue Sep 26, 2024
@idavis idavis removed this pull request from the merge queue due to a manual request Sep 26, 2024
@idavis idavis added this pull request to the merge queue Sep 26, 2024
Merged via the queue into main with commit 6c3ab39 Sep 26, 2024
19 checks passed
@idavis idavis deleted the swernli/optimize-rir-reindexing branch September 26, 2024 22:24
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