View source on GitHub |
An object that can be parameterized by Symbols and resolved
cirq.SupportsParameterization(
*args, **kwargs
)
via a ParamResolver
Methods
_is_parameterized_
_is_parameterized_() -> bool
Whether the object is parameterized by any Symbols that require resolution. Returns True if the object has any unresolved Symbols and False otherwise.
_parameter_names_
_parameter_names_() -> AbstractSet[str]
Returns a collection of string names of parameters that require resolution. If _isparameterized is False, the collection is empty. The converse is not necessarily true, because some objects may report that they are parameterized when they contain symbolic constants which need to be evaluated, but no free symbols.
_resolve_parameters_
_resolve_parameters_(
resolver: 'cirq.ParamResolver', recursive: bool
) -> Self
Resolve the parameters in the effect.