cirq.google.run_calibrations

Runs calibration requests on the Engine.

Used in the notebooks

Used in the tutorials

calibrations List of calibrations to perform described in a request object.
engine cirq.google.Engine or cirq.google.PhasedFSimEngineSimulator object used for running the calibrations. When cirq.google.Engine then processor_id and gate_set arguments must be provided as well.
processor_id processor_id passed to engine.run_calibrations method. Can be None when cirq.google.PhasedFSimEngineSimulator is used as an engine.
gate_set Gate set to use for characterization request. Can be None when cirq.google.PhasedFSimEngineSimulator is used as an engine.
max_layers_per_request Maximum number of calibration requests issued to cirq.Engine at a single time. Defaults to 1.
progress_func Optional callback function that might be used to report the calibration progress. The callback is called with two integers, the first one being a number of layers already calibrated and the second one the total number of layers to calibrate.

List of PhasedFSimCalibrationResult for each requested calibration.