cirq.Points

A simple sweep with explicitly supplied values.

Inherits From: Sweep

Used in the notebooks

Used in the tutorials

key sympy.Symbol or equivalent to sweep across.
points sequence of floating point values that represent the values to sweep across. The length of the sweep will be equivalent to the length of this sequence.
metadata Optional metadata to attach to the sweep to annotate the sweep or its variable.

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

Methods

param_tuples

View source

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

__add__

View source

__eq__

View source

Return self==value.

__getitem__

View source

__iter__

View source

__len__

View source

__mul__

View source

__ne__

View source

Return self!=value.