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

Fix incorrect handling of measurements in value semantics representation #752

Merged
merged 7 commits into from
Oct 12, 2023

Conversation

schweitzpgi
Copy link
Collaborator

Measurements now thread the wires as well as the bool result value in the value semantics. Each wire needs to be forwarded correctly.

Measurements now thread the wires as well as the bool result value in
the value semantics. Each wire needs to be forwarded correctly.
@schweitzpgi schweitzpgi added the bug fix To be listed under Bug Fixes in the release notes label Oct 9, 2023
Copy link
Collaborator

@bmhowe23 bmhowe23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We've discussed offline that we expect the mapping changes to exercise and test this new code. I'm just reiterating that here in the review so that we have a record of it (as a partial explanation for why there's not currently any new tests for this PR).

lib/Optimizer/Transforms/RegToMem.cpp Show resolved Hide resolved
@schweitzpgi schweitzpgi enabled auto-merge (squash) October 12, 2023 14:57
@schweitzpgi schweitzpgi merged commit 64f8804 into NVIDIA:main Oct 12, 2023
109 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 12, 2023
@schweitzpgi schweitzpgi deleted the ch-meas.oops branch October 12, 2023 15:28
@bettinaheim bettinaheim added this to the release 0.5.0 milestone Nov 15, 2023
@bettinaheim bettinaheim changed the title Fix bug when rewriting measurement type ops. Fix incorrect handling of measurements in value semantics representation Nov 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fix To be listed under Bug Fixes in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants