Skip to main content
IBM Quantum Platform
翻訳情報

このページの追加言語翻訳は近日公開予定です。

qiskit_ibm_runtime.options_models.SamplerExecutionOptions

pydantic model SamplerExecutionOptions

GitHub

Bases: ExecutionOptions

Execution options for the sampler primitive.

Config

  • validate_assignment: bool = True
  • extra: str = forbid

init_qubits

field

Type: bool

Default value: True

Whether to reset the qubits to the ground state for each shot.

meas_type

field

Type: Literal['classified', 'kerneled', 'avg_kerneled']

Default value: 'classified'

How to process and return measurement results.

This option sets the return type of all classical registers in all sampler pub results.

  • "classified": Returns a BitArray with classified measurement outcomes.

  • "kerneled": Returns complex IQ data points from kerneling the measurement trace, in

    arbitrary units.

  • "avg_kerneled": Returns complex IQ data points averaged over shots, in arbitrary units.

rep_delay

field

Type: float | None

Default value: None

The repetition delay.

This is the delay between a measurement and the subsequent quantum circuit. This is only supported on backends that have backend.dynamic_reprate_enabled=True. It must be from the range supplied by backend.rep_delay_range.

Default is given by backend.default_rep_delay.

scheduler_timing

field

Type: bool

Default value: False

Whether to return circuit schedule timing of each provided quantum circuit.

Setting this value to True will cause corresponding metadata of every program item to be populated in the returned data.

Note

This feature is experimental and subject to change without notice.

stretch_values

field

Type: bool

Default value: False

Whether to return numeric resolutions of stretches for each provided quantum circuit.

Setting this value to True will cause corresponding metadata of every program item to be populated in the returned data.

Note

This feature is experimental and subject to change without notice.

update

update(**kwargs)

GitHub

Update the options.

Parameters

kwargs (Any)

Return type

None

このページは役に立ちましたか?
バグや誤字の報告、またはコンテンツの要求はGitHubで行ってください。