cirq.IonDevice

class cirq.IonDevice(measurement_duration: cirq.DURATION_LIKE, twoq_gates_duration: cirq.DURATION_LIKE, oneq_gates_duration: cirq.DURATION_LIKE, qubits: Iterable[cirq.devices.line_qubit.LineQubit])[source]

A device with qubits placed on a line.

Qubits have all-to-all connectivity.

__init__(measurement_duration: cirq.DURATION_LIKE, twoq_gates_duration: cirq.DURATION_LIKE, oneq_gates_duration: cirq.DURATION_LIKE, qubits: Iterable[cirq.devices.line_qubit.LineQubit]) → None[source]

Initializes the description of an ion trap device.

Parameters
  • 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, y location.