cirq_google.workflow.ProcessorRecord

A serializable record that maps to a particular cg.engine.AbstractProcessor.

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

Using this classes' attributes, return a unique cg.engine.AbstractProcessor

This is the primary method that descendants must implement.

get_sampler

View source

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

The default implementation delegates to self.get_processor().