cirq.to_sweep

Converts the argument into a <a href="../cirq/Sweep"><code>cirq.Sweep</code></a>.

sweep_or_resolver_list The object to try to turn into a <a href="../cirq/Sweep"><code>cirq.Sweep</code></a> . A <a href="../cirq/Sweep"><code>cirq.Sweep</code></a>, a single <a href="../cirq/ParamResolver"><code>cirq.ParamResolver</code></a>, or a list of <a href="../cirq/ParamResolver"><code>cirq.ParamResolver</code></a> s.

A sweep equal to or containing the argument.

TypeError If an unsupport type was supplied.