CrystalQPUFromBackend#
Module: iqm.qaoa.transpiler.quantum_hardware
- class iqm.qaoa.transpiler.quantum_hardware.CrystalQPUFromBackend(backend)[source]#
Bases:
QPUClass for a QPU with square lattice topology, initialited from a Qiskit backend 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.
If the provided
backendis an instance ofIQMBackend, then it contains an instance ofIQMClientwhich can be used to get the calibration data (CZ gate fidelity). This can be in turn used for more advanced transpilation methods (e.g., prioritizing applying gates on connections with high CZ gate fidelity).- Parameters:
backend (IQMBackendBase) – The backend containing information about the QPU.
Attributes
Methods
Inheritance
