-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Write complete manual `QuantumCircuit` documentation This writes huge tracts of new `QuantumCircuit` API documentation, linking together alike methods and writing explanatory text for how all the components fit together. There's likely an awful lot more that could go into this too, but this hopefully should impose a lot more order on the huge `QuantumCircuit` documentation page, and provide a lot more explanation for how the class works holistically. In particular, the section on the control-flow builder interface could do with a lot more exposition and examples right now. * Reword from review Co-authored-by: Matthew Treinish <[email protected]> * Add missing text around `Var` methods * Add example to `find_bit` * Comment on metadata through serialization * Add see-also sections to undesirable methods * Re-add internal utilities to documentation * Add examples to `depth` --------- Co-authored-by: Matthew Treinish <[email protected]> (cherry picked from commit 72ad545) Co-authored-by: Jake Lishman <[email protected]>
- Loading branch information
1 parent
0a05ea2
commit 3f0b5e3
Showing
4 changed files
with
1,098 additions
and
299 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.. _qiskit-circuit-quantumcircuit: | ||
|
||
============================== | ||
:class:`.QuantumCircuit` class | ||
============================== | ||
|
||
.. | ||
This is so big it gets its own page in the toctree, and because we | ||
don't want it to use autosummary. | ||
.. currentmodule:: qiskit.circuit | ||
|
||
.. autoclass:: qiskit.circuit.QuantumCircuit | ||
:no-members: | ||
:no-inherited-members: | ||
:no-special-members: | ||
:class-doc-from: class |
This file contains 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
Oops, something went wrong.