View source on GitHub |
Class for specifying device parameters.
Inherits From: SupportsDeviceParameter
cirq_google.study.DeviceParameter(
path: Sequence[str],
idx: Optional[int] = None,
value: Optional[Any] = None,
units: Optional[str] = None
)
For instance, varying the length of pulses, timing, etc. This class is intended to be attached to a cirq.Points or cirq.Linspace sweep object as a metadata attribute.
Attributes | |
---|---|
path
|
Dataclass field |
idx
|
Dataclass field |
value
|
Dataclass field |
units
|
Dataclass field |
Methods
__eq__
__eq__(
other
)
Return self==value.
Class Variables | |
---|---|
idx |
None
|
units |
None
|
value |
None
|