---
title: DynamicalDecouplingOptions (v0.26)
description: API reference for qiskit_ibm_runtime.options.DynamicalDecouplingOptions in qiskit-ibm-runtime v0.26
source: https://quantum.cloud.ibm.com/docs/en/api/qiskit-ibm-runtime/0.26/options-dynamical-decoupling-options
---

# DynamicalDecouplingOptions

*class* `DynamicalDecouplingOptions(*args, **kwargs)`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.26/qiskit_ibm_runtime/options/dynamical_decoupling_options.py#L20-L50)

Options for dynamical decoupling (DD).

**Parameters**

- **enable** – Whether to enable DD as specified by the other options in this class. Default: False.

- **sequence\_type** –

  Which dynamical decoupling sequence to use. Default: “XX”.

  - `"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`

- **extra\_slack\_distribution** –

  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. This option takes following values. Default: “middle”.

  - `"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** – Whether to schedule gates as soon as (“asap”) or as late as (“alap”) possible. Default: “alap”.

## Attributes

### enable

Type: `UnsetType | bool`

Default value: `Unset`

### extra\_slack\_distribution

Type: `UnsetType | Literal['middle', 'edges']`

Default value: `Unset`

### scheduling\_method

Type: `UnsetType | Literal['alap', 'asap']`

Default value: `Unset`

### sequence\_type

Type: `UnsetType | Literal['XX', 'XpXm', 'XY4']`

Default value: `Unset`

## Methods
