![]() |
Modules
api
module: Helpers for converting to/from api data formats.
arg_func_langs
module
common_serializers
module: Common Serializers that can be used by APIs.
devices
module
engine
module: Client for running on Google's Quantum Engine.
gate_sets
module: Gate sets supported by Google's apis.
line
module
op_deserializer
module
op_serializer
module
ops
module
optimizers
module: Package for optimizers and gate compilers related to Google-specific devices.
serializable_gate_set
module: Support for serializing and deserializing cirq.google.api.v2 protos.
Classes
class AnnealSequenceSearchStrategy
: Linearized sequence search using simulated annealing method.
class Calibration
: A convenience wrapper for calibrations that acts like a dictionary.
class ConvertToSqrtIswapGates
: Attempts to convert gates into ISWAP**-0.5 gates.
class ConvertToSycamoreGates
: Attempts to convert non-native gates into SycamoreGates.
class ConvertToXmonGates
: Attempts to convert strange gates into XmonGates.
class DeserializingArg
: Specification of the arguments to deserialize an argument to a gate.
class Engine
: Runs programs via the Quantum Engine API.
class EngineJob
: A job created via the Quantum Engine API.
class EngineProcessor
: A processor available via the Quantum Engine API.
class EngineProgram
: A program created via the Quantum Engine API.
class EngineTimeSlot
: A python wrapping of a Quantum Engine timeslot.
class GateOpDeserializer
: Describes how to deserialize a proto to a given Gate type.
class GateOpSerializer
: Describes how to serialize a GateOperation for a given Gate type.
class GateTabulation
: A 2-qubit gate compiler based on precomputing/tabulating gate products.
class GreedySequenceSearchStrategy
: Greedy search method for linear sequence of qubits on a chip.
class LinePlacementStrategy
: Choice and options for the line placement calculation method.
class PhysicalZTag
: Class to add as a tag onto an Operation to denote a Physical Z operation.
class ProtoVersion
: Protocol buffer version to use for requests to the quantum engine.
class QuantumEngineSampler
: A sampler that samples from processors managed by the Quantum Engine.
class SerializableDevice
: Device object generated from a device specification proto.
class SerializableGateSet
: A class for serializing and deserializing programs and operations.
class SerializingArg
: Specification of the arguments for a Gate and its serialization.
class SycamoreGate
: The Sycamore gate is a two-qubit gate equivalent to FSimGate(π/2, π/6).
class XmonDevice
: A device with qubits placed in a grid. Neighboring qubits can interact.
Functions
SYC(...)
: The Sycamore gate is a two-qubit gate equivalent to FSimGate(π/2, π/6).
engine_from_environment(...)
: THIS FUNCTION IS DEPRECATED.
get_engine(...)
: Get an Engine instance assuming some sensible defaults.
get_engine_calibration(...)
: Returns calibration metrics for a given processor.
get_engine_device(...)
: Returns a Device
object for a given processor.
get_engine_sampler(...)
: Get an EngineSampler assuming some sensible defaults.
line_on_device(...)
: Searches for linear sequence of qubits on device.
optimized_for_sycamore(...)
: Optimizes a circuit for Google devices.
Other Members | |
---|---|
Bristlecone |
72 xmon qubit device.
Qubit grid:
|
FSIM_GATESET | Gate set that combines sqrt(iswap) and syc as one fsim id. |
Foxtail |
72 xmon qubit device.
Qubit grid:
|
NAMED_GATESETS | A convenience mapping from gateset names to gatesets |
SQRT_ISWAP_GATESET | Gate set with sqrt(iswap) as the core 2 qubit interaction. |
SYC_GATESET | Gate set with fsim(pi/2, pi/6) as the core 2 qubit interaction. |
Sycamore |
cirq.google.SerializableDevice
|
Sycamore23 |
cirq.google.SerializableDevice
|
XMON | Gate set for XMON devices. |