Qiskit / rustworkx

A high performance Python graph library implemented in Rust.
https://www.rustworkx.org
Apache License 2.0
1.13k stars 154 forks source link

Request for Adding Resistance Distance Calculation Method #1279

Open m7142yosuke opened 2 months ago

m7142yosuke commented 2 months ago

What is the expected enhancement?

Hello,

I have been using rustworkx and appreciate its high performance for graph operations compared to other libraries like networkx. However, I noticed that there is currently no built-in method to calculate resistance distance between nodes in a graph.

Resistance distance is an important metric in network analysis, often used to measure the relationship strength between nodes.

Request: I would like to inquire if there are any plans to add a method for calculating resistance distance in rustworkx in the near future. If not, I would be happy to contribute by implementing this feature myself. Please let me know if this would be a valuable addition to the library and if there are any guidelines or suggestions for how this method should be structured.