Module: cirq.contrib.json

Contains functions for adding JSON serialization and de-serialization for

classes in Contrib.

Functions

contrib_class_resolver(...): Extend cirq's JSON API with resolvers for cirq contrib classes.

DEFAULT_CONTRIB_RESOLVERS [<function contrib_class_resolver at 0x7fdd440f64d0>, <function _lazy_resolver.<locals>.json_resolver at 0x7fddfd8e1710>, <function _lazy_resolver.<locals>.json_resolver at 0x7fdd441269e0>, <function _lazy_resolver.<locals>.json_resolver at 0x7fde05ef9830>]
DEFAULT_RESOLVERS [<function _lazy_resolver.<locals>.json_resolver at 0x7fddfd8e1710>, <function _lazy_resolver.<locals>.json_resolver at 0x7fdd441269e0>, <function _lazy_resolver.<locals>.json_resolver at 0x7fde05ef9830>, <function _lazy_resolver.<locals>.json_resolver at 0x7fdd440d7dd0>]