fiqci.ems.mitigators.dd

fiqci.ems.mitigators.dd#

Functions for dynamical decoupling.

Functions

build_dd_options(gate_sequences)

Build compilation options for dynamical decoupling.

build_dd_options(gate_sequences: list[tuple[int, str | list[tuple[float, float]], str]]) CircuitCompilationOptions#

Build compilation options for dynamical decoupling.

Parameters:

gate_sequences – List of (threshold_length, sequence, strategy) tuples defining DD behavior. - threshold_length: Length of idle time before applying DD. Defaults to sequence length or 2. - sequence: DD sequence as a string (e.g., “XYXY”) or list of rotation angle tuples. Defaults to “XY”. - strategy: “asap”, “alap”, or “center”. Defaults to “asap”.

Returns:

CircuitCompilationOptions with the specified DD settings.