cirq.IonDevice

THIS CLASS IS DEPRECATED.

Inherits From: Device

IT WILL BE REMOVED IN cirq v0.16.

Use cirq_aqt.aqt_device.AQTDevice.

A device with qubits placed on a line.

Qubits have all-to-all connectivity.

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.

TypeError If not all the qubits supplied are cirq.LineQubits.

metadata Returns the associated Metadata with the device if applicable.

Methods

at

View source

Returns the qubit at the given position, if there is one, else None.

decompose_circuit

View source

duration_of

View source

neighbors_of

View source

Returns the qubits that the given qubit can interact with.

validate_circuit

View source

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_moment

View source

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

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__

View source