Skip to content

Commit

Permalink
Fix compatibility issue with the latest qibo version
Browse files Browse the repository at this point in the history
  • Loading branch information
liweintu committed Jan 30, 2023
1 parent 241ba51 commit 20706fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/libraries/qibo.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def from_qasm(self, qasm):
def __call__(self, circuit):
# transfer final state to numpy array because that's what happens
# for all backends
return circuit().numpy()
return circuit().state(numpy=True)

def transpose_state(self, x):
return x
Expand Down

0 comments on commit 20706fe

Please sign in to comment.