iqm.cpc.compiler.standard_stages.resolve_circuits

iqm.cpc.compiler.standard_stages.resolve_circuits#

iqm.cpc.compiler.standard_stages.resolve_circuits(circuits, builder, scheduling_strategy='ASAP')#

Resolve the circuits to timeboxes.

Parameters:
  • circuits (list[Circuit]) – The circuit to resolve.

  • builder (ScheduleBuilder) – The schedule builder.

  • scheduling – The scheduling strategy to be used in the resolved TimeBoxes (see TimeBox).

  • scheduling_strategy (str)

Returns:

List of TimeBoxes (one TimeBox per circuit).

Return type:

list[TimeBox]