pyquil.device.ISA

class pyquil.device.ISA[source]

Basic Instruction Set Architecture specification.

Variables:
  • qubits (Sequence[Qubit]) – The qubits associated with the ISA.
  • edges (Sequence[Edge]) – The multi-qubit gates.

Create new instance of _ISA(qubits, edges)

__init__()

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

Methods

count(value)
from_dict(d) Re-create the ISA from a dictionary representation.
index(value, [start, [stop]]) Raises ValueError if the value is not present.
to_dict() Create a JSON-serializable representation of the ISA.

Attributes

edges Alias for field number 1
qubits Alias for field number 0