Skip to content

Commit

Permalink
feat: added MetaBackend to qibojit.__init__
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLiegiBastonLiegi committed Feb 27, 2024
1 parent 814ee43 commit b451455
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/qibojit/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import importlib.metadata as im

from qibojit.backends import MetaBackend

__version__ = im.version(__package__)
2 changes: 1 addition & 1 deletion src/qibojit/backends/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def load(platform: str) -> QibojitBackend:
Args:
platform (str): Name of the backend to load: either `numba`, `cupy` or `cuquantum`.
Returns:
qibo.backends.abstract.AbstractBackend: The loaded backend.
qibo.backends.abstract.Backend: The loaded backend.
"""

if platform == "numba":
Expand Down

0 comments on commit b451455

Please sign in to comment.