Skip to content

Commit

Permalink
Fixed problems in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloAndresCQ committed Oct 23, 2024
1 parent 35fee38 commit ea12cbb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ Changelog
Unreleased
----------

* New API: ``GeneralBraOpKet`` for exact calculation of arbitrary ``<bra|op|ket>`` values.
* New API: ``GeneralBraOpKet`` for exact calculation of arbitrary ``<bra|op|ket>`` values. Can be used to calculate inner products, expectation values and arbitrary matrix elements.
* New feature: both ``GeneralState`` and ``GeneralBraOpKet`` admit circuits with parameterised gates.
* New feature: ``GeneralState`` has a new method ``get_amplitude`` to obtain the amplitude of computational basis states.
* New feature: ``GeneralState`` and ``CuTensorNetShotsBackend`` now support RNG seeds for sampling.
* Deprecated ``TensorNetwork`` object. It is still available for the sake backwards compatibility, but it has been removed from doc pages.
* Deprecated ``TensorNetwork`` object. It is still available for the sake of backwards compatibility, but it has been removed from doc pages.

0.9.0 (October 2024)
---------------------
Expand Down
2 changes: 2 additions & 0 deletions docs/modules/general_state.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ General state (exact) simulation
.. automodule:: pytket.extensions.cutensornet.general_state

.. autoclass:: pytket.extensions.cutensornet.general_state.GeneralState()

.. automethod:: __init__
.. automethod:: get_statevector
.. automethod:: get_amplitude
Expand All @@ -12,6 +13,7 @@ General state (exact) simulation
.. automethod:: destroy

.. autoclass:: pytket.extensions.cutensornet.general_state.GeneralBraOpKet()

.. automethod:: __init__
.. automethod:: contract
.. automethod:: destroy
Expand Down
3 changes: 3 additions & 0 deletions docs/modules/structured_state.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ Structured state evolution

.. automodule:: pytket.extensions.cutensornet.structured_state

Library handle
~~~~~~~~~~~~~~

.. autoclass:: pytket.extensions.cutensornet.CuTensorNetHandle

.. automethod:: destroy
Expand Down

0 comments on commit ea12cbb

Please sign in to comment.