Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel J. Egger <[email protected]>
  • Loading branch information
mtreinish and eggerdj committed May 17, 2022
1 parent f234efe commit c4924f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qiskit/result/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ def marginal_memory(
Args:
memory: The input memory list, this is a list of hexadecimal strings to be marginalized
indices: THe The bit positions of interest to marginalize over. If
indices: The bit positions of interest to marginalize over. If
``None`` (default), do not marginalize at all.
int_return: If set to ``True`` the output will be a list of integers.
By default the return type is a bit string. This amd ``hex_return``
By default the return type is a bit string. This and ``hex_return``
are mutually exclusive and can not be specified at the same time.
hex_return: If set to ``True`` the output will be a list of hexadecimal
strings. By default the return type is a bit string. This and
Expand Down Expand Up @@ -178,8 +178,8 @@ def marginal_distribution(
"""Marginalize counts from an experiment over some indices of interest.
Unlike :func:`~.marginal_counts` this function respects the order of
the input ``indices``. If the input ``indices`` list is specified, the order
the bit indices will be the output order of the bitstrings
the input ``indices``. If the input ``indices`` list is specified then the order
the bit indices are specified will be the output order of the bitstrings
in the marginalized output.
Args:
Expand Down

0 comments on commit c4924f3

Please sign in to comment.