From 65a0c0da54578bed16f070db29ce35bed0e40c96 Mon Sep 17 00:00:00 2001 From: Seyon Sivarajah Date: Tue, 10 Dec 2024 15:19:50 +0000 Subject: [PATCH] remove redundant test file --- tests/integration/test_qalloc.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 tests/integration/test_qalloc.py diff --git a/tests/integration/test_qalloc.py b/tests/integration/test_qalloc.py deleted file mode 100644 index 48112827..00000000 --- a/tests/integration/test_qalloc.py +++ /dev/null @@ -1,22 +0,0 @@ -from guppylang.decorator import guppy -from guppylang.module import GuppyModule -from guppylang.std.quantum import qubit - -from guppylang.std.quantum import measure -from guppylang.std.quantum_functional import cx - -import guppylang.std.quantum_functional as quantum_functional - - -def test_qalloc(validate): - module = GuppyModule("test") - module.load_all(quantum_functional) - module.load(qubit, measure) - - @guppy(module) - def test() -> tuple[bool, bool]: - q1, q2 = qubit(), qubit() - q1, q2 = cx(q1, q2) - return (measure(q1), measure(q2)) - - validate(module.compile())