TranspilerOption#

Module: iqm.qaoa.circuits

class iqm.qaoa.circuits.TranspilerOption(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: StrEnum

Available transpilation (routing) strategies for QAOA circuits.

Attributes

DEFAULT

Use the default Qiskit transpilation.

HARDWIRED

Use the 'hardwired_router' transpiler for IQM Crystal backends.

SPARSE

Use the 'greedy_router' sparse transpiler for IQM Crystal backends.

SWAP_NETWORK

Use the 'sn_router' swap network transpiler for IQM Crystal backends.

MINIMUM_VERTEX_COVER

Use the minimum vertex cover transpiler for IQM Star backends.

PARITY_TWINE_NETWORK

Use the parity-twine network transpiler for IQM Crystal backends.

Methods

DEFAULT = 'Default'#

Use the default Qiskit transpilation.

HARDWIRED = 'HardwiredTranspiler'#

Use the ‘hardwired_router’ transpiler for IQM Crystal backends.

SPARSE = 'SparseTranspiler'#

Use the ‘greedy_router’ sparse transpiler for IQM Crystal backends.

SWAP_NETWORK = 'SwapNetwork'#

Use the ‘sn_router’ swap network transpiler for IQM Crystal backends.

MINIMUM_VERTEX_COVER = 'MinimumVertexCover'#

Use the minimum vertex cover transpiler for IQM Star backends.

PARITY_TWINE_NETWORK = 'ParityTwineNetwork'#

Use the parity-twine network transpiler for IQM Crystal backends.

Inheritance

Inheritance diagram of iqm.qaoa.circuits.TranspilerOption