iqm.iqm_client.transpile.ExistingMoveHandlingOptions#

class iqm.iqm_client.transpile.ExistingMoveHandlingOptions(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: str, Enum

Transpile options for handling of existing MOVE instructions.

Attributes

KEEP

Transpiler will keep the MOVE instructions as specified checking if they are correct, adding more as needed.

REMOVE

Transpiler will remove the instructions and add new ones.

TRUST

Transpiler will keep the MOVE instructions without checking if they are correct, and add more as needed.

Methods

_generate_next_value_(name, start, count, ...)

Generate the next value when not given.

_new_member_(**kwargs)

Create and return a new object.

_value_repr_()

Return repr(self).

__format__(format_spec)

Return a formatted version of the string as described by format_spec.

__new__(value)

__repr__()

Return repr(self).

__str__()

Return str(self).

KEEP = 'keep'#

Transpiler will keep the MOVE instructions as specified checking if they are correct, adding more as needed.

REMOVE = 'remove'#

Transpiler will remove the instructions and add new ones.

TRUST = 'trust'#

Transpiler will keep the MOVE instructions without checking if they are correct, and add more as needed.