cirq_google.api.v2.run_context_to_proto

Populates a RunContext protobuf message.

sweepable The sweepable to include in the run context.
repetitions The number of repetitions for the run context. Can be a single integer or a sequence of integers (for non-uniform repetitions in batch).
out Optional message to be populated. If not given, a new message will be created.
compress_proto If set to True the function will gzip the proto and store the contents in the bytes field.
use_float64 If true, float64 is used to encode the floating value. If false, float32 is used instead. Default: False.

Populated RunContext protobuf message.