-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Increase documentation of built-in transpiler plugins (backport #13620) #13795
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
Conversation
Cherry-pick of 4d2265f has failed:
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
Thank you for opening a new pull request. Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient. While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone. One or more of the following people are relevant to this code:
|
Pull Request Test Coverage Report for Build 13168405910Details
💛 - Coveralls |
* Increase documentation of built-in transpiler plugins This overhauls how the `qiskit.transpiler` documentation talks about the transpiler plugins. All of the built-in plugins now have a decent amount of overview documentation, and the requirements and expectations for each stage of the preset pipelines is explained in more detail. This form of the documentation makes the distinction between "a compilation routine in general" and "Qiskit's specific choice of default pipeline" clearer, to avoid confusion for advanced users. Much of the guide-level explanations of the different preset pipeline stages moved to https://docs.quantum.ibm.com some time ago, so this PR removes those, in favour of focussing on the actual API, and inserts links to learn more about the principles elsewhere. The guide-level explanation of scheduling is left in-place for now, because the content on the other parts of the IBM documentation isn't as complete for that. * Fix cross references in release notes * Include Elena's suggestions Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com> * Apply copy-editing suggestions Co-authored-by: abbycross <across@us.ibm.com> * Add manual copy-editing suggestions * Reflow text * Copy edit Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com> * Add missed copy edit Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com> * Reflow line breaks * Apply Elena's suggestions Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com> * Apply Elena's suggestions that needed line wraps * Correct layout description * Mark stochastic plugin as deprecated --------- Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com> Co-authored-by: abbycross <across@us.ibm.com> Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com> (cherry picked from commit 4d2265f)
cb41b1d
to
d3fee66
Compare
Summary
This overhauls how the
qiskit.transpiler
documentation talks about the transpiler plugins. All of the built-in plugins now have a decent amount of overview documentation, and the requirements and expectations for each stage of the preset pipelines is explained in more detail.This form of the documentation makes the distinction between "a compilation routine in general" and "Qiskit's specific choice of default pipeline" clearer, to avoid confusion for advanced users.
Much of the guide-level explanations of the different preset pipeline stages moved to https://docs.quantum.ibm.com some time ago, so this PR removes those, in favour of focussing on the actual API, and inserts links to learn more about the principles elsewhere.
The guide-level explanation of scheduling is left in-place for now, because the content on the other parts of the IBM documentation isn't as complete for that.
Details and comments
I've attempted to draw a good line between explaining what Qiskit actually does, so users know, and maintaining that we reserve the right to modify specifics of things (especially
default
plugins) between minor versions.This isn't a full rewrite of everything - I feel like we could probably do with revisiting the documentation of a lot of individual transpiler passes' classes - but I was writing my own plugin over the last month or so, and this is documentation I personally wanted to see.
This is an automatic backport of pull request #13620 done by Mergify.