---
title: DynamicalDecouplingOptions (latest version)
description: API reference for qiskit_ibm_runtime.options_models.DynamicalDecouplingOptions in the latest version of qiskit-ibm-runtime
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit-ibm-runtime/options-models-dynamical-decoupling-options
---

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

*pydantic model* `DynamicalDecouplingOptions`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.50/qiskit_ibm_runtime/options_models/dynamical_decoupling.py#L22-L54)

Bases: `BaseOptionsModel`

Options for dynamical decoupling (DD).

**Config**

- **validate\_assignment**: *bool = True*
- **extra**: *str = forbid*

### enable

*field*

Type: `bool`

Default value: `False`

Whether to enable DD as specified by the other options in this class.

### extra\_slack\_distribution

*field*

Type: `Literal`\[`'middle'`, `'edges'`]

Default value: `'middle'`

Where to put extra timing delays due to rounding issues.

Rounding issues arise because the discrete time step `dt` of the system cannot be divided.

- `"middle"`: Put the extra slack to the interval at the middle of the sequence.

- **`"edges"`: Divide the extra slack as evenly as possible into intervals at beginning and end**

  of the sequence.

### scheduling\_method

*field*

Type: `Literal`\[`'alap'`, `'asap'`]

Default value: `'alap'`

Whether to schedule gates as soon as (“asap”) or as late as (“alap”) possible.

### sequence\_type

*field*

Type: `Literal`\[`'XX'`, `'XpXm'`, `'XY4'`]

Default value: `'XX'`

Which dynamical decoupling sequence to use.

- `"XX"`: use the sequence `tau/2 - (+X) - tau - (+X) - tau/2`
- `"XpXm"`: use the sequence `tau/2 - (+X) - tau - (-X) - tau/2`
- `"XY4"`: use the sequence `tau/2 - (+X) - tau - (+Y) - tau (-X) - tau - (-Y) - tau/2`

### skip\_reset\_qubits

*field*

Type: `bool`

Default value: `False`

Whether to insert DD on idle periods that immediately follow initialized/reset qubits.

Since qubits in the ground state are less susceptible to decoherence, it can be beneficial to let them be while they are known to be in this state.

### update

`update(**kwargs)`

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

Update the options.

**Parameters**

**kwargs** (*Any*)

**Return type**

None
