From 6b1d3c4b97eb73e586711e8fb6ee44566a659ba4 Mon Sep 17 00:00:00 2001 From: Charles MOUSSA Date: Wed, 20 Nov 2024 14:21:54 +0100 Subject: [PATCH] no type int interface --- pyqtorch/noise/readout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyqtorch/noise/readout.py b/pyqtorch/noise/readout.py index ecade935..f7606a76 100644 --- a/pyqtorch/noise/readout.py +++ b/pyqtorch/noise/readout.py @@ -159,7 +159,7 @@ def create_confusion_matrices(noise_matrix: Tensor, error_probability: float) -> class ReadoutInterface(ABC): @singledispatchmethod - def apply(self, input_to_corrupt, n_shots: int): + def apply(self, input_to_corrupt, n_shots): raise NotImplementedError