cirq.ExpressionMap

class cirq.ExpressionMap(*args, **kwargs)[source]
A dictionary with sympy expressions and symbols for keys and sympy
symbols for values.
This is returned by cirq.flatten. See ExpressionMap.transform_sweep and
ExpressionMap.transform_params.
__init__(*args, **kwargs)[source]

Initializes the ExpressionMap.

Takes the same arguments as the builtin dict. Keys must be sympy
expressions or symbols (instances of sympy.Basic).