Skip to main contentIBM Quantum Documentation Mirror

OptionsModel

pydantic model OptionsModel

GitHub

Bases: BaseModel

Runtime options with all fields set.

init_qubits

field

Type: bool

Default value: True

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

layer_pair_depths

field

Type: list[int]

Default value: [0, 1, 2, 4, 16, 32]

The circuit depths (measured in number of pairs) to use in Pauli Lindblad experiments.

num_randomizations

field

Type: int

Default value: 32

The number of random circuits to use per learning circuit configuration.

post_selection

field

Type: PostSelectionOptionsModel [Optional]

Options for post selecting the results of noise learning circuits.

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.

shots_per_randomization

field

Type: int

Default value: 128

The total number of shots to use per randomized learning circuit.