Skip to content

Commit

Permalink
fix: further leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLiegiBastonLiegi committed Apr 2, 2024
1 parent 56b1168 commit 78c8056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qibo/quantum_info/clifford.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ def samples(self, binary: bool = True, registers: bool = False):

if registers:
return {
register: gate.result.samples(binary)
for register, gate in self._measurement_registers
gate.register_name: gate.result.samples(binary)
for gate in self.measurements
}

if binary:
Expand Down

0 comments on commit 78c8056

Please sign in to comment.