BaseMapping

Contents

BaseMapping#

Module: iqm.qaoa.transpiler.routing

class iqm.qaoa.transpiler.routing.BaseMapping(*args, **kwargs)[source]#

Bases: object

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

This class exists as a common parent for Mapping and LineMappingPTN. Even though these classes don’t share much code, they are at the same level, so it makes sense to have a common parent for them.

Methods

Parameters:
  • args (Any)

  • kwargs (Any)

Return type:

T

Inheritance

Inheritance diagram of iqm.qaoa.transpiler.routing.BaseMapping