cirq_google.workflow.EngineProcessorRecord

A serializable record of processor_id to map to a cg.EngineProcessor.

Inherits From: ProcessorRecord

This class presumes the GOOGLE_CLOUD_PROJECT environment variable is set to establish a connection to the cloud service.

processor_id The processor id.

processor_id Dataclass field

Methods

get_device

View source

Return a cirq.Device for the processor specified by this class.

The default implementation delegates to self.get_processor().

get_processor

View source

Return a cg.EngineProcessor for the specified processor_id.

get_sampler

View source

Return a cirq.Sampler for the processor specified by this class.

The default implementation delegates to self.get_processor().

__eq__