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

ResetQubit always gets returned as Reset from the compatibility layer. #1726

Closed
MarquessV opened this issue Jan 22, 2024 · 0 comments · Fixed by #1727
Closed

ResetQubit always gets returned as Reset from the compatibility layer. #1726

MarquessV opened this issue Jan 22, 2024 · 0 comments · Fixed by #1727
Assignees
Labels
enhancement ✨ A request for a new feature.

Comments

@MarquessV
Copy link
Contributor

After adding a ResetQubit to a Program, the same instruction will always be converted to a Reset by the compatibility layer. This can be an unexpected change of types. The compatibility layer should instead return a ResetQubit if the qubit property is set on the instruction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ A request for a new feature.
Projects
None yet
1 participant