RoundingResult#
- class RoundingResult(expectation_values, samples, bases=None, basis_shots=None, basis_counts=None)[source]#
Bases:
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.
- basis_shots: np.ndarray | None = None#
The number of shots used for each basis for the magic rounding
- samples: list[SolutionSample]#
List of samples after rounding
Methods