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