From 353f90d52075924da7be00fad794ddea1baac5cb Mon Sep 17 00:00:00 2001 From: Luciano Bello <766693+1ucian0@users.noreply.github.com> Date: Mon, 19 May 2025 21:06:04 +0200 Subject: [PATCH] Formatting issues in dynamical_decoupling_options.py --- .../options/dynamical_decoupling_options.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/qiskit_ibm_runtime/options/dynamical_decoupling_options.py b/qiskit_ibm_runtime/options/dynamical_decoupling_options.py index 2476976f71..f6b4cc9990 100644 --- a/qiskit_ibm_runtime/options/dynamical_decoupling_options.py +++ b/qiskit_ibm_runtime/options/dynamical_decoupling_options.py @@ -24,34 +24,34 @@ class DynamicalDecouplingOptions: enable: Union[UnsetType, bool] = Unset r"""Whether to enable DD as specified by the other options in this class. - Default: False. + Default: ``False``. """ sequence_type: Union[UnsetType, Literal["XX", "XpXm", "XY4"]] = Unset r"""Which dynamical decoupling sequence to use. - Default: "XX". + 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`` + * ``"XY4"``: use the sequence + ``tau/2 - (+X) - tau - (+Y) - tau (-X) - tau - (-Y) - tau/2`` """ extra_slack_distribution: Union[UnsetType, Literal["middle", "edges"]] = Unset r"""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". + 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. + beginning and end of the sequence. """ scheduling_method: Union[UnsetType, Literal["alap", "asap"]] = Unset r"""Whether to schedule gates as soon as ("asap") or as late as ("alap") possible. - Default: "alap". + Default: ``"alap"``. """ skip_reset_qubits: Union[UnsetType, bool] = Unset r"""Whether to insert DD on idle periods that immediately follow initialized/reset qubits. @@ -59,5 +59,5 @@ class DynamicalDecouplingOptions: 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. - Default: False. + Default: ``False``. """