vf2pp#
Full path: iqm.qrisp_iqm.passes.routing.core.vf2pp
VF2++ subgraph isomorphism for quantum circuit layout.
This module implements a Numba-accelerated VF2++-style subgraph isomorphism search for placing quantum circuits onto hardware topologies. The search uses BFS-based node ordering, T-set candidate narrowing, and parallel exploration of first-node candidates across CPU cores.
Functions
|
Check whether the pattern graph is a subgraph of the target graph. |
Extract the qubit-interaction graph of a quantum circuit. |
|
|
Attempt to place qc onto topology via subgraph isomorphism. |
|
Find one subgraph isomorphism mapping from pattern graph to target. |