Skip to content

Commit

Permalink
Fix RYYGate decomposition bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshioka1128 committed Aug 7, 2024
1 parent 95085ea commit 43f61ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ def _decomposition_standard(self) -> List[Tuple]:
),
(CX, [self.qubit_1, self.qubit_2]),
(
RY,
[self.qubit_2, RotationAngle(lambda x: x, self.gate_label, -np.pi / 2)],
RX,
[self.qubit_1, RotationAngle(lambda x: x, self.gate_label, -np.pi / 2)],
),
(
RX,
Expand Down

0 comments on commit 43f61ec

Please sign in to comment.