Skip to content

Commit

Permalink
result retyped from dict to object
Browse files Browse the repository at this point in the history
  • Loading branch information
Giacomo Antonioli committed Nov 27, 2023
1 parent 5eba772 commit 9c226f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qimp/ImageEncoding/QuantumImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@ def reverse(self) -> None:
"""
self.circuit = self.circuit.reverse_bits()

def retrieve_and_show(self, result: dict, numOfShots: int) -> None:
def retrieve_and_show(self, result: object, numOfShots: int) -> None:
"""Run experiments and show result, it requires measurements.
Args:
result (dict): where to store the results.
result (object): where to store the results.
numOfShots (int): number of experiments to run.
Returns: None
Expand Down

0 comments on commit 9c226f9

Please sign in to comment.