View source on GitHub |
Rewrites the create_job parameters so that processor_id
is used instead of the deprecated processor_ids
.
cirq_google.engine.engine_client.rewrite_processor_ids_to_processor_id(
args, kwargs
)
Raises:
ValueError: If `processor_ids` has more than one processor id.
ValueError: If `run_name` or `device_config_name` are set but `processor_id` is not.