This repository was archived by the owner on Aug 21, 2023. It is now read-only.
Resolved deprecation warnings in transpiler tutorial notebook#999
Merged
Conversation
Contributor
Author
|
Closed wrong PR |
nonhermitian
previously approved these changes
Sep 7, 2020
Contributor
nonhermitian
left a comment
There was a problem hiding this comment.
Many thanks for this!
Contributor
|
Actually just need the conflict merged a ready to go. |
Conflicts: tutorials/circuits_advanced/4_transpiler_passes_and_passmanager.ipynb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolved deprecation warnings in issue #990 related to changes in
qiskit-terrav0.14.0 were appearing in the transpiler tutorial notebook.Details and comments
Resolved
qiskit.extensions.standardlibrary deprecations by usingqiskit.circuit.library.standard_gateslibrary instead.Resolved deprecated function calls in 'DAGCircuit
andLayoutclasses from theBasicSwapclass defined in the notebook. Basically, a cut-and-paste from theqiskit.transpiler.passes.BasicSwap`.Also added some helpful documentation in the Introduction section about installing
pydotandgraphviz, which are needed fordag_drawer.