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

Updating the Documentation #205

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions docs/source/api_layers.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
torchquantum.layers
======================

.. currentmodule:: torchquantum.layer

Layers
---------
.. autosummary::
:toctree: generated
:template: classtemplate_controlflow.rst


QuantumModuleFromOps
TrainableOpAll
ClassicalInOpAll
FixedOpAll
TwoQAll
RandomLayer
RandomLayerAllTypes
Op1QAllLayer
RandomOp1All
Op2QAllLayer
Op2QButterflyLayer
Op2QDenseLayer
CXLayer
CXCXCXLayer
SWAPSWAPLayer
RXYZCXLayer0
QFTLayer
2 changes: 1 addition & 1 deletion docs/source/api_operators.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
torchquantum.operators
======================

.. currentmodule:: torchquantum.operators
.. currentmodule:: torchquantum.operator

Classes
---------
Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
api_torchquantum
api_functional
api_operators
api_layers

.. toctree::
:maxdepth: 1
Expand Down
Loading