CrystalQPUFromBackend

CrystalQPUFromBackend#

class iqm.qaoa.transpiler.quantum_hardware.CrystalQPUFromBackend(backend)[source]#

Bases: QPU

Class for a QPU with square lattice topology, initialited from an IQMBackend object.

Since the topology is square lattice, the qubits can be identified with 2D integer coordinates (up to a global shift). However, it appears difficult to calculate these coordinates just from the topology graph, so instead a helper function is used with hard-coded sets of coordinates for IQM’s public QPU designs.

Parameters:

backend (IQMBackendBase) – The backend containing information about the QPU.

Attributes

Methods