MQT Core
The Backbone of the Munich Quantum Toolkit (MQT)
Loading...
Searching...
No Matches
qdmi::DeviceDefinition Struct Reference

Stable registration for a QDMI device. More...

#include <Driver.hpp>

Public Attributes

std::string id
 Stable identifier used to open this device.
 
std::filesystem::path library
 Path to the native QDMI device library.
 
std::string prefix
 Prefix used for the QDMI device interface functions.
 
DeviceSessionConfig session
 Parameters applied before the device session is initialized.
 

Detailed Description

Stable registration for a QDMI device.

Registration records this metadata without loading the native library. Use Driver::open to create the corresponding device session.

Member Data Documentation

◆ id

std::string qdmi::DeviceDefinition::id

Stable identifier used to open this device.

◆ library

std::filesystem::path qdmi::DeviceDefinition::library

Path to the native QDMI device library.

◆ prefix

std::string qdmi::DeviceDefinition::prefix

Prefix used for the QDMI device interface functions.

◆ session

DeviceSessionConfig qdmi::DeviceDefinition::session

Parameters applied before the device session is initialized.