-
-
Notifications
You must be signed in to change notification settings - Fork 44
Labels
QDMIAnything related to QDMIAnything related to QDMIc++Anything related to C++ codeAnything related to C++ code
Milestone
Description
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:
- Implement a function in each specialized FoMaC, whether it can be instatntiated from a given QDMI device handle.
- Use this check to reject QDMI devices passed to their constructor that do not satisfy the check.
- Filter the list of devices returned by the
getDevices
function of the respective FoMaC.
For context see also here.
Metadata
Metadata
Assignees
Labels
QDMIAnything related to QDMIAnything related to QDMIc++Anything related to C++ codeAnything related to C++ code