File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ class MeasureAndReset(ir.Statement):
4848 result : ir .ResultValue = info .result (types .Int )
4949
5050
51+ # MZ -> RZ
52+ # MRZ (never really used, but could have performance benefit)
53+ #
54+
55+
5156@statement (dialect = dialect )
5257class Reset (ir .Statement ):
5358 qubits : ir .SSAValue = info .argument (ilist .IListType [QubitType ])
Original file line number Diff line number Diff line change @@ -45,3 +45,7 @@ class NewPauliString(ir.Statement):
4545 flipped : tuple [ir .SSAValue , ...] = info .argument (types .Bool )
4646 targets : tuple [ir .SSAValue , ...] = info .argument (types .Int )
4747 result : ir .ResultValue = info .result (type = PauliStringType )
48+
49+
50+ # dialect_group = squin_extended = squin in bloqade-circuit + physical in bloqade-qec
51+ # Chen will need squin -> Stim rewrite IF it is a subroutine of rewrite from bloqade-qec extension
Original file line number Diff line number Diff line change @@ -424,6 +424,8 @@ def test_wire_apply_site_verification():
424424 squin_to_stim (constructed_method )
425425
426426
427+ test_wire_measure ()
428+
427429# test_wire_measure_and_reset()
428430# test_qubit_measure_and_reset()
429431# test_wire_reset()
You can’t perform that action at this time.
0 commit comments