Skip to content

Commit

Permalink
Merge pull request #40 from liweintu/fixqibocompatibility
Browse files Browse the repository at this point in the history
Fix compatibility issue with the latest qibo version
  • Loading branch information
scarrazza authored Jan 30, 2023
2 parents 241ba51 + 20706fe commit f1706c4
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 f1706c4

Please sign in to comment.