cirq.protocols.SupportsParameterization

An object that can be parameterized by Symbols and resolved

via a ParamResolver

Methods

_is_parameterized_

View source

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_

View source

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_

View source

Resolve the parameters in the effect.