cirq_google.study.DeviceParameter
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.
Args |
path
|
path of the key to modify, with each sub-folder as a string
entry in a list.
|
idx
|
If this key is an array, which index to modify.
|
value
|
value of the parameter to be set, if any.
|
units
|
string value of the unit type of the value, if any.
For instance, "GHz", "MHz", "ns", etc.
|
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
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-27 UTC."],[],[]]