Skip to main contentIBM Quantum Documentation Mirror

PreCircuitBitFlipChecksOptionsModel

pydantic model PreCircuitBitFlipChecksOptionsModel

GitHub

Bases: BaseModel

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

enable

field

Type: bool

Default value: False

Whether to apply pre-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 strategies 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 pre-circuit bit-flip checks.