QMEstimatorOptions¶
- class QMEstimatorOptions(default_precision: float = 0.015625, abelian_grouping: bool = True, input_type: InputType | Literal['INPUT_STREAM', 'IO1', 'IO2'] | None = None, run_options: dict[str, Any] | None = None)[source][source]¶
Bases:
objectOptions for
QMEstimatorV2.- default_precision: float = 0.015625¶
The default precision to use if none are specified in
run(). Default: 0.015625 (1 / sqrt(4096)).
- abelian_grouping: bool = True¶
Whether the observables should be grouped into sets of qubit-wise commuting observables. Default: True.
- input_type: InputType | Literal['INPUT_STREAM', 'IO1', 'IO2'] | None = None¶
The input mechanism to load the parameter values and observables to the OPX. Choices are: -
INPUT_STREAM: Input stream mechanism. -IO1: IO1. -IO2: IO2. - None: Preload at compile time the parameter values to the OPX.OPNICis not supported by the estimator yet and raisesNotImplementedError. Default: None.
- run_options: dict[str, Any] | None = None¶
Per-job overrides of backend run options (
shots,max_circuits,timeout,simulate, …). Merged overQMBackend.optionswhenrun()is called; they do not mutate the backend.max_circuitshere is the QUA program chunk size for that job. Default: None (use the backend defaults).