You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In particular, one of the overloads of Circuit.append is type-annotated with stim.CircuitOperation which seems like a typo/outdated reference to stim.CircuitInstruction:
The
__init__.pyi
file that is used for Python typing includes the following lines:Stim/glue/python/src/stim/__init__.pyi
Lines 300 to 319 in e6fd563
In particular, one of the overloads of
Circuit.append
is type-annotated withstim.CircuitOperation
which seems like a typo/outdated reference tostim.CircuitInstruction
:Stim/glue/python/src/stim/__init__.pyi
Lines 309 to 312 in e6fd563
This causes issues with type checkers, at least with Pyright in strict mode.
The text was updated successfully, but these errors were encountered: