Instruction.union

Instruction.union(*schedules, name=None)[source]

Return a new schedule which is the union of self and schedule.

Parameters
  • *schedules – Schedules to be take the union with this Instruction.

  • name (Optional[str]) – Name of the new schedule. Defaults to name of self

Return type

Schedule