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)
Return type:None

Methods

__init__(qubits, edges)
rtype:None
from_dict(d) Re-create the ISA from a dictionary representation.
to_dict() Create a JSON-serializable representation of the ISA.