edge_coloring

edge_coloring#

Full path: exa.core.experiment.edge_coloring

Edge coloring functions and algorithms.

Functions

bipartite_alg(G, colors)

Algorithm to create edge-coloring for a bipartite graph.

color_qubit_pairs(qubit_pairs)

Create an edge-coloring of the given graph with minimum number of colors: any edges connected with a vertex do not share the same color.

misra_gries_alg(G, colors)

Algorithm to create edge-coloring for a non-bipartite graph.