@@ -20,7 +20,7 @@ def glob_u():
2020 qasm2_str = target .emit_str (glob_u )
2121 assert (
2222 qasm2_str
23- == """KIRIN {func,lowering.call,lowering.func,native,py.ilist,qasm2.core,qasm2.expr,qasm2.glob,qasm2.indexing,qasm2.uop,scf};
23+ == """KIRIN {func,lowering.call,lowering.func,noise. native,py.ilist,qasm2.core,qasm2.expr,qasm2.glob,qasm2.indexing,qasm2.uop,scf};
2424include "qelib1.inc";
2525qreg qreg[3];
2626qreg qreg1[3];
@@ -46,7 +46,7 @@ def glob_u():
4646 print (qasm2_str )
4747 assert (
4848 qasm2_str
49- == """KIRIN {func,lowering.call,lowering.func,native,py.ilist,qasm2.core,qasm2.expr,qasm2.glob,qasm2.indexing,qasm2.parallel,qasm2.uop,scf};
49+ == """KIRIN {func,lowering.call,lowering.func,noise. native,py.ilist,qasm2.core,qasm2.expr,qasm2.glob,qasm2.indexing,qasm2.parallel,qasm2.uop,scf};
5050include "qelib1.inc";
5151qreg qreg[3];
5252qreg qreg1[3];
@@ -102,7 +102,7 @@ def glob_u():
102102
103103 assert (
104104 qasm2_str
105- == """KIRIN {func,lowering.call,lowering.func,native,py.ilist,qasm2.core,qasm2.expr,qasm2.indexing,qasm2.parallel,qasm2.uop,scf};
105+ == """KIRIN {func,lowering.call,lowering.func,noise. native,py.ilist,qasm2.core,qasm2.expr,qasm2.indexing,qasm2.parallel,qasm2.uop,scf};
106106include "qelib1.inc";
107107qreg qreg[3];
108108qreg qreg1[3];
@@ -160,7 +160,7 @@ def para_u():
160160 qasm2_str = target .emit_str (para_u )
161161 assert (
162162 qasm2_str
163- == """KIRIN {func,lowering.call,lowering.func,native,py.ilist,qasm2.core,qasm2.expr,qasm2.indexing,qasm2.parallel,qasm2.uop,scf};
163+ == """KIRIN {func,lowering.call,lowering.func,noise. native,py.ilist,qasm2.core,qasm2.expr,qasm2.indexing,qasm2.parallel,qasm2.uop,scf};
164164include "qelib1.inc";
165165qreg qreg[3];
166166parallel.U(0.1, 0.2, 0.3) {
@@ -188,7 +188,7 @@ def para_u():
188188 qasm2_str = target .emit_str (para_u )
189189 assert (
190190 qasm2_str
191- == """KIRIN {func,lowering.call,lowering.func,native,py.ilist,qasm2.core,qasm2.expr,qasm2.glob,qasm2.indexing,qasm2.parallel,qasm2.uop,scf};
191+ == """KIRIN {func,lowering.call,lowering.func,noise. native,py.ilist,qasm2.core,qasm2.expr,qasm2.glob,qasm2.indexing,qasm2.parallel,qasm2.uop,scf};
192192include "qelib1.inc";
193193qreg qreg[3];
194194parallel.U(0.1, 0.2, 0.3) {
@@ -217,7 +217,7 @@ def para_u():
217217 print (qasm2_str )
218218 assert (
219219 qasm2_str
220- == """KIRIN {func,lowering.call,lowering.func,native,py.ilist,qasm2.core,qasm2.expr,qasm2.glob,qasm2.indexing,qasm2.uop,scf};
220+ == """KIRIN {func,lowering.call,lowering.func,noise. native,py.ilist,qasm2.core,qasm2.expr,qasm2.glob,qasm2.indexing,qasm2.uop,scf};
221221include "qelib1.inc";
222222qreg qreg[3];
223223U(0.1, 0.2, 0.3) qreg[1];
0 commit comments