![]() |
Context for running against the Quantum Engine API. Most users should
cirq.google.engine.engine.EngineContext(
proto_version: Optional[cirq.google.ProtoVersion
] = None,
service_args: Optional[Dict] = None,
verbose: Optional[bool] = None,
client: "Optional[engine_client.EngineClient]" = None,
timeout: Optional[int] = None
) -> None
simply create an Engine object instead of working with one of these directly.
Args | |
---|---|
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. |
timeout
|
Timeout for polling for results, in seconds. Default is to never timeout. |
Methods
copy
copy() -> "EngineContext"
__eq__
__eq__(
other: _SupportsValueEquality
) -> bool
__ne__
__ne__(
other: _SupportsValueEquality
) -> bool