From 52b56ee3cbfd3519cf70a22cfc586e18bf44d826 Mon Sep 17 00:00:00 2001 From: Hirmay Sandesara <56473003+Hirmay@users.noreply.github.com> Date: Tue, 2 Jul 2024 16:00:43 +0530 Subject: [PATCH] Update test_uniform_superposition_gate.py --- test/python/circuit/test_uniform_superposition_gate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/python/circuit/test_uniform_superposition_gate.py b/test/python/circuit/test_uniform_superposition_gate.py index a578cc7f154..565011c2e25 100644 --- a/test/python/circuit/test_uniform_superposition_gate.py +++ b/test/python/circuit/test_uniform_superposition_gate.py @@ -29,7 +29,6 @@ ) - @ddt class TestUniformSuperposition(QiskitTestCase): """Test initialization with UniformSuperpositionGate class""" @@ -95,5 +94,6 @@ def test_no_qubit_args(self, num_superpos_states): actual_sv = Statevector(gate) np.testing.assert_allclose(desired_sv, actual_sv) + if __name__ == "__main__": unittest.main()