iqm.qaoa.transpiler.routing

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

Layer(qpu[, int_gates, swap_gates])

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

Mapping(qpu, problem_bqm[, ...])

Mapping between logical and hardware qubits.

Routing(problem_bqm, qpu[, initial_mapping])

Routing of a QAOA phase separator.

Inheritance

Inheritance diagram of iqm.qaoa.transpiler.routing