[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -15,13 +15,10 @@ BACKENDS = ["cutensornet"]
|
|||||||
|
|
||||||
def get_backend(backend_name):
|
def get_backend(backend_name):
|
||||||
|
|
||||||
from qibotn.backends.qmatchatea import QMatchaTeaBackend
|
|
||||||
from qibotn.backends.cutensornet import CuTensorNet
|
from qibotn.backends.cutensornet import CuTensorNet
|
||||||
|
from qibotn.backends.qmatchatea import QMatchaTeaBackend
|
||||||
|
|
||||||
NAME2BACKEND = {
|
NAME2BACKEND = {"qmatchatea": QMatchaTeaBackend, "cutensornet": CuTensorNet}
|
||||||
"qmatchatea": QMatchaTeaBackend,
|
|
||||||
"cutensornet": CuTensorNet
|
|
||||||
}
|
|
||||||
|
|
||||||
return NAME2BACKEND[backend_name]()
|
return NAME2BACKEND[backend_name]()
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import math
|
import math
|
||||||
|
|
||||||
import cupy as cp
|
import cupy as cp
|
||||||
import pytest
|
import pytest
|
||||||
import qibo
|
import qibo
|
||||||
|
|||||||
Reference in New Issue
Block a user