コンテンツにスキップ

Index

Backend hardware controller contracts and implementations.

BackendController

Bases: Protocol

Shared backend controller contract for measurement execution and sessions.

This protocol defines the minimum API that both QuEL-1 and QuEL-3 controllers must provide to the measurement layer: hash, is_connected, sampling_period_ns, execute_sync, execute_async, connect, and disconnect.

hash property

Return a stable hash for controller state.

is_connected property

Return whether backend resources are connected.

sampling_period_ns property

Return backend sampling period in ns.

connect(box_names=None, *, parallel=None)

Connect backend resources for selected boxes.

disconnect()

Disconnect backend resources.

execute_async(*, request, execution_mode=None, clock_health_checks=None) async

Execute prepared backend request payload asynchronously.

execute_sync(*, request, execution_mode=None, clock_health_checks=None)

Execute prepared backend request payload synchronously.

BackendExecutionRequest dataclass

Backend-neutral execution request.

__dir__()

Return the public names exposed by this package.

__getattr__(name)

Resolve deprecated backend aliases lazily.