We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47375ed commit bd040edCopy full SHA for bd040ed
src/bloqade/qasm2/dialects/core/stmts.py
@@ -47,9 +47,9 @@ class Measure(ir.Statement):
47
name = "measure"
48
traits = frozenset({lowering.FromPythonCall()})
49
qarg: ir.SSAValue = info.argument(QubitType | QRegType)
50
- """qarg (Qubit): The qubit to measure."""
+ """qarg (Qubit | QReg): The qubit or quantum register to measure."""
51
carg: ir.SSAValue = info.argument(BitType | CRegType)
52
- """carg (Bit): The bit to store the result in."""
+ """carg (Bit | CReg): The bit or register to store the result in."""
53
54
def check_type(self) -> None:
55
qarg_is_qubit = self.qarg.type.is_subseteq(QubitType)
0 commit comments