def METHOD_NAME(self):
    graph_equality = (
        tuple(sorted(self._nx_graph.nodes())),
        tuple(sorted(self._nx_graph.edges(data='directed'))),
    )
    return self._qubits_set, graph_equality