Skip to content

Commit

Permalink
docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-johnson committed Oct 28, 2024
1 parent 762a495 commit 144f1cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qiskit_addon_sqd/fermion.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
class SCIState(NamedTuple):
"""The amplitudes and determinants describing a quantum state.
``amplitudes`` is an ``MxN`` array such that ``amplitudes[i][j]`` corresponds
to the amplitude of the determinant pair (``ci_strs_a[i]``, ``ci_strs_b[j]``).
``amplitudes`` is an ``MxN`` array such that ``M`` = ``len(ci_strs_a)``
and ``N`` = ``len(ci_strs_b)``. ``amplitudes[i][j]`` corresponds to the
amplitude of the determinant pair (``ci_strs_a[i]``, ``ci_strs_b[j]``).
"""

amplitudes: np.ndarray
Expand Down

0 comments on commit 144f1cf

Please sign in to comment.