Skip to main contentIBM Quantum Documentation Mirror

OptionsModel

pydantic model OptionsModel

GitHub

Bases: BaseModel

Runtime options.

experimental

field

Type: dict[str, JsonValue] [Optional]

Experimental options.

These options are not guaranteed to be stable and may change or be removed without notice.

init_qubits

field

Type: bool

Default value: True

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

rep_delay

field

Type: float | None

Default value: None

The repetition delay.

This is the delay between the end of one circuit and the start of the next within a shot loop. 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. When this value is None, the default value backend.default_rep_delay is used.

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.

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.