|View source on GitHub|
THIS FUNCTION IS DEPRECATED.
cirq.google.engine_from_environment() -> "cirq.google.Engine"
IT WILL BE REMOVED IN
Use cirq.get_engine instead.
Returns an Engine instance configured using environment variables.
If the environment variables are set, but incorrect, an authentication failure will occur when attempting to run jobs on the engine. Required Environment Variables: CIRQ_QUANTUM_ENGINE_DEFAULT_PROJECT_ID: The name of a google cloud project, with the quantum engine enabled, that you have access to. Raises: EnvironmentError: The environment variables are not set.