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

Move barrier_before_final_measurements to 'passes' directory #3260

Merged

Conversation

Matt-Stypulkoski
Copy link
Contributor

Summary

Implements the change in #3239's first note. Moves the barrier_before_final_measurements.py file from qiskit.transpiler.passes.mapping to qiskit.transpiler.passes

Details and comments

Copy link
Member

@1ucian0 1ucian0 left a comment

Choose a reason for hiding this comment

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

Is this an API change?

@kdk
Copy link
Member

kdk commented Oct 15, 2019

Borderline, but I'm leaning towards no.

from qiskit.transpiler.passes import BarrierBeforeFinalMeasurements will still work.

from qiskit.transpiler.passes.mapping.barrier_before_final_measurements import BarrierBeforeFinalMeasurements and similar will stop working.

@1ucian0 1ucian0 added the Changelog: API Change Include in the "Changed" section of the changelog label Oct 16, 2019
@1ucian0 1ucian0 merged commit d3778ea into Qiskit:master Oct 16, 2019
faisaldebouni pushed a commit to faisaldebouni/qiskit-terra that referenced this pull request Aug 5, 2020
…3260)

* Move barrier_before_final_measurements to passes/ directory

* Edit import path of BarrierBeforeFinalMeasurements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: API Change Include in the "Changed" section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants