# iqm.qdmi.pennylane

PennyLane adapter for the IQM QDMI device.

## Module Contents

### *class* IQMDevice(device_id: [str](https://docs.python.org/3/builtins/stdtypes.html#str) = IQM_QDMI_DEVICE_ID, wires: [int](https://docs.python.org/3/builtins/functions.html#int) | [Sequence](https://docs.python.org/3/library/collections.abc.html#collections.abc.Sequence)[[Hashable](https://docs.python.org/3/library/collections.abc.html#collections.abc.Hashable)] | [None](https://docs.python.org/3/builtins/constants.html#None) = None, , base_url: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = None, token: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = None, tokens_file: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [PathLike](https://docs.python.org/3/library/os.html#os.PathLike)[[str](https://docs.python.org/3/builtins/stdtypes.html#str)] | [None](https://docs.python.org/3/builtins/constants.html#None) = None, qc_id: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = None, qc_alias: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None) = None, calibration_set_id: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [UUID](https://docs.python.org/3/library/uuid.html#uuid.UUID) | [None](https://docs.python.org/3/builtins/constants.html#None) = None, job_parameters: [QDMIJobParameters](https://mqt.readthedocs.io/projects/core/en/stable/api/mqt/core/typing/index.html#mqt.core.typing.QDMIJobParameters) | [None](https://docs.python.org/3/builtins/constants.html#None) = None)

Bases: [`mqt.core.plugins.pennylane.device.QDMIDevice`](https://mqt.readthedocs.io/projects/core/en/stable/api/mqt/core/plugins/pennylane/device/index.html#mqt.core.plugins.pennylane.device.QDMIDevice)

Execute PennyLane circuits on an IQM device through MQT Core.

* **Parameters:**
  * **device_id** – Stable ID from the installed IQM catalogue.
  * **wires** – PennyLane qubit labels or qubit count.
  * **base_url** – IQM service endpoint.
  * **token** – Authentication token; defaults to `IQM_TOKEN`.
  * **tokens_file** – Authentication file; defaults to `IQM_TOKENS_FILE`.
  * **qc_id** – Quantum computer identifier.
  * **qc_alias** – Quantum computer alias.
  * **calibration_set_id** – Calibration UUID used for compilation and execution.
  * **job_parameters** – QDMI job settings, including IQM run options in `custom1`.

Endpoint and computer environment defaults apply to `iqm.default`.
Named devices use their manifest settings unless explicitly overridden.
