iqm.pulla.utils.InstructionLocation#

class iqm.pulla.utils.InstructionLocation(channel_name, index, duration)#

Bases: tuple

Return type for locate_instructions().

Attributes

channel_name

Alias for field number 0

duration

Alias for field number 2

index

Alias for field number 1

Methods

__getnewargs__()

Return self as a plain tuple.

__new__(_cls, channel_name, index, duration)

Create new instance of InstructionLocation(channel_name, index, duration)

__repr__()

Return a nicely formatted representation string

_asdict()

Return a new dict which maps field names to their values.

_make(iterable)

Make a new InstructionLocation object from a sequence or iterable

_replace(**kwds)

Return a new InstructionLocation object replacing specified fields with new values

channel_name#

Alias for field number 0

duration#

Alias for field number 2

index#

Alias for field number 1