Migrate `steiner_tree()` and `metric_closure()` to rustworkx-core
What is the expected enhancement?
The metric_closure() and steiner_tree() functions available at: https://github.com/Qiskit/rustworkx/blob/main/src/steiner_tree.rs should be straightforward to port to rustworkx-core and rework as generic for any petgraph graph and then update the python functions to call the inner rustworkx-core function. This will then expose this functionality to any rust users that might want this functionality.
I noticed that metric_closure uses all_pairs_dijkstra_shortest_paths so that function needs to be moved as well.
Can I be assigned to this?
Sure thing, I've assigned the issue to you
Thank you. I am going to implement this patch!
This was implemented in https://github.com/Qiskit/rustworkx/pull/1103