We're celebrating World Quantum Day 2022! Join us

cirq_google.engine.engine.EngineContext

Context for running against the Quantum Engine API. Most users should

simply create an Engine object instead of working with one of these directly.

proto_version The version of cirq protos to use. If None, then ProtoVersion.V2 will be used.
service_args A dictionary of arguments that can be used to configure options on the underlying client.
verbose Suppresses stderr messages when set to False. Default is true.
client The engine client to use, if not supplied one will be created.
timeout Timeout for polling for results, in seconds. Default is to never timeout.
serializer Used to serialize circuits when running jobs.

ValueError If either service_args and verbose were supplied or client was supplied, or if proto version 1 is specified.

Methods

copy

View source

__eq__

__ne__