CouplingGraph.get_rooted_minimum_span

CouplingGraph.get_rooted_minimum_span(root)[source]

Connect root to every other node in the graph.

Parameters:

root (int) – The qudit to start from.

Returns:

A list of minimal edges that

connects ‘root’ to every other qudit.

Return type:

(list[tuple[int, int]])