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

[CircuitCheck] Handle qvec as controls #128

Merged
merged 1 commit into from
May 8, 2023

Conversation

boschmitt
Copy link
Collaborator

Description

When we added the possibility of controlling operations with qvecs , we forgot to update CircuitCheck to properly handle them. This PR mainly fixes this issue, but it also has other smaller clean ups and a fix to the exit value when the checking fails because of unitary differences, i.e., the circuits are not implementing the same unitary.

Copy link
Collaborator

@schweitzpgi schweitzpgi left a comment

Choose a reason for hiding this comment

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

Looks great, just had one question.

utils/CircuitCheck/UnitaryBuilder.cpp Outdated Show resolved Hide resolved
utils/CircuitCheck/UnitaryBuilder.cpp Show resolved Hide resolved
@boschmitt boschmitt force-pushed the circuitcheck-qvec-controls branch 2 times, most recently from fd8e2be to 9da74fa Compare May 8, 2023 08:17
@boschmitt
Copy link
Collaborator Author

I'm removing tests related to decomposition as they are subsumed by tests in a PR that will come.

Copy link
Collaborator

@amccaskey amccaskey left a comment

Choose a reason for hiding this comment

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

LGTM

@boschmitt boschmitt force-pushed the circuitcheck-qvec-controls branch from 9da74fa to 242e99a Compare May 8, 2023 12:03
@boschmitt boschmitt enabled auto-merge (squash) May 8, 2023 12:03
@boschmitt boschmitt merged commit 6a92268 into NVIDIA:main May 8, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 8, 2023
@bettinaheim bettinaheim added the bug fix To be listed under Bug Fixes in the release notes label Jun 28, 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.

4 participants