![]() |
Concatenates multiple to a new sweep.
Inherits From: Sweep
cirq.Concat(
*sweeps
) -> None
All sweeps must share the same descriptors.
If one sweep assigns 'a' to the values 0, 1, 2, and another sweep assigns 'a' to the values 3, 4, 5, the concatenation produces a sweep assigning 'a' to the values 0, 1, 2, 3, 4, 5 in sequence.
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.