ptn_router#
- iqm.qaoa.transpiler.ptn.ptn.ptn_router(problem_bqm, qpu)[source]#
Construct a routing object for the ParityTwineNetwork (PTN).
- Parameters:
problem_bqm (BinaryQuadraticModel) – The binary quadratic model representing the optimization problem.
qpu (QPU) – QPU instance.
- Returns:
A
CircuitSynthesisobject implementing the requested routing strategy.- Return type: