From 4683c607ed00391e025a6995981561714905b0a5 Mon Sep 17 00:00:00 2001 From: Matteo Robbiati <62071516+MatteoRobbiati@users.noreply.github.com> Date: Mon, 10 Feb 2025 12:50:04 +0100 Subject: [PATCH] Update src/qibotn/result.py Co-authored-by: BrunoLiegiBastonLiegi <45011234+BrunoLiegiBastonLiegi@users.noreply.github.com> --- src/qibotn/result.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/qibotn/result.py b/src/qibotn/result.py index 412dbc0..a37cc63 100644 --- a/src/qibotn/result.py +++ b/src/qibotn/result.py @@ -54,8 +54,7 @@ class TensorNetworkResult: ValueError, f"To access frequencies, circuit has to be executed with a given number of shots != None", ) - else: - return self.measures + return self.measures def state(self): """Return the statevector if the number of qubits is less than 20."""