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