routing

routing#

Full path: iqm.qaoa.transpiler.routing

Module containing the main object classes used throughout any routing algorithm.

Specififally, there is Mapping, which keeps track of the mapping between the logical and the hardware qubits. There is Routing used to construct and save the routing of the phase separator of the QAOA. The routing is saved as a list of layers, Layer.

Classes

BaseMapping

The base class for mapping used in routing of QAOA circuits on the QPU.

BaseRouting

The abstract base class for various routing sub-classes.

Layer

A class describing one layer of the QAOA phase separator, consisting of swap and interaction gates.

Mapping

Mapping between logical and hardware qubits.

Routing

The 'standard' routing of a QAOA phase separator.

Inheritance

Inheritance diagram of iqm.qaoa.transpiler.routing