Skip to main contentIBM Quantum Documentation Mirror

PostSelectionOptionsModel

pydantic model PostSelectionOptionsModel

GitHub

Bases: BaseModel

Runtime options for post selection.

enable

field

Type: bool

Default value: False

Whether to enable Post Selection when performing learning experiments.

If False, all the other Post Selection options are ignored.

strategy

field

Type: Literal['node', 'edge']

Default value: 'node'

The strategy used to decide if a shot should be kept or discarded.

x_pulse_type

field

Type: Literal['xslow', 'rx']

Default value: 'xslow'

The type of the X-pulse used for the post selection measurements.