Skip to content

Commit

Permalink
Update qiskit/primitives/containers/observables_array.py
Browse files Browse the repository at this point in the history
Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com>
  • Loading branch information
gadial and ElePT authored Jan 6, 2025
1 parent 7900356 commit 8468877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/primitives/containers/observables_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __repr__(self):
def tolist(self) -> list:
"""Convert to a nested list.
Similar to Numpy's `tolist` method, the level of nesting
Similar to Numpy's ``tolist`` method, the level of nesting
depends on the dimension of the observables array. In the
case of dimension 0 the method returns a single observable
instead of a list.
Expand Down

0 comments on commit 8468877

Please sign in to comment.