# pyquil.device.Device¶

class pyquil.device.Device(name, raw)[source]

A device (quantum chip) that can accept programs.

Only devices that are online will actively be accepting new programs. In addition to the self._raw attribute, two other attributes are optionally constructed from the entries in self._rawisa and noise_model – which should conform to the dictionary format required by the .from_dict() methods for ISA and NoiseModel, respectively.

Variables: _raw (dict) – Raw JSON response from the server with additional information about the device. isa (ISA) – The instruction set architecture (ISA) for the device. noise_model (NoiseModel) – The noise model for the device. name – name of the device raw – raw JSON response from the server with additional information about this device.
__init__(name, raw)[source]
__init__(name, raw)
get_isa([oneq_type, twoq_type]) Construct an ISA suitable for targeting by compilation.
get_specs() Construct a Specs object required by compilation
qubit_topology() The connectivity of qubits in this device given as a NetworkX graph.
qubits() A sorted list of qubits in the device topology.
 isa