Parameter table

See the Parameter Table guide for hybrid classical–quantum data flow. Measurement outputs (comp.outputs) use a separate namespace — see Measurement outputs.

Classes

ParameterTable(parameters_dict[, name, ...])

Map runtime parameters to QUA variables declared in a program.

Parameter(name[, value, qua_type, ...])

Class enabling the mapping of a parameter to a QUA variable to be updated.

ParameterPool()

Process-global registry of OPNIC packet targets and the bound Quarc module.

InputType(value)

How parameter values are delivered to the OPX during program execution.

Direction(value)

Data-flow direction for OPNIC packet streams, expressed from the QUA program's perspective and aligned 1:1 with Quarc's Direction.

QUA2DArray(*args, **kwargs)

Two-dimensional view over a single flattened 1D QUA array.

Field-table mixins

QuaFieldTable()

Mixin providing ParameterTable-aligned QUA variable accessors.

TableFieldProtocol(*args, **kwargs)

Minimal interface shared by runtime Parameter and measurement fields.

QUA program scope guards

is_inside_scope()

Return True when called inside an active with program(): block.

require_qua_program(context)

Raise if not inside an active QUA program scope.

requires_qua_program(fn)

Decorator: require an active QUA program scope before calling fn.

Parameter table package: Parameter, ParameterTable, ParameterPool, QUA arrays, input types.

Author: Arthur Strauss Date: 2026-02-08

Shared QUA field-table accessor mixin for runtime and measurement tables.

QUA program scope detection and guards for variable accessors.