Skip to content

Commit a3124ab

Browse files
committed
add post-select to assembly format
1 parent b9de52f commit a3124ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/Quantum/IR/QuantumOps.td

+1-1
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ def MeasureOp : Quantum_Op<"measure"> {
825825
);
826826

827827
let assemblyFormat = [{
828-
$in_qubit attr-dict `:` type(results)
828+
$in_qubit (`postselect` $postselect^)? attr-dict `:` type(results)
829829
}];
830830
}
831831

0 commit comments

Comments
 (0)