File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747==================
4848
4949.. autofunction:: sampled_expectation_value
50+
5051"""
5152
52- from .result import Result
53+ from .counts import Counts
54+ from .distributions import QuasiDistribution , ProbDistribution
5355from .exceptions import ResultError
56+ from .models import MeasLevel , MeasReturnType
57+ from .result import Result
58+ from .sampled_expval import sampled_expectation_value
5459from .utils import marginal_counts
5560from .utils import marginal_distribution
5661from .utils import marginal_memory
57- from .counts import Counts
58-
59- from .distributions import QuasiDistribution , ProbDistribution
60- from .sampled_expval import sampled_expectation_value
Original file line number Diff line number Diff line change @@ -57,10 +57,13 @@ upgrade_misc:
5757 * ``QobjMeasurementOption``
5858 * ``PulseLibraryItem``
5959
60+ - |
6061 The :class:`.MeasLevel` and :class`.MeasReturnType` classes, previously defined in
6162 ``qobj/utils.py``, have been migrated to ``result/models.py`` following the removal
62- of the ``qobj`` module. These classes were not part of the public API, so there should
63- not be any effect on users from this move.
63+ of the ``qobj`` module. These classes were not part of the public API.
64+ The import path has been updated
65+ from: ``from qiskit.qobj.utils import MeasLevel, MeasReturnType`` to:
66+ ``from qiskit.result import MeasLevel, MeasReturnType``.
6467
6568 - |
6669 The use of positional arguments in the constructor of :class:`.Result` has been disabled.
You can’t perform that action at this time.
0 commit comments