Skip to content

bloqade.qasm2.measure

← Module overview

functionmeasuresource

bloqade.qasm2.measure

def measure(qarg, cbit) -> None

Measure the qubit qarg and store the result in the classical bit cbit.

Parameters

NameTypeDescription
qarg—The qubit to measure.
cbit—The classical bit to store the result in.
source