SemideterministicRounding#
- class SemideterministicRounding(*, atol=1e-08, seed=None)[ソース]#
ベースクラス:
RoundingScheme
Semi-deterministic rounding scheme
This is referred to as 「Pauli rounding」 in https://arxiv.org/abs/2111.03167.
- パラメータ:
Methods
- round(rounding_context)[ソース]#
Perform semi-deterministic rounding
- パラメータ:
rounding_context (RoundingContext) – Rounding context containing information about the problem and solution.
- 戻り値:
Result containing the rounded solution.
- 例外:
QiskitOptimizationError – If the expectation values are not available in the context.
- 戻り値の型: