dwave.system.coupling_groups.coupling_groups#
- coupling_groups(hardware_graph)[source]#
Generate groups of couplers for which a limit on total coupling applies for each group.
- Parameters:
hardware_graph (
networkx.Graph
) – The hardware graph of a QPU. Note that only Zephyr graphs have coupling groups.- Yields:
Lists of tuples, where each list is a group of couplers in
hardware_graph
.