ExpressionMap.transform_params(params: Optional[Union[cirq.ParamResolver, Dict[cirq.TParamKey, cirq.TParamVal]]]) → Dict[cirq.TParamKey, cirq.TParamVal][source]
Returns a ParamResolver to use with a circuit flattened earlier
with cirq.flatten.
If params maps symbol a to 3.0 and this ExpressionMap maps
a/2+1 to '<a/2 + 1>' then this method returns a resolver that maps
symbol '<a/2 + 1>' to 2.5.

See cirq.flatten for an example.


params – The params to transform.