Skip to main contentIBM Quantum Documentation Mirror

qiskit_ibm_runtime.options_models.PostCircuitBitFlipChecksOptions

pydantic model PostCircuitBitFlipChecksOptions

GitHub

Bases: BaseOptionsModel

Options to apply post-circuit bit-flip checks to the results of noise learning circuits.

Config

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

enable

field

Type: bool

Default value: False

Whether to apply post-circuit bit-flip checks.

If False, all the other fields will be ignored.

strategy

field

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

Default value: 'node'

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

The available startegies are:

  • 'node': Discard every shot where one or more bits failed to flip. Keep every other shot.
  • 'edge': Discard every shot where there exists a pair of neighbouring qubits for which both of the bits failed to flip. Keep every other shot.

x_pulse_type

field

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

Default value: 'xslow'

The type of the X-pulse used for the post-circuit bit-flip checks.

update

update(**kwargs)

GitHub

Update the options.

Parameters

kwargs (Any)

Return type

None