iqm.pulse.quantum_ops.validate_locus_calibration

iqm.pulse.quantum_ops.validate_locus_calibration#

iqm.pulse.quantum_ops.validate_locus_calibration(cal_data, impl, op, impl_name, locus)#

Validates calibration for a particular gate implementation at particular locus.

Parameters:
  • cal_data (OILCalibrationData) – Calibration data tree for the locus.

  • impl (type[GateImplementation]) – GateImplementation class that defines the required parameters.

  • op (QuantumOp) – QuantumOp that impl implements.

  • impl_name (str) – name of the implementation, for error messages.

  • locus (tuple[str, ...]) – Locus of the operation

Raises:

ValueError – there is something wrong with the calibration data

Return type:

None