|View source on GitHub|
Resolves symbol parameters in the effect using the param resolver.
cirq.protocols.resolve_parameters( val: T, param_resolver: "cirq.ParamResolverOrSimilarType", recursive: bool = True ) -> T
This function will use the
_resolve_parameters_ magic method
val to resolve any Symbols with concrete values from the given
||The object to resolve (e.g. the gate, operation, etc)|
||the object to use for resolving all symbols|
||if True, resolves parameters recursively over the resolver; otherwise performs a single resolution step.|
a gate or operation of the same type, but with all Symbols
replaced with floats or terminal symbols according to the
given ParamResolver. If
RecursionError if the ParamResolver detects a loop in resolution.