Skip to content

Commit 0807726

Browse files
committed
fixing some tests
1 parent a51fc40 commit 0807726

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

test/cirq_utils/test_cirq_to_squin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def test_ghz_simulation():
344344
# manually written kernel
345345
@squin.kernel
346346
def manual():
347-
q = squin.squin.qalloc(2)
347+
q = squin.qalloc(2)
348348
s = squin.op.s()
349349
s_adj = squin.op.adjoint(s)
350350
squin.qubit.broadcast(s_adj, q)
@@ -380,7 +380,7 @@ def test_kernel_with_args():
380380

381381
@squin.kernel
382382
def main(n: int):
383-
q = squin.squin.qalloc(n)
383+
q = squin.qalloc(n)
384384
x = squin.op.x()
385385
for i in range(n):
386386
squin.qubit.apply(x, q[i])

test/cirq_utils/test_clifford_to_cirq.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ def main():
3030
assert qbit.x == 5
3131

3232

33-
if __name__ == "__main__":
34-
test_pauli()
35-
36-
3733
@pytest.mark.parametrize("op_name", ["h", "s", "t", "x", "y", "z"])
3834
def test_basic_op(op_name: str):
3935
@squin.kernel

0 commit comments

Comments
 (0)