check_data

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

CalibrationNode.check_data()

Run the provided function to run the experiment to check the data.

If none is provided (not all calibration setups are capable of comporting a specialized check data function), then it will check if it is safe to run a calibration for this node. In other words, it will check if all dependencies are in SUCCESS status. If they are, a new calibration is run and its return status is used to determine the success of check data. If it is not safe to rerun a calibration (for example, if the dependencies haven’t been calibrated yet), then check data fails.

A failing check data experiment changes the state of the node.

Returns:

The status of the node after the experiment.

Return type:

NodeStatus