File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
plugins/catalyst/test/Conversion Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,11 @@ jobs:
212
212
otool -l $(which catalyst) || true
213
213
fi
214
214
215
+ # Only for debugging run lit manually
216
+ - name : Run lit for mqt-core-catalyst-plugin
217
+ working-directory : plugins/catalyst
218
+ run : python -m lit test/Conversion/quantum.mlir -v
219
+
215
220
# Reconfigure CMake for LIT
216
221
- name : Reconfigure CMake for LIT
217
222
working-directory : plugins/catalyst
Original file line number Diff line number Diff line change 12
12
// RUN: --debug \
13
13
// RUN: --catalyst-pipeline="builtin.module(catalystquantum-to-mqtopt)" \
14
14
// RUN: %s | FileCheck %s
15
- // XFAIL: *
16
15
17
16
module {
18
17
// CHECK-LABEL: func @bar()
@@ -61,7 +60,7 @@ module {
61
60
62
61
// CHECK: %[[CRX0:.*]], %[[CRX1:.*]] = mqtopt.rx(%[[PHI]] static [] mask [false]) %[[P]] ctrl %[[TOFPACKED]]#0 : !mqtopt.Qubit ctrl !mqtopt.Qubit
63
62
// CHECK: %[[CRY0:.*]], %[[CRY1:.*]] = mqtopt.ry(%[[PHI]] static [] mask [false]) %[[CRX0]] ctrl %[[CRX1]] : !mqtopt.Qubit ctrl !mqtopt.Qubit
64
- // CHECK: %[[CRZ0:.*]], %[[CRZ1:.*]] = mqtopt.ry (%[[PHI]] static [] mask [false]) %[[CRY0]] ctrl %[[CRY1]] : !mqtopt.Qubit ctrl !mqtopt.Qubit
63
+ // CHECK: %[[CRZ0:.*]], %[[CRZ1:.*]] = mqtopt.rz (%[[PHI]] static [] mask [false]) %[[CRY0]] ctrl %[[CRY1]] : !mqtopt.Qubit ctrl !mqtopt.Qubit
65
64
// CHECK: %[[CPS0:.*]], %[[CPS1:.*]] = mqtopt.p(%[[PHI]] static [] mask [false]) %[[CRZ0]] ctrl %[[CRZ1]] : !mqtopt.Qubit ctrl !mqtopt.Qubit
66
65
%crx:2 = quantum.custom " CRX" (%phi0 ) %toffoli#1 , %phaseShift : !quantum.bit , !quantum.bit
67
66
%cry:2 = quantum.custom " CRY" (%phi0 ) %crx#1 , %crx#0 : !quantum.bit , !quantum.bit
You can’t perform that action at this time.
0 commit comments