Skip to content

bloqade.qbraid.schema.Measurement

← Module overview

classMeasurementsource

bloqade.qbraid.schema.Measurement

Bases: Operation

Measurement operation.

class Measurement

Fields

op_type (str): The type of operation (Literal[“Measurement”]). measure_tag (str): The tag to use for the measurement. participants (Tuple[int, …]): The qubit indices that are participating in the measurement.

Attributes

NameTypeDefaultDescription
op_typeLiteral['Measurement']Field(init=False, default='Measurement')
measure_tagstrField(default='m')
participantsTuple[int, ...]required