qiskit_ibm_runtime.options_models.DynamicalDecouplingOptions
pydantic model DynamicalDecouplingOptions
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 endof 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 sequencetau/2 - (+X) - tau - (+X) - tau/2"XpXm": use the sequencetau/2 - (+X) - tau - (-X) - tau/2"XY4": use the sequencetau/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.