We're celebrating World Quantum Day 2022! Join us


Returns a type object for JSON deserialization of type_str.

This method is not part of the base deserialization path. Together with json_cirq_type, it can be used to provide type-object deserialization for classes that need it.

type_str string representation of the type to deserialize.
resolvers list of JsonResolvers to use in type resolution. If this is left blank, DEFAULT_RESOLVERS will be used.

The type object T for which json_cirq_type(T) matches type_str.

ValueError if type_str does not have a match in resolvers, or if the match found is a factory method instead of a type.