Open quantumjim opened 10 months ago
For reference to anyone interested in implementing this the algorithm networkx is implementing is published here: https://link.springer.com/article/10.1007/s00453-007-9064-z
@quantumjim @mtreinish I want to try this, but I want to make it clear first.
minimal_cycle_basis
module written in Rust?rustworkx-core/src/connectivity/
?rustworkx-core/src/connectivity
is ideal, that would mean we could expose the functionality to any rust user. We'll still need to add a pyfunction
to src/connectivity/mod.rs
but that will just call rustworkx_core::connectivity::minimal_cycle_basis
. You can use the existing cycle_basis
function as a model for how you can implement this.@gluonhiggs would you like me to assign this issue to you?
@mtreinish yes, sure!
What is the expected enhancement?
Add
minimal_cycle_basis
, with the same functionality as that of NetworkX.Will be used in Qiskit QEC's
ArcCircuit
.