cirq.google.EngineProcessor

class cirq.google.EngineProcessor(project_id: str, processor_id: str, context: engine_base.EngineContext, _processor: Optional[google.cloud.quantum_v1alpha1.proto.quantum_pb2.QuantumProcessor] = None)[source]

A processor available via the Quantum Engine API.

project\_id

A project_id of the parent Google Cloud Project.

processor\_id

Unique ID of the processor.

__init__(project_id: str, processor_id: str, context: engine_base.EngineContext, _processor: Optional[google.cloud.quantum_v1alpha1.proto.quantum_pb2.QuantumProcessor] = None) → None[source]

A processor available via the engine.

Parameters
  • project_id – A project_id of the parent Google Cloud Project.

  • processor_id – Unique ID of the processor.

  • context – Engine configuration and context to use.

  • _processor – The optional current processor state.