qiskit_ibm_runtime.options_models.SamplerExecutionOptions
pydantic model SamplerExecutionOptions
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, inarbitrary 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.
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.
This feature is experimental and subject to change without notice.