From 28d2752b549de951e359e6a1bc7d1d736b57907e Mon Sep 17 00:00:00 2001 From: BrunoLiegiBastonLiegi Date: Wed, 25 Sep 2024 16:58:43 +0200 Subject: [PATCH] fix: fix measurement_gate reference --- src/qibo/measurements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qibo/measurements.py b/src/qibo/measurements.py index 023a907e14..f7ccb249ae 100644 --- a/src/qibo/measurements.py +++ b/src/qibo/measurements.py @@ -97,7 +97,7 @@ def __init__(self, qubits): self._symbols = None def __repr__(self): - qubits = self.measurement_gate.qubits + qubits = self.target_qubits nshots = self.nshots return f"MeasurementResult(qubits={qubits}, nshots={nshots})"