![]() |
Returns parameter names for this object.
cirq.protocols.parameter_names(
val: Any
) -> AbstractSet[str]
Args | |
---|---|
val
|
Object for which to find the parameter names. |
check_symbols
|
If true, fall back to calling parameter_symbols. |
Returns | |
---|---|
A set of parameter names if the object is parameterized. It the object does not implement the _parameternames magic method or that method returns NotImplemented, returns an empty set. |