diff --git a/docs/source/api_layers.rst b/docs/source/api_layers.rst new file mode 100644 index 00000000..18a6753c --- /dev/null +++ b/docs/source/api_layers.rst @@ -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 diff --git a/docs/source/api_operators.rst b/docs/source/api_operators.rst index f8c607d3..7933fd01 100644 --- a/docs/source/api_operators.rst +++ b/docs/source/api_operators.rst @@ -1,7 +1,7 @@ torchquantum.operators ====================== -.. currentmodule:: torchquantum.operators +.. currentmodule:: torchquantum.operator Classes --------- diff --git a/docs/source/index.rst b/docs/source/index.rst index a1a4f08a..24f29897 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -5,6 +5,7 @@ api_torchquantum api_functional api_operators + api_layers .. toctree:: :maxdepth: 1