iqm.qaoa.transpiler.hardwired.hardwired

iqm.qaoa.transpiler.hardwired.hardwired#

This module contains “hard-wired” routing.

For problem sizes from 4 to 15, this creates the optimal Routing so that all 2-qubit interactions can be executed and the number of swaps is minimized. We believe this is the optimal routing strategy for fully / densely connected problems.

Functions

hardwired_router(problem_bqm, qpu)

The function that creates an optimal routing for all-to-all connected problems, designed by hand.