generate_topology

GateCompiler.generate_topology()

Return the connectivity edges of the target gate set.

Return type:

List[Tuple]

Returns:

List of (control, target) pairs describing the gate set’s routable edges (routing_edges) – not the full topology, which can also hold longer, non-pairwise entangling-gate qubit groups.