mqt.ionshuttler.linear.dd.sadd_solver¶
Optional OR-Tools integration for shuttling-aware dynamical decoupling (SADD).
Module Contents¶
- class SADDProblem[source]¶
Contain one bounded control-window CP-SAT problem.
- architecture: LinearArchitecture¶
- phase_segments: tuple[CriticalSegment, ...]¶
- build_sadd_problem(schedule: Schedule, architecture: LinearArchitecture, *, target_pz: str, t_start: int, t_end: int, participating_ions: tuple[int, ...], scale: int = 1000, num_search_workers: int = 8, local_pulse_action_ids: frozenset[int] = frozenset()) SADDProblem[source]¶
Build one shuttling-aware dynamical decoupling optimization problem.
Synthesized shuttles, swaps, and local pulses take the durations defined by the architecture.
- Returns:
The bounded optimization problem.
- Raises:
ValueError – If schedule metadata, problem bounds, or the local pulse duration are invalid.
- solve_sadd_problem(problem: SADDProblem, *, timeout_s: float = 10.0, allow_transport: bool = True, allow_pulses: bool = True) SADDSolution[source]¶
Solve and materialize one SADD control-window problem.
- Returns:
The decoded solver outcome and validation diagnostics.