IdleWindow#

Module: iqm.cpc.compiler.dd

class iqm.cpc.compiler.dd.IdleWindow(schedule_index, qubit, channel_name, idle_index, instruction_index, duration_samples)#

Bases: object

A single eligible idle (Wait) period on a specific qubit’s drive channel.

Instances are used as keys (via their key) in IdleDDMap.

Attributes

key

Identifier for this window.

schedule_index

Index of the schedule in the compiled list (= circuit index for sweeps=None).

qubit

Physical qubit name, e.g. "QB1".

channel_name

Drive channel associated with qubit.

idle_index

0-based index among eligible idles on this qubit within this schedule.

instruction_index

Index of the Wait instruction in the channel's segment.

duration_samples

Duration of the Wait in samples.

Methods

Parameters:
  • schedule_index (int)

  • qubit (str)

  • channel_name (str)

  • idle_index (int)

  • instruction_index (int)

  • duration_samples (int)

schedule_index: int#

Index of the schedule in the compiled list (= circuit index for sweeps=None).

qubit: str#

Physical qubit name, e.g. "QB1".

channel_name: str#

Drive channel associated with qubit.

idle_index: int#

0-based index among eligible idles on this qubit within this schedule.

instruction_index: int#

Index of the Wait instruction in the channel’s segment.

duration_samples: int#

Duration of the Wait in samples.

property key: IdleWindowKey#

Identifier for this window.

Inheritance

Inheritance diagram of iqm.cpc.compiler.dd.IdleWindow