<!-- ⚠️ If you do not respect this template, your issue will be closed --> <!-- ⚠️ Make sure to browse the opened and closed issues to confirm this idea does not exist. --> ### What is the expected enhancement? It would be handy to have this method implemented in rustworkx: https://networkx.org/documentation/stable/reference/generated/networkx.classes.function.non_edges.html we could use it in https://github.com/Qiskit/qiskit-addon-opt-mapper/blob/main/qiskit_addon_opt_mapper/applications/tsp.py#L71-L84.