mqt.core.typing

Shared public typing helpers for MQT Core.

Module Contents

class QDMISessionParameters

Bases: TypedDict

Keyword arguments accepted when opening a QDMI device session.

driver_path: str | PathLike[str] | None
base_url: str | None
token: str | None
auth_file: str | PathLike[str] | None
auth_url: str | None
username: str | None
password: str | None
device_config: str | None
device_config_file: str | PathLike[str] | None
custom1: str | None
custom2: str | None
custom3: str | None
custom4: str | None
custom5: str | None
class QDMIJobParameters

Bases: TypedDict

Custom keyword arguments accepted when submitting a QDMI job.

custom1: str | bool | float | bytes | None
custom2: str | bool | float | bytes | None
custom3: str | bool | float | bytes | None
custom4: str | bool | float | bytes | None
custom5: str | bool | float | bytes | None
class QiskitSamplerOptions

Bases: TypedDict

Native options accepted by QDMIBackend.sampler.

default_shots: int
seed_simulator: int | None
run_options: dict[str, Any] | None
class QiskitEstimatorOptions

Bases: TypedDict

Native options accepted by QDMIBackend.estimator.

default_precision: float
abelian_grouping: bool
seed_simulator: int | None