cirq_aqt.aqt_device.AQTDevice
Ion trap device with qubits having all-to-all connectivity and placed on a line.
cirq_aqt.aqt_device.AQTDevice(
measurement_duration: 'cirq.DURATION_LIKE',
twoq_gates_duration: 'cirq.DURATION_LIKE',
oneq_gates_duration: 'cirq.DURATION_LIKE',
qubits: Iterable[cirq.LineQubit]
) -> None
Args |
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.
|
qubits
|
Qubits on the device, identified by their x location.
|
Attributes |
metadata
|
Returns the associated Metadata with the device if applicable.
|
Methods
at
View source
at(
position: int
) -> Optional[cirq.LineQubit]
Returns the qubit at the given position, if there is one, else None.
validate_circuit
View source
validate_circuit(
circuit: cirq.AbstractCircuit
)
Raises an exception if a circuit is not valid.
Args |
circuit
|
The circuit to validate.
|
Raises |
ValueError
|
The circuit isn't valid for this device.
|
validate_gate
View source
validate_gate(
gate: cirq.Gate
)
validate_moment
validate_moment(
moment: 'cirq.Moment'
) -> None
Raises an exception if a moment is not valid.
Args |
moment
|
The moment to validate.
|
Raises |
ValueError
|
The moment isn't valid for this device.
|
validate_operation
View source
validate_operation(
operation
)
Raises an exception if an operation is not valid.
Args |
operation
|
The operation to validate.
|
Raises |
ValueError
|
The operation isn't valid for this device.
|
__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.
[[["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."],[],[]]