exa.core.util.topology.get_chip_graph_matcher

exa.core.util.topology.get_chip_graph_matcher#

get_chip_graph_matcher(layout_graph, chip_topology, components=None)#

Get a networkx GraphMatcher between the specific experiment graph and the used QPU connectivity graph.

Parameters:
  • layout_graph (Graph) – The layout graph corresponding to the specific experiment.

  • chip_topology (ChipTopology) – Topology of the chip context.

  • components (set[str] | None) – List of components. If None, uses all the components.

Returns:

GraphMatcher object.

Return type:

GraphMatcher