cirq_aqt.aqt_device_metadata.AQTDeviceMetadata
Hardware metadata for ion trap device with all-connected qubits placed on a line.
cirq_aqt.aqt_device_metadata.AQTDeviceMetadata(
qubits: Iterable['cirq.LineQubit'],
measurement_duration: 'cirq.DURATION_LIKE',
twoq_gates_duration: 'cirq.DURATION_LIKE',
oneq_gates_duration: 'cirq.DURATION_LIKE'
)
Args |
qubits
|
Iterable of cirq.LineQubit s that exist on the device.
|
measurement_duration
|
The maximum duration of a measurement.
|
twoq_gates_duration
|
The maximum duration of a two qubit operation.
|
oneq_gates_duration
|
The maximum duration of a single qubit operation.
|
Attributes |
gate_durations
|
Get a dictionary of supported gate families and their gate operation durations.
Use duration_of to obtain duration of a specific cirq.GateOperation instance.
|
gateset
|
Returns the cirq.Gateset of supported gates on this device.
|
measurement_duration
|
Return the maximum duration of the measurement operation.
|
nx_graph
|
Returns a nx.Graph where nodes are qubits and edges are couple-able qubits.
|
oneq_gates_duration
|
Return the maximum duration of an operation on one-qubit gates.
|
qubit_set
|
Returns the set of qubits on the device.
|
twoq_gates_duration
|
Return the maximum duration of an operation on two-qubit gates.
|
Methods
duration_of
View source
duration_of(
operation: 'cirq.Operation'
) -> 'cirq.DURATION_LIKE'
Return the maximum duration of the specified gate operation.
Args |
operation
|
The cirq.Operation for which to determine its duration.
|
Raises |
ValueError
|
if the operation has an unsupported gate type.
|
__eq__
__eq__(
other: _SupportsValueEquality
) -> bool
__ne__
__ne__(
other: _SupportsValueEquality
) -> bool
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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "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."],[],[]]