cirq.HasJSONNamespace

An object which prepends a namespace to its JSON cirq_type.

Classes which implement this method have the following cirq_type format:

f"{obj._json_namespace_()}.{obj.__class__.__name__}

Classes outside of Cirq or its submodules MUST implement this method to be used in type serialization.