iqm.error_reduction_tools.utils.topology_utils.uses_move_gates#
- iqm.error_reduction_tools.utils.topology_utils.uses_move_gates(client)#
Detect whether a QPU uses MOVE gates, which makes circuit twirling unsupported.
IQM QPUs that include computational resonators use MOVE gates rather than direct CZ gates between qubits. The PMPT implementation only handles
prxandczoperations and will raise aValueErrorif it encounters amoveinstruction, so twirling cannot be applied to circuits compiled for these QPUs.This function detects such QPUs directly by checking whether the chip topology reports any computational resonators, which is the authoritative indicator that MOVE gates are present.
- Parameters:
client (Pulla) – Client instance for connecting to the quantum computer.
- Returns:
Trueif the QPU has computational resonators (and therefore uses MOVE gates),Falseotherwise or if the topology cannot be retrieved.- Return type: