|View source on GitHub|
Protocol for objects that can be serialized to a key + context.
cirq.SerializableByKey( *args, **kwargs )
In serialization, objects that inherit from this type will only be fully defined once (the "context"). Thereafter, a unique integer key will be used to identify that object.
_json_dict_() -> Union[None, NotImplementedType, Dict[Any, Any]]