Skip to content

Commit

Permalink
fix set backend
Browse files Browse the repository at this point in the history
  • Loading branch information
changsookim committed Nov 18, 2024
1 parent 0153103 commit 2ef4821
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qibo/backends/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def _create_backend(cls):
@classmethod
def set_backend(cls, backend, **kwargs):
cls._backend = construct_backend(backend, **kwargs)
cls._transpiler = None
log.info(f"Using {cls._backend} backend on {cls._backend.device}")

@classmethod
Expand Down

0 comments on commit 2ef4821

Please sign in to comment.