ptn

ptn#

Full path: iqm.qaoa.transpiler.ptn.ptn

Module containing the implementation of the parity twine network strategies based on [4].

Module Attributes

LineQubit

Labels of the lines in the PTN circuit.

Parity

Represents the problem qubits whose parity is encoded in one LineQubit.

PTNLayer

Represents a Parity Twine Chain (PTC), see fig.

Functions

ptn_router(problem_bqm, qpu[, strategy])

Construct a routing object for the ParityTwineNetwork (PTN).

Classes

BaseRoutingPTN

Base class for the Parity Twine Network routing (PTN).

LineMappingPTN

The mapping class for line PTN routing algorithm.

LineRoutingPTN

Subclass implementing the PTN line strategy.

Inheritance

Inheritance diagram of iqm.qaoa.transpiler.ptn.ptn