From b2d6647707370861ea686eb986f418dd77a3c893 Mon Sep 17 00:00:00 2001 From: Roland Guichard Date: Wed, 1 Nov 2023 10:35:31 +0000 Subject: [PATCH] Fix name. --- qadence/measurements/tomography.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qadence/measurements/tomography.py b/qadence/measurements/tomography.py index 73542b27..a8d8e48b 100644 --- a/qadence/measurements/tomography.py +++ b/qadence/measurements/tomography.py @@ -131,7 +131,7 @@ def compute_expectation( options: dict, state: Tensor | None = None, backend_name: BackendName = BackendName.PYQTORCH, - error: Error | None = None, + error: Errors | None = None, endianness: Endianness = Endianness.BIG, ) -> Tensor: """Basic tomography protocol with rotations