# qml.measurements.MeasurementValue¶

class MeasurementValue(measurement_ids, processing_fn)[source]

Bases: Generic[pennylane.measurements.mid_measure.T]

A class representing unknown measurement outcomes in the qubit model.

Measurements on a single qubit in the computational basis are assumed.

Parameters
• measurement_ids (list[str]) – The id of the measurement that this object depends on.

• processing_fn (callable) – A lazily transformation applied to the measurement values.

 branches A dictionary representing all possible outcomes of the MeasurementValue.
branches

A dictionary representing all possible outcomes of the MeasurementValue.