cirq.to_sweep

Converts the argument into a cirq.Sweep.

sweep_or_resolver_list The object to try to turn into a cirq.Sweep . A cirq.Sweep, a single cirq.ParamResolver, or a list of cirq.ParamResolver s.

A sweep equal to or containing the argument.

TypeError If an unsupport type was supplied.