cirq.SerializableByKey

Protocol for objects that can be serialized to a key + context.

Inherits From: SupportsJSON

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.

Methods

_json_dict_

View source