View source on GitHub |
Cartesian product of sweeps from a dictionary.
cirq.dict_to_product_sweep(
factor_dict: ProductOrZipSweepLike
) -> cirq.Product
Each entry in the dictionary specifies a sweep as a mapping from the parameter to a value or sequence of values. The Cartesian product of these sweeps is returned.
Args | |
---|---|
factor_dict
|
The dictionary containing the sweeps. |
Returns | |
---|---|
Cartesian product of the sweeps. |