mqt.bench.targets.gatesets¶
Handles the available native gatesets.
Submodules¶
Package Contents¶
- register_gateset(gateset_name: str) Callable[[_GatesetFactory], _GatesetFactory][source]¶
Decorator to register a gateset factory under a unique gateset_name.
- Parameters:
gateset_name – unique identifier for the gateset (e.g.,
"ibm_falcon").- Returns:
The original factory function, unmodified.
- Raises:
ValueError – if the chosen name is already present in the registry.