time_since_last_calibration

The Q-CTRL Experiment Scheduler is currently in alpha phase of development. Breaking changes may be introduced.

CalibrationNode.time_since_last_calibration()

Return the time since the last calibration was successful.

Some graph traversal algorithms take into account whether the last calibration was longer ago than the typical drift times of the system, or whether the dependent nodes were calibrated more recently than the depending nodes. For these algorithms, having access to the last time since the calibration was run is important.

Returns:

The time in seconds since the last calibration was run successfully. If no calibration of this type was successful, this function returns np.inf.

Return type:

float