class cirq.ParamResolver(param_dict: Dict[str, float])[source]

Resolves Symbols to actual values.

A Symbol is a wrapped parameter name (str). A ParamResolver is an object that can be used to assign values for these keys.

ParamResolvers are hashable.


A dictionary from the ParameterValue key (str) to its assigned value.

__init__(param_dict: Dict[str, float]) → None[source]

Initialize self. See help(type(self)) for accurate signature.


value_of(value, float, str]) Attempt to resolve a Symbol or name or float to its assigned value.