fiqci.ems.mitigators.dd#
Functions for dynamical decoupling.
Functions
|
Build compilation options for dynamical decoupling. |
- build_dd_options(gate_sequences: list[tuple[int, str | list[tuple[float, float]], str]], base: CircuitCompilationOptions | None = None) 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”.
base – Compilation options to add DD to, keeping every non-DD field (heralding, MOVE gate validation and frame tracking, …) as given. Defaults to IQM’s defaults.
- Returns:
CircuitCompilationOptions with the specified DD settings.