Skip to content

Commit

Permalink
Merge pull request #1262 from qiboteam/fix_qibolab
Browse files Browse the repository at this point in the history
Fix qibolab backend
  • Loading branch information
scarrazza authored Mar 13, 2024
2 parents a603ddd + fafc75f commit 5075232
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qibo/backends/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def construct_backend(backend, **kwargs):
elif backend == "qibolab": # pragma: no cover
from qibolab.backends import QibolabBackend # pylint: disable=E0401

return QibolabBackend(**kwargs)

elif backend == "qibotn": # pragma: no cover

platform = kwargs.get("platform")
Expand All @@ -46,7 +48,6 @@ def construct_backend(backend, **kwargs):

return QuimbBackend(kwargs["runcard"])

return QibolabBackend(**kwargs)
elif backend == "clifford":
return CliffordBackend(kwargs["platform"])
elif backend == "qibo-client": # pragma: no cover
Expand Down

0 comments on commit 5075232

Please sign in to comment.