-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use autosummary to generate a summary of API docs (#99)
* Use autosummary for the API doc * Manually optimize the API docs
- Loading branch information
Showing
34 changed files
with
347 additions
and
316 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,50 @@ | ||
{{ fullname | escape | underline}} | ||
|
||
.. automodule:: {{ fullname }} | ||
:members: | ||
:show-inheritance: | ||
:imported-members: | ||
|
||
{% block attributes %} | ||
{% if attributes %} | ||
.. rubric:: {{ _('Module Attributes') }} | ||
|
||
.. autosummary:: | ||
{% for item in attributes %} | ||
{{ item }} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block classes %} | ||
{% if classes %} | ||
.. rubric:: {{ _('Classes') }} | ||
|
||
.. autosummary:: | ||
{% for item in classes %} | ||
{{ item }} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block functions %} | ||
{% if functions %} | ||
.. rubric:: {{ _('Functions') }} | ||
|
||
.. autosummary:: | ||
{% for item in functions %} | ||
{{ item }} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block exceptions %} | ||
{% if exceptions %} | ||
.. rubric:: {{ _('Exceptions') }} | ||
|
||
.. autosummary:: | ||
{% for item in exceptions %} | ||
{{ item }} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} |
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,34 @@ | ||
qutip\_qip package | ||
================== | ||
|
||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
|
||
Operator-level simulation | ||
------------------------- | ||
Simulation based on operator-state multiplication. | ||
|
||
.. autosummary:: | ||
:toctree: apidoc/ | ||
:template: autosummary/module.rst | ||
|
||
qutip_qip.circuit | ||
qutip_qip.operations | ||
qutip_qip.qubits | ||
qutip_qip.decompose | ||
qutip_qip.qasm | ||
|
||
Pulse-level simulation | ||
---------------------- | ||
Simulation based on the master equation. | ||
|
||
.. autosummary:: | ||
:toctree: apidoc/ | ||
:template: autosummary/module.rst | ||
|
||
qutip_qip.device | ||
qutip_qip.compiler | ||
qutip_qip.pulse | ||
qutip_qip.noise |
Oops, something went wrong.