Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
madcpf committed May 13, 2024
1 parent ac6f342 commit 0af5a50
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion unitary/alpha/qubit_effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import cirq

from unitary.alpha.quantum_effect import QuantumEffect
from unitary.alpha.qudit_gates import QuditHadamardGate


class Phase(QuantumEffect):
Expand Down
1 change: 0 additions & 1 deletion unitary/alpha/qubit_effects_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,4 +233,3 @@ def test_equalis():
eq.add_equality_group(alpha.Split(), alpha.Split())
eq.add_equality_group(alpha.Move(), alpha.Move())
eq.add_equality_group(alpha.PhasedMove(), alpha.PhasedMove())

2 changes: 1 addition & 1 deletion unitary/alpha/qudit_effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import cirq

from unitary.alpha.qudit_gates import QuditPlusGate, QuditXGate, QuditHadamardGate
from unitary.alpha.qudit_gates import QuditPlusGate, QuditXGate
from unitary.alpha.quantum_effect import QuantumEffect


Expand Down
3 changes: 0 additions & 3 deletions unitary/alpha/qudit_gates_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,6 @@ def test_control_of_0_x(dest: int):
qudit_gates.QuditISwapPowGate(3),
qudit_gates.QuditSwapPowGate(3, exponent=0.5),
qudit_gates.QuditISwapPowGate(3, exponent=0.5),
qudit_gates.QuditHadamardGate(2),
qudit_gates.QuditHadamardGate(3),
qudit_gates.QuditHadamardGate(4),
],
)
def test_gates_are_unitary(gate: cirq.Gate):
Expand Down

0 comments on commit 0af5a50

Please sign in to comment.