mqt.bench.targets.devices¶
Initialization of the devices module.
Submodules¶
Package Contents¶
- register_device(device_name: str) Callable[[_DeviceFactory], _DeviceFactory][source]¶
Decorator to register a device factory under a unique device_name.
- Parameters:
device_name – unique identifier for the device (e.g.,
"ibm_falcon_27").- Returns:
The original factory function, unmodified.
- Raises:
ValueError – if the chosen name is already present in the registry.