cirq_google.api.v2.batch_run_context_to_proto

Populates a BatchRunContext protobuf message.

sweepables_and_reps Iterable over tuples of (sweepable, repetitions), one for each run context in the batch.
out Optional message to be populated. If not given, a new message will be created.

Populated BatchRunContext protobuf message.