cirq.ListSweep

class cirq.ListSweep(resolver_list: Iterable[Optional[Union[cirq.ParamResolver, Dict[Union[str, sympy.core.symbol.Symbol], Union[float, str, sympy.core.basic.Basic]]]]])[source]

A wrapper around a list of ParamResolvers.

__init__(resolver_list: Iterable[Optional[Union[cirq.ParamResolver, Dict[Union[str, sympy.core.symbol.Symbol], Union[float, str, sympy.core.basic.Basic]]]]])[source]

Creates a Sweep over a list of ParamResolvers.

Parameters

resolver_list – The list of parameter resolvers to use in the sweep. All resolvers must resolve the same set of parameters.

Methods

param_tuples()

An iterator over (key, value) pairs assigning Symbol key to value.

Attributes

keys

The keys for the all of the sympy.Symbols that are resolved.