Skip to content

Commit 6546f79

Browse files
Fix FSim decomp.
1 parent e5735ea commit 6546f79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/qinterface.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2405,8 +2405,8 @@ class QInterface : public ParallelFor {
24052405
}
24062406

24072407
CNOT(qubit1, qubit2);
2408-
RZ(phi, qubit2);
24092408
RX(-theta, qubit2);
2409+
RZ(phi, qubit2);
24102410
CNOT(qubit1, qubit2);
24112411
}
24122412

include/qstabilizerhybrid.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,12 +798,12 @@ class QStabilizerHybrid : public QParity, public QInterface {
798798

799799
// Near-Clifford decomposition
800800
CNOT(qubit1, qubit2);
801-
RZ(phi, qubit2);
802801
IS(qubit2);
803802
H(qubit2);
804803
RZ(-theta, qubit2);
805804
H(qubit2);
806805
S(qubit2);
806+
RZ(phi, qubit2);
807807
CNOT(qubit1, qubit2);
808808
}
809809

0 commit comments

Comments
 (0)