Dict) → cirq.ops.raw_types.Operation[source]

Convert the proto dictionary to the corresponding operation.

See protos in api/google/v1 for specification of the protos.


proto_dict – Dictionary representing the proto. Keys are always strings, but values may be types correspond to a raw proto type or another dictionary (for messages).


The operation.

  • ValueError if the dictionary does not contain required values
  • corresponding to the proto.