Skip to content

✨ Check Specialization of QDMI Devices #1227

@ystade

Description

@ystade

Problem Statement

Currently, there is only the implementation of an NA QDMI device alongside a corresponding NA FoMaC implementation. At the point in time, where there are more and other QDMI device, e.g., representing superconducting architectures, the retrieval of devices by calling getDevices of the NA FoMaC will lead to an error.

Proposed Solution

A proper fix for the issue described above, comprises the following features:

  1. Implement a function in each specialized FoMaC, whether it can be instatntiated from a given QDMI device handle.
  2. Use this check to reject QDMI devices passed to their constructor that do not satisfy the check.
  3. Filter the list of devices returned by the getDevices function of the respective FoMaC.

For context see also here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    QDMIAnything related to QDMIc++Anything related to C++ code

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions