Module: cirq_google.calibration.phased_fsim

Classes

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 PhaseCalibratedFSimGate: Association of a user gate with gate to calibrate.

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 XEBPhasedFSimCalibrationOptions: Options for configuring a PhasedFSim calibration using XEB.

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

Functions

lru_cache_typesafe(...)

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

try_convert_gate_to_fsim(...): Converts a gate to equivalent PhaseCalibratedFSimGate if possible.

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

try_convert_syc_or_sqrt_iswap_to_fsim(...): Converts a gate to equivalent PhaseCalibratedFSimGate if possible.

ALL_ANGLES_FLOQUET_PHASED_FSIM_CHARACTERIZATION Instance of cirq_google.calibration.FloquetPhasedFSimCalibrationOptions
ALL_ANGLES_XEB_PHASED_FSIM_CHARACTERIZATION Instance of cirq_google.calibration.XEBPhasedFSimCalibrationOptions
RequestT Instance of typing.TypeVar
SQRT_ISWAP_INV_PARAMETERS Instance of cirq_google.calibration.PhasedFSimCharacterization
T Instance of typing.TypeVar
THETA_ZETA_GAMMA_FLOQUET_PHASED_FSIM_CHARACTERIZATION Instance of cirq_google.calibration.FloquetPhasedFSimCalibrationOptions
TYPE_CHECKING False
WITHOUT_CHI_FLOQUET_PHASED_FSIM_CHARACTERIZATION Instance of cirq_google.calibration.FloquetPhasedFSimCalibrationOptions