iqm.qrisp_iqm.passes.routing.core.graph_processing_tools.find_path_length

iqm.qrisp_iqm.passes.routing.core.graph_processing_tools.find_path_length#

iqm.qrisp_iqm.passes.routing.core.graph_processing_tools.find_path_length(index_0: int, index_1: int, topology: QPUTopology) → int#

Return the shortest-path distance between two qubit indices.

Parameters:
Return type:

int