iqm.cpc.compiler.standard_stages.validate_circuits

iqm.cpc.compiler.standard_stages.validate_circuits#

iqm.cpc.compiler.standard_stages.validate_circuits(circuits, builder, context, move_gate_validation=True, validate_prx=True, validate_calset=False)#

Validate circuits and aggerate metrics data from them.

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

  • builder (ScheduleBuilder) – The ScheduleBuilder.

  • context (dict[str, Any]) – The compiler context.

  • move_gate_validation (bool) – Whether to do the move gate validation.

  • validate_prx (bool) – Whether to do the validation.

  • validate_calset (bool) – Whether to validate the calibration set (if the calibration point used is not from a calibration set, this validation might not make sense).

Return type:

list[Circuit]