Skip to content

Commit

Permalink
Merge pull request #205 from GenericP3rson/docs_update
Browse files Browse the repository at this point in the history
Updating the Documentation
  • Loading branch information
Hanrui-Wang authored Oct 20, 2023
2 parents d2d8b79 + 09a9afe commit 2bffd4f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
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

0 comments on commit 2bffd4f

Please sign in to comment.