Skip to content

Commit

Permalink
fix: Fix qibolab backend selection
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-pasquale committed Mar 13, 2024
1 parent a603ddd commit fafc75f
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 fafc75f

Please sign in to comment.