pennylane_calculquebec.utility.graph.find_biggest_group

pennylane_calculquebec.utility.graph.find_biggest_group#

pennylane_calculquebec.utility.graph.find_biggest_group(graph: Graph) list#

Returns the biggest array of connected components in the graph

Parameters:

graph (nx.Graph) – the graph for which you want to find the biggest group

Returns:

the biggest group

Return type:

list