Skip to content

Commit

Permalink
doc for qtype
Browse files Browse the repository at this point in the history
  • Loading branch information
dakk committed Oct 17, 2023
1 parent cfa6e21 commit 3b91a4f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
- [x] Fix code structure and typing location

### Week 4: (16 Oct 23)
- [x] Extensible type system
- [ ] Publish doc
- [ ] Int arithmetic: +
- [ ] Function call
Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Python and translate them into unitary operators (gates) for use in quantum circ
howitworks
supported
qlassf
types
qcircuit


Expand Down
3 changes: 2 additions & 1 deletion docs/source/qcircuit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ QCircuit

QCircuit represents a quantum circuit inside the Qlasskit library.

.. automodule:: qlasskit.qcircuit
.. autoclass:: qlasskit.qcircuit.QCircuit
:members:
:undoc-members:

1 change: 1 addition & 0 deletions docs/source/qlassf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ QlassF is the key component of the qlasskit library.

.. automodule:: qlasskit.qlassf
:members:
:undoc-members:
8 changes: 8 additions & 0 deletions docs/source/types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Types
====================================

All supported types by the qlasskit library are inherit from the base `Qtype`.

.. autoclass:: qlasskit.Qtype
:members:
:undoc-members:

0 comments on commit 3b91a4f

Please sign in to comment.