![]() |
Returns a Device
object for a given processor.
cirq_google.engine.get_engine_device(
processor_id: str,
project_id: Optional[str] = None,
gatesets: Iterable[cirq_google.serialization.SerializableGateSet
] = ()
) -> cirq.Device
This is a short-cut for creating an engine object, getting the processor object, and retrieving the device. Note that the gateset is required in order to match the serialized specification back into cirq objects.