Skip to content

Commit

Permalink
Add qibotn option
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankya2 authored and alecandido committed Feb 29, 2024
1 parent 17cd92d commit 00f55ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/qibo/backends/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ def construct_backend(backend, **kwargs):

elif backend == "qibolab": # pragma: no cover
from qibolab.backends import QibolabBackend # pylint: disable=E0401

elif backend == "qibotn": # pragma: no cover
from qibotn.backends import CuTensorNet, QuimbBackend # pylint: disable=E0401

if platform == "cutensornet": # pragma: no cover
return CuTensorNet(runcard)
elif platform == "qutensornet": # pragma: no cover
return QuimbBackend(runcard)

return QibolabBackend(**kwargs)
elif backend == "clifford":
Expand Down

0 comments on commit 00f55ea

Please sign in to comment.