We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1b4e14 commit 1229479Copy full SHA for 1229479
test/pyqrack/runtime/noise/native/test_loss.py
@@ -1,4 +1,4 @@
1
-from typing import Any
+from typing import Literal
2
from unittest.mock import Mock
3
4
from kirin import ir
@@ -36,7 +36,7 @@ def test_atom_loss(c: qasm2.CReg):
36
input = reg.CRegister(1)
37
memory = MockMemory()
38
39
- result: ilist.IList[PyQrackQubit, Any] = (
+ result: ilist.IList[PyQrackQubit, Literal[2]] = (
40
PyQrackInterpreter(simulation, memory=memory, rng_state=rng_state)
41
.run(test_atom_loss, (input,))
42
.expect()
0 commit comments