Skip to content

Commit

Permalink
Add QutipResult to rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
a-corni committed Sep 27, 2023
1 parent 26ba69d commit bebde1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/apidoc/simulation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ QutipResult

.. autoclass:: pulser_simulation.qutip_result.QutipResult
:members:
:show-inheritance:
:inherited-members:

CoherentResults
^^^^^^^^^^^^^^^^
Expand Down
3 changes: 3 additions & 0 deletions pulser-simulation/pulser_simulation/qutip_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import numpy as np
import qutip

from pulser.register import QubitId
from pulser.result import Result


Expand All @@ -37,6 +38,8 @@ class QutipResult(Result):
same as the state's basis.
"""

atom_order: tuple[QubitId, ...]
meas_basis: str
state: qutip.Qobj
matching_meas_basis: bool

Expand Down

0 comments on commit bebde1d

Please sign in to comment.