pyquil.device.ISA

class pyquil.device.ISA(qubits, edges)[source]

Basic Instruction Set Architecture specification.

Variables
  • qubits – The qubits associated with the ISA.

  • edges – The multi-qubit gates.

__init__(qubits, edges)

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

Methods

__init__(qubits, edges)

Initialize self.

from_dict(d)

Re-create the ISA from a dictionary representation.

to_dict()

Create a JSON-serializable representation of the ISA.