<!-- ⚠️ 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? Add `minimal_cycle_basis`, with the same functionality as that of NetworkX. Will be used in Qiskit QEC's `ArcCircuit`.