BaseMapping#
Module: iqm.qaoa.transpiler.routing
- class iqm.qaoa.transpiler.routing.BaseMapping(*args, **kwargs)[source]#
Bases:
objectThe base class for mapping used in routing of QAOA circuits on the QPU.
This class exists as a common parent for
MappingandLineMappingPTN. 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
