From 0af5a50c747065c51497eca29c5be17b1eb651d5 Mon Sep 17 00:00:00 2001 From: madcpf Date: Sun, 12 May 2024 21:50:11 -0700 Subject: [PATCH] update --- unitary/alpha/qubit_effects.py | 1 - unitary/alpha/qubit_effects_test.py | 1 - unitary/alpha/qudit_effects.py | 2 +- unitary/alpha/qudit_gates_test.py | 3 --- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/unitary/alpha/qubit_effects.py b/unitary/alpha/qubit_effects.py index e7043ba2..4776e42b 100644 --- a/unitary/alpha/qubit_effects.py +++ b/unitary/alpha/qubit_effects.py @@ -19,7 +19,6 @@ import cirq from unitary.alpha.quantum_effect import QuantumEffect -from unitary.alpha.qudit_gates import QuditHadamardGate class Phase(QuantumEffect): diff --git a/unitary/alpha/qubit_effects_test.py b/unitary/alpha/qubit_effects_test.py index 5f481006..4d35e6ca 100644 --- a/unitary/alpha/qubit_effects_test.py +++ b/unitary/alpha/qubit_effects_test.py @@ -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()) - diff --git a/unitary/alpha/qudit_effects.py b/unitary/alpha/qudit_effects.py index 96753ea6..e03d7c71 100644 --- a/unitary/alpha/qudit_effects.py +++ b/unitary/alpha/qudit_effects.py @@ -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 diff --git a/unitary/alpha/qudit_gates_test.py b/unitary/alpha/qudit_gates_test.py index 63e516a6..19507bf2 100644 --- a/unitary/alpha/qudit_gates_test.py +++ b/unitary/alpha/qudit_gates_test.py @@ -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):