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

Pass to remove reset in the beginning of circuit #2136

Closed
ajavadia opened this issue Apr 16, 2019 · 1 comment · Fixed by #2139
Closed

Pass to remove reset in the beginning of circuit #2136

ajavadia opened this issue Apr 16, 2019 · 1 comment · Fixed by #2139
Assignees
Labels
status: pending PR It has one or more PRs pending to solve this issue
Milestone

Comments

@ajavadia
Copy link
Member

What is the expected enhancement?

We need a pass that removes reset operations if they are immediately after "in" nodes.

A more advanced version of this would involve analyzing whether the qubit is in the 0 state, potentially even in the middle of the circuit.

@1ucian0 1ucian0 self-assigned this Apr 16, 2019
@1ucian0 1ucian0 added this to the 0.8 milestone Apr 16, 2019
@1ucian0 1ucian0 added the status: pending PR It has one or more PRs pending to solve this issue label Apr 16, 2019
@1ucian0
Copy link
Member

1ucian0 commented Apr 16, 2019

PR #2139 should fix this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: pending PR It has one or more PRs pending to solve this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants