@@ -884,21 +884,17 @@ mod given_interpreter {
884
884
885
885
define void @ENTRYPOINT__main() #0 {
886
886
block_0:
887
- call void @__quantum__qis__h__body(%Qubit* inttoptr (i64 1 to %Qubit*))
888
- call void @__quantum__qis__cz__body(%Qubit* inttoptr (i64 1 to %Qubit*), %Qubit* inttoptr (i64 0 to %Qubit*))
889
- call void @__quantum__qis__h__body(%Qubit* inttoptr (i64 1 to %Qubit*))
890
- call void @__quantum__qis__m__body(%Qubit* inttoptr (i64 1 to %Qubit*), %Result* inttoptr (i64 0 to %Result*))
887
+ call void @__quantum__qis__cx__body(%Qubit* inttoptr (i64 0 to %Qubit*), %Qubit* inttoptr (i64 1 to %Qubit*))
888
+ call void @__quantum__qis__m__body(%Qubit* inttoptr (i64 0 to %Qubit*), %Result* inttoptr (i64 0 to %Result*))
891
889
call void @__quantum__rt__result_record_output(%Result* inttoptr (i64 0 to %Result*), i8* null)
892
890
ret void
893
891
}
894
892
895
- declare void @__quantum__qis__h__body(%Qubit*)
896
-
897
- declare void @__quantum__qis__cz__body(%Qubit*, %Qubit*)
893
+ declare void @__quantum__qis__m__body(%Qubit*, %Result*) #1
898
894
899
895
declare void @__quantum__rt__result_record_output(%Result*, i8*)
900
896
901
- declare void @__quantum__qis__m__body (%Qubit*, %Result*) #1
897
+ declare void @__quantum__qis__cx__body (%Qubit*, %Qubit*)
902
898
903
899
attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="base_profile" "required_num_qubits"="2" "required_num_results"="1" }
904
900
attributes #1 = { "irreversible" }
@@ -1083,21 +1079,17 @@ mod given_interpreter {
1083
1079
1084
1080
define void @ENTRYPOINT__main() #0 {
1085
1081
block_0:
1086
- call void @__quantum__qis__h__body(%Qubit* inttoptr (i64 1 to %Qubit*))
1087
- call void @__quantum__qis__cz__body(%Qubit* inttoptr (i64 1 to %Qubit*), %Qubit* inttoptr (i64 0 to %Qubit*))
1088
- call void @__quantum__qis__h__body(%Qubit* inttoptr (i64 1 to %Qubit*))
1089
- call void @__quantum__qis__m__body(%Qubit* inttoptr (i64 1 to %Qubit*), %Result* inttoptr (i64 0 to %Result*))
1082
+ call void @__quantum__qis__cx__body(%Qubit* inttoptr (i64 0 to %Qubit*), %Qubit* inttoptr (i64 1 to %Qubit*))
1083
+ call void @__quantum__qis__m__body(%Qubit* inttoptr (i64 0 to %Qubit*), %Result* inttoptr (i64 0 to %Result*))
1090
1084
call void @__quantum__rt__result_record_output(%Result* inttoptr (i64 0 to %Result*), i8* null)
1091
1085
ret void
1092
1086
}
1093
1087
1094
- declare void @__quantum__qis__h__body(%Qubit*)
1095
-
1096
- declare void @__quantum__qis__cz__body(%Qubit*, %Qubit*)
1088
+ declare void @__quantum__qis__m__body(%Qubit*, %Result*) #1
1097
1089
1098
1090
declare void @__quantum__rt__result_record_output(%Result*, i8*)
1099
1091
1100
- declare void @__quantum__qis__m__body (%Qubit*, %Result*) #1
1092
+ declare void @__quantum__qis__cx__body (%Qubit*, %Qubit*)
1101
1093
1102
1094
attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="base_profile" "required_num_qubits"="2" "required_num_results"="1" }
1103
1095
attributes #1 = { "irreversible" }
@@ -1131,21 +1123,17 @@ mod given_interpreter {
1131
1123
1132
1124
define void @ENTRYPOINT__main() #0 {
1133
1125
block_0:
1134
- call void @__quantum__qis__h__body(%Qubit* inttoptr (i64 1 to %Qubit*))
1135
- call void @__quantum__qis__cz__body(%Qubit* inttoptr (i64 1 to %Qubit*), %Qubit* inttoptr (i64 0 to %Qubit*))
1136
- call void @__quantum__qis__h__body(%Qubit* inttoptr (i64 1 to %Qubit*))
1137
- call void @__quantum__qis__m__body(%Qubit* inttoptr (i64 1 to %Qubit*), %Result* inttoptr (i64 0 to %Result*))
1126
+ call void @__quantum__qis__cx__body(%Qubit* inttoptr (i64 0 to %Qubit*), %Qubit* inttoptr (i64 1 to %Qubit*))
1127
+ call void @__quantum__qis__m__body(%Qubit* inttoptr (i64 0 to %Qubit*), %Result* inttoptr (i64 0 to %Result*))
1138
1128
call void @__quantum__rt__result_record_output(%Result* inttoptr (i64 0 to %Result*), i8* null)
1139
1129
ret void
1140
1130
}
1141
1131
1142
- declare void @__quantum__qis__h__body(%Qubit*)
1143
-
1144
- declare void @__quantum__qis__cz__body(%Qubit*, %Qubit*)
1132
+ declare void @__quantum__qis__m__body(%Qubit*, %Result*) #1
1145
1133
1146
1134
declare void @__quantum__rt__result_record_output(%Result*, i8*)
1147
1135
1148
- declare void @__quantum__qis__m__body (%Qubit*, %Result*) #1
1136
+ declare void @__quantum__qis__cx__body (%Qubit*, %Qubit*)
1149
1137
1150
1138
attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="base_profile" "required_num_qubits"="2" "required_num_results"="1" }
1151
1139
attributes #1 = { "irreversible" }
@@ -1211,21 +1199,17 @@ mod given_interpreter {
1211
1199
1212
1200
define void @ENTRYPOINT__main() #0 {
1213
1201
block_0:
1214
- call void @__quantum__qis__h__body(%Qubit* inttoptr (i64 1 to %Qubit*))
1215
- call void @__quantum__qis__cz__body(%Qubit* inttoptr (i64 1 to %Qubit*), %Qubit* inttoptr (i64 0 to %Qubit*))
1216
- call void @__quantum__qis__h__body(%Qubit* inttoptr (i64 1 to %Qubit*))
1217
- call void @__quantum__qis__m__body(%Qubit* inttoptr (i64 1 to %Qubit*), %Result* inttoptr (i64 0 to %Result*))
1202
+ call void @__quantum__qis__cx__body(%Qubit* inttoptr (i64 0 to %Qubit*), %Qubit* inttoptr (i64 1 to %Qubit*))
1203
+ call void @__quantum__qis__m__body(%Qubit* inttoptr (i64 0 to %Qubit*), %Result* inttoptr (i64 0 to %Result*))
1218
1204
call void @__quantum__rt__result_record_output(%Result* inttoptr (i64 0 to %Result*), i8* null)
1219
1205
ret void
1220
1206
}
1221
1207
1222
- declare void @__quantum__qis__h__body(%Qubit*)
1223
-
1224
- declare void @__quantum__qis__cz__body(%Qubit*, %Qubit*)
1208
+ declare void @__quantum__qis__m__body(%Qubit*, %Result*) #1
1225
1209
1226
1210
declare void @__quantum__rt__result_record_output(%Result*, i8*)
1227
1211
1228
- declare void @__quantum__qis__m__body (%Qubit*, %Result*) #1
1212
+ declare void @__quantum__qis__cx__body (%Qubit*, %Qubit*)
1229
1213
1230
1214
attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="base_profile" "required_num_qubits"="2" "required_num_results"="1" }
1231
1215
attributes #1 = { "irreversible" }
@@ -1271,21 +1255,17 @@ mod given_interpreter {
1271
1255
1272
1256
define void @ENTRYPOINT__main() #0 {
1273
1257
block_0:
1274
- call void @__quantum__qis__h__body(%Qubit* inttoptr (i64 1 to %Qubit*))
1275
- call void @__quantum__qis__cz__body(%Qubit* inttoptr (i64 1 to %Qubit*), %Qubit* inttoptr (i64 0 to %Qubit*))
1276
- call void @__quantum__qis__h__body(%Qubit* inttoptr (i64 1 to %Qubit*))
1277
- call void @__quantum__qis__m__body(%Qubit* inttoptr (i64 1 to %Qubit*), %Result* inttoptr (i64 0 to %Result*))
1258
+ call void @__quantum__qis__cx__body(%Qubit* inttoptr (i64 0 to %Qubit*), %Qubit* inttoptr (i64 1 to %Qubit*))
1259
+ call void @__quantum__qis__m__body(%Qubit* inttoptr (i64 0 to %Qubit*), %Result* inttoptr (i64 0 to %Result*))
1278
1260
call void @__quantum__rt__result_record_output(%Result* inttoptr (i64 0 to %Result*), i8* null)
1279
1261
ret void
1280
1262
}
1281
1263
1282
- declare void @__quantum__qis__h__body(%Qubit*)
1283
-
1284
- declare void @__quantum__qis__cz__body(%Qubit*, %Qubit*)
1264
+ declare void @__quantum__qis__m__body(%Qubit*, %Result*) #1
1285
1265
1286
1266
declare void @__quantum__rt__result_record_output(%Result*, i8*)
1287
1267
1288
- declare void @__quantum__qis__m__body (%Qubit*, %Result*) #1
1268
+ declare void @__quantum__qis__cx__body (%Qubit*, %Qubit*)
1289
1269
1290
1270
attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="base_profile" "required_num_qubits"="2" "required_num_results"="1" }
1291
1271
attributes #1 = { "irreversible" }
0 commit comments