Module: cirq.study.sweeps

Classes

class Linspace: A simple sweep over linearly-spaced values.

class ListSweep: A wrapper around a list of ParamResolvers.

class Points: A simple sweep with explicitly supplied values.

class Product: Cartesian product of one or more sweeps.

class SingleSweep: A simple sweep over one parameter with values from an iterator.

class Sweep: A sweep is an iterator over ParamResolvers.

class Zip: Zip product (direct sum) of one or more sweeps.

Functions

dict_to_product_sweep(...): Cartesian product of sweeps from a dictionary.

dict_to_zip_sweep(...): Zip product of sweeps from a dictionary.

Type Aliases

Params: The central part of internal API.

ProductOrZipSweepLike: The central part of internal API.

TYPE_CHECKING False
UnitSweep The singleton sweep with no parameters.