cirq.google.schedule_to_proto_dicts

cirq.google.schedule_to_proto_dicts(schedule: cirq.schedules.schedule.Schedule) → Iterable[Dict][source]

Convert a schedule into an iterable of proto dictionaries.

Parameters:schedule – The schedule to convert to a proto dict. Must contain only gates that can be cast to xmon gates.
Yields:A proto dictionary corresponding to an Operation proto.