RoundingResult#
- class RoundingResult(expectation_values, samples, bases=None, basis_shots=None, basis_counts=None)[ソース]#
ベースクラス:
object
Result of rounding
Attributes
- basis_counts: list[dict[str, int]] | None = None#
The basis_counts represents the resulting counts obtained by measuring with the bases corresponding to the number of shots specified in basis_shots for the magic rounding.
- samples: list[qiskit_optimization.algorithms.optimization_algorithm.SolutionSample]#
List of samples after rounding
Methods