View source on GitHub |
Returns a string type for JSON serialization of type_obj
.
cirq.json_cirq_type(
type_obj: Type
) -> str
This method is not part of the base serialization path. Together with
cirq_type_from_json
, it can be used to provide type-object serialization
for classes that need it.