Module: cirq.google.calibration

Modules

engine_simulator module

phased_fsim module

workflow 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 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.

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_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.FloquetPhasedFSimCalibrationOptions
SQRT_ISWAP_PARAMETERS Instance of cirq.google.PhasedFSimCharacterization
THETA_ZETA_GAMMA_FLOQUET_PHASED_FSIM_CHARACTERIZATION Instance of cirq.google.FloquetPhasedFSimCalibrationOptions
WITHOUT_CHI_FLOQUET_PHASED_FSIM_CHARACTERIZATION Instance of cirq.google.FloquetPhasedFSimCalibrationOptions