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.

get_available_device_names() list[str][source]

Return all registered devices.

To guarantee completeness we import every not-yet-imported module once.

get_device(device_name: str) Target[source]

Return a deepcopy of the requested qiskit Target device.