iqm.qaoa.transpiler.quantum_hardware

iqm.qaoa.transpiler.quantum_hardware#

The module for classes representing various QPU architectures.

The module also contains four type aliases, which are imported by other modules for more clear type hinting.

Module Attributes

LogQubit

A custom type alias for int to refer to logical / problem qubits.

HardQubit

A custom type alias for int to refer to hardware qubits.

LogEdge

A custom type alias for frozenset of LogQubit to refer to interactions between logical qubits.

HardEdge

A custom type alias of frozenset of HardQubit to refer to interactions between hardware qubits.

Classes

CrystalQPUFromBackend(backend)

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

Grid2DQPU(num_rows, num_columns)

Class for 2D rectangular QPU.

LineQPU(length)

A linear QPU (qubits on a line).

QPU(hardware_graph[, hardware_layout])

A parent class for all QPU architectures.

StarQPU(n)

A star-shaped QPU (Daneb, Sirius, ...).

Inheritance

Inheritance diagram of iqm.qaoa.transpiler.quantum_hardware