mqt.bench.targets

Initialization of the targets module.

Submodules

Package Contents

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.

get_available_gateset_names() list[str][source]

Return a list of available gateset names.

get_gateset(gateset_name: str) list[str][source]

Return the basis-gate list for gateset_name.

get_target_for_gateset(name: str, num_qubits: int) Target[source]

Return a deepcopy of a Target object for a given native gateset name.