mqt.qudits.compiler.onedit.local_operation_swap.swap_routine

Module Contents

find_logic_from_phys(lev_a: int, lev_b: int, graph: LevelGraph) → list[int][source]
graph_rule_update(gate: R, graph: LevelGraph) → None[source]
graph_rule_ongate(gate: R, graph: LevelGraph) → R[source]
gate_chain_condition(previous_gates: list[R], current: R) → R[source]
route_states2rotate_basic(gate: R, orig_placement: LevelGraph) → tuple[float, list[R], LevelGraph][source]
cost_calculator(gate: R, placement: LevelGraph, non_zeros: int) → tuple[float, list[R], LevelGraph, float, float][source]