qiboteam / qibojit-benchmarks

Benchmark code for qibojit performance accessment
Apache License 2.0
2 stars 3 forks source link

`AttributeError: module 'qibo' has no attribute 'K'` when using qibojit-benchmarks with current qibo #44

Closed migueldiascosta closed 7 months ago

migueldiascosta commented 7 months ago
Traceback (most recent call last):
  File "qibojit-benchmarks/main.py", line 59, in <module>
    circuit_benchmark(**args)
  File "qibojit-benchmarks/benchmarks/scripts.py", line 33, in circuit_benchmark
    platform=qibo.K.get_platform(),
AttributeError: module 'qibo' has no attribute 'K'

I guess qibojit-benchmarks/main.py needs an update similar to https://github.com/qiboteam/qibo/commit/12d44da21c8c2219de2a32a97e09562fb8b4b642 after changes in qibo

scarrazza commented 7 months ago

@BrunoLiegiBastonLiegi could you please have a quick look at this?

BrunoLiegiBastonLiegi commented 7 months ago

I just opened #46 that should fix this.