cirq.is_parameterized¶
-
cirq.is_parameterized(val: Any) → bool[source]¶ Returns whether the object is parameterized with any Symbols.
A value is parameterized when it has an_is_parameterized_method andthat method returns a truthy value.Returns: True if the gate has any unresolved Symbols and False otherwise. If no implementation of the magic method above exists or if that method returns NotImplemented, this will default to False.