iqm.error_reduction_tools.utils.topology_utils.topology_from_qc#
- iqm.error_reduction_tools.utils.topology_utils.topology_from_qc(client)#
QPU topology representing a remote quantum computer.
Retrieves the QPU topology information from the remote quantum computer and converts it into a
QPUTopologysuitable for twirling-string generation.- Parameters:
client (Pulla) – Client instance for connecting to the quantum computer.
- Returns:
A
QPUTopology, orNoneif the topology cannot be retrieved from the server.- Return type:
QPUTopology | None