View source on GitHub |
A simple sweep with explicitly supplied values.
Inherits From: Sweep
cirq.Points(
key: 'cirq.TParamKey',
points: Sequence[float],
metadata: Optional[Any] = None
) -> None
Used in the notebooks
Used in the tutorials |
---|
Attributes | |
---|---|
keys
|
The keys for the all of the sympy.Symbols that are resolved. |
Methods
param_tuples
param_tuples() -> Iterator[Params]
An iterator over (key, value) pairs assigning Symbol key to value.
__add__
__add__(
other: 'Sweep'
) -> 'Sweep'
__eq__
__eq__(
other
)
Return self==value.
__getitem__
__getitem__(
val: Union[int, slice]
) -> Union[resolver.ParamResolver, 'Sweep']
__iter__
__iter__() -> Iterator[cirq.ParamResolver
]
__len__
__len__() -> int
__mul__
__mul__(
other: 'Sweep'
) -> 'Sweep'
__ne__
__ne__(
other
) -> bool
Return self!=value.