Skip to content

Commit 8fcde1c

Browse files
committed
api doc automethod
1 parent 9d92aa8 commit 8fcde1c

File tree

1 file changed

+31
-5
lines changed

1 file changed

+31
-5
lines changed

docs/api.rst

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,33 @@
1-
API
2-
===
1+
API Reference
2+
=============
33

44

5-
.. autoclass:: klay.Circuit()
6-
:members:
7-
:undoc-members:
5+
.. autoclass:: klay.Circuit
6+
7+
.. automethod:: nb_nodes
8+
9+
.. automethod:: nb_root_nodes
10+
11+
.. automethod:: true_node
12+
13+
.. automethod:: false_node
14+
15+
.. automethod:: literal_node
16+
17+
.. automethod:: and_node
18+
19+
.. automethod:: or_node
20+
21+
.. automethod:: add_sdd
22+
23+
.. automethod:: set_root
24+
25+
.. automethod:: remove_unused_nodes
26+
27+
.. automethod:: add_SDD_from_file
28+
29+
.. automethod:: add_D4_from_file
30+
31+
.. automethod:: to_torch_module
32+
33+
.. automethod:: to_jax_function

0 commit comments

Comments
 (0)