pyquil.device.AbstractDevice

class pyquil.device.AbstractDevice[source]
__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

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.