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

Decompose pass #1487

Merged
merged 8 commits into from
Dec 14, 2018
Merged

Decompose pass #1487

merged 8 commits into from
Dec 14, 2018

Conversation

1ucian0
Copy link
Member

@1ucian0 1ucian0 commented Dec 13, 2018

A decompose pass is a shallower unroller. The use case is the requirement of the direction mapper. You can feed whatever to the direction mapper, but swap gates. So it should require Decompose(Swap). It's a very simple pass.

@ajavadia ajavadia merged commit a66d2c2 into Qiskit:master Dec 14, 2018
lia-approves pushed a commit to edasgupta/qiskit-terra that referenced this pull request Jul 30, 2019
* clean unroller

* docstring

* moving conditianl handeling in side substitute_circuit_one

* rename the method to make it more descriptive

* initial commit

* linting
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.

2 participants