Skip to content

Commit

Permalink
Merge branch 'master' into fic_doc
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello committed Dec 10, 2024
2 parents 243620e + 1afd96d commit 20576cc
Show file tree
Hide file tree
Showing 4 changed files with 312 additions and 101 deletions.
31 changes: 24 additions & 7 deletions doc/source/api-reference/qibo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1267,13 +1267,6 @@ In addition to the abstract Hamiltonian models, Qibo provides the following
pre-coded Hamiltonians:


Heisenberg XXZ
^^^^^^^^^^^^^^

.. autoclass:: qibo.hamiltonians.XXZ
:members:
:member-order: bysource

Non-interacting Pauli-X
^^^^^^^^^^^^^^^^^^^^^^^

Expand Down Expand Up @@ -1326,6 +1319,30 @@ Max Cut
This is useful for systems that contain many qubits for which constructing
the full matrix is intractable.


Heisenberg model
^^^^^^^^^^^^^^^^

.. autoclass:: qibo.hamiltonians.Heisenberg
:members:
:member-order: bysource


Heisenberg XXX
^^^^^^^^^^^^^^

.. autoclass:: qibo.hamiltonians.XXX
:members:
:member-order: bysource


Heisenberg XXZ
^^^^^^^^^^^^^^

.. autoclass:: qibo.hamiltonians.XXZ
:members:
:member-order: bysource

_______________________


Expand Down
8 changes: 6 additions & 2 deletions src/qibo/hamiltonians/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
from qibo.hamiltonians.hamiltonians import *
from qibo.hamiltonians.models import TFIM, XXZ, MaxCut, X, Y, Z
from qibo.hamiltonians.hamiltonians import (
Hamiltonian,
SymbolicHamiltonian,
TrotterHamiltonian,
)
from qibo.hamiltonians.models import TFIM, XXX, XXZ, Heisenberg, MaxCut, X, Y, Z
Loading

0 comments on commit 20576cc

Please sign in to comment.