[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):
|
||||
|
||||
from qibotn.backends.qmatchatea import QMatchaTeaBackend
|
||||
from qibotn.backends.cutensornet import CuTensorNet
|
||||
from qibotn.backends.qmatchatea import QMatchaTeaBackend
|
||||
|
||||
NAME2BACKEND = {
|
||||
"qmatchatea": QMatchaTeaBackend,
|
||||
"cutensornet": CuTensorNet
|
||||
}
|
||||
NAME2BACKEND = {"qmatchatea": QMatchaTeaBackend, "cutensornet": CuTensorNet}
|
||||
|
||||
return NAME2BACKEND[backend_name]()
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import math
|
||||
|
||||
import cupy as cp
|
||||
import pytest
|
||||
import qibo
|
||||
|
||||
Reference in New Issue
Block a user