Skip to content

Commit

Permalink
fix: fix measurement_gate reference
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLiegiBastonLiegi committed Sep 25, 2024
1 parent 9a6c55d commit 28d2752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibo/measurements.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})"

Expand Down

0 comments on commit 28d2752

Please sign in to comment.