---
title: PreCircuitBitFlipChecksOptions (latest version)
description: API reference for qiskit_ibm_runtime.options_models.PreCircuitBitFlipChecksOptions in the latest version of qiskit-ibm-runtime
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit-ibm-runtime/options-models-pre-circuit-bit-flip-checks-options
---

# qiskit\_ibm\_runtime.options\_models.PreCircuitBitFlipChecksOptions

*pydantic model* `PreCircuitBitFlipChecksOptions`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.49/qiskit_ibm_runtime/options_models/bit_flip_checks_options.py#L43-L63)

Bases: `BaseOptionsModel`

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

### update

`update(**kwargs)`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.49/qiskit_ibm_runtime/options_models/base.py#L46-L54)

Update the options.

**Parameters**

**kwargs** (*Any*)

**Return type**

None
