Skip to content

Commit 1229479

Browse files
committed
Size of IList in test
1 parent e1b4e14 commit 1229479

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pyqrack/runtime/noise/native/test_loss.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any
1+
from typing import Literal
22
from unittest.mock import Mock
33

44
from kirin import ir
@@ -36,7 +36,7 @@ def test_atom_loss(c: qasm2.CReg):
3636
input = reg.CRegister(1)
3737
memory = MockMemory()
3838

39-
result: ilist.IList[PyQrackQubit, Any] = (
39+
result: ilist.IList[PyQrackQubit, Literal[2]] = (
4040
PyQrackInterpreter(simulation, memory=memory, rng_state=rng_state)
4141
.run(test_atom_loss, (input,))
4242
.expect()

0 commit comments

Comments
 (0)