![]() |
Converts a Sweep to v2 protobuf message.
cirq.google.api.v2.sweep_to_proto(
sweep: cirq.study.Sweep
,
*,
out: Optional[cirq.google.api.v2.run_context_pb2.Sweep
] = None
) -> cirq.google.api.v2.run_context_pb2.Sweep
Args | |
---|---|
sweep
|
The sweep to convert. |
out
|
Optional message to be populated. If not given, a new message will be created. |
Returns | |
---|---|
Populated sweep protobuf message. |