Module: cirq_google.calibration

Modules

engine_simulator module

phased_fsim module

workflow module

xeb_wrapper module

Classes

class CircuitWithCalibration: Circuit with characterization data annotations.

class FSimPhaseCorrections: Operations that compensate for zeta, chi and gamma angles of an approximate FSimGate gate.

class FloquetPhasedFSimCalibrationOptions: Options specific to Floquet PhasedFSimCalibration.

class FloquetPhasedFSimCalibrationRequest: PhasedFSim characterization request specific to Floquet calibration.

class IncompatibleMomentError: Error that occurs when a moment is not supported by a calibration routine.

class LocalXEBPhasedFSimCalibrationOptions: Options for configuring a PhasedFSim calibration using a local version of XEB.

class LocalXEBPhasedFSimCalibrationRequest: PhasedFSim characterization request for local cross entropy benchmarking (XEB) calibration.

class PhasedFSimCalibrationError: Error that indicates the calibration failure.

class PhasedFSimCalibrationOptions: Base class for calibration-specific options passed together with the requests.

class PhasedFSimCalibrationRequest: Description of the request to characterize PhasedFSimGate.

class PhasedFSimCalibrationResult: The PhasedFSimGate characterization result.

class PhasedFSimCharacterization: Holder for the unitary angles of the cirq.PhasedFSimGate.

class PhasedFSimEngineSimulator: Wrapper on top of cirq.Simulator that allows to simulate calibration requests.

class XEBPhasedFSimCalibrationOptions: Options for configuring a PhasedFSim calibration using XEB.

class XEBPhasedFSimCalibrationRequest: PhasedFSim characterization request for cross entropy benchmarking (XEB) calibration.

Functions

make_zeta_chi_gamma_compensation_for_moments(...): Compensates circuit moments against errors in zeta, chi and gamma angles.

make_zeta_chi_gamma_compensation_for_operations(...): Compensates circuit operations against errors in zeta, chi and gamma angles.

merge_matching_results(...): Merges a collection of results into a single result.

prepare_characterization_for_moment(...): Describes a given moment in terms of a characterization request.

prepare_characterization_for_moments(...): Extracts a minimal set of characterization requests necessary to characterize given circuit.

prepare_characterization_for_operations(...): Extracts a minimal set of characterization requests necessary to characterize all the

prepare_floquet_characterization_for_moment(...): Describes a given moment in terms of a Floquet characterization request.

prepare_floquet_characterization_for_moments(...): Extracts a minimal set of Floquet characterization requests necessary to characterize given

prepare_floquet_characterization_for_operations(...): Extracts a minimal set of Floquet characterization requests necessary to characterize all the

run_calibrations(...): Runs calibration requests on the Engine.

run_floquet_characterization_for_moments(...): Extracts moments within a circuit to characterize and characterizes them against engine.

run_zeta_chi_gamma_compensation_for_moments(...): Compensates circuit against errors in zeta, chi and gamma angles by running calibrations on

try_convert_sqrt_iswap_to_fsim(...): Converts an equivalent gate to FSimGate(theta=π/4, phi=0) if possible.

ALL_ANGLES_FLOQUET_PHASED_FSIM_CHARACTERIZATION Instance of cirq_google.calibration.FloquetPhasedFSimCalibrationOptions
SQRT_ISWAP_INV_PARAMETERS Instance of cirq_google.calibration.PhasedFSimCharacterization
THETA_ZETA_GAMMA_FLOQUET_PHASED_FSIM_CHARACTERIZATION Instance of cirq_google.calibration.FloquetPhasedFSimCalibrationOptions
WITHOUT_CHI_FLOQUET_PHASED_FSIM_CHARACTERIZATION Instance of cirq_google.calibration.FloquetPhasedFSimCalibrationOptions