class MeasuredParameter(regref)[source]

Bases: sympy.core.symbol.Symbol

Single measurement result used as an Operation parameter.

A MeasuredParameter instance, given as a parameter to a Operation constructor, represents a dependence of the Operation on classical information obtained by measuring a subsystem of the register.

Used for deferred measurements, i.e., using a measurement’s value symbolically in defining a gate before the numeric value of that measurement is available.

Former RegRefTransform (SF <= 0.11) functionality is provided by the sympy.Symbol base class.


regref (RegRef) – register reference responsible for storing the measurement result