Skip to content

Commit

Permalink
🐛 Fix merge failure
Browse files Browse the repository at this point in the history
  • Loading branch information
EarlMilktea committed Aug 23, 2024
1 parent 3e0d004 commit 0cda457
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions graphix/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import graphix.clifford
from graphix.clifford import Clifford
from graphix.pauli import Pauli, Plane
from graphix.pauli import Pauli, Plane, Sign

if TYPE_CHECKING:
from graphix.clifford import Clifford
Expand Down Expand Up @@ -167,8 +167,8 @@ def compute(plane: Plane, s: bool, t: bool, clifford: graphix.clifford.Clifford)
coeff = -1
else:
coeff = 1
add_term = 0
if cos_pauli.unit.sign:
add_term: float = 0
if cos_pauli.unit.sign == Sign.Minus:
add_term += np.pi
if exchange:
add_term = np.pi / 2 - add_term
Expand Down

0 comments on commit 0cda457

Please sign in to comment.