refactor: move the imports outside of the backend init

This commit is contained in:
MatteoRobbiati
2025-01-28 14:38:27 +01:00
parent 6fe2c32c0d
commit 91b4b63130
2 changed files with 32 additions and 31 deletions

View File

@@ -3,6 +3,16 @@ from abc import abstractmethod
from qibo.backends.numpy import NumpyBackend
from qibo.config import raise_error
DEFAULT_CONFIGURATION = {
"MPI_enabled": False, # TODO: cutensornet specific, TBRemoved
"NCCL_enabled": False, # TODO: cutensornet specific, TBRemoved
"expectation_enabled": False,
"pauli_string_pattern": None,
"MPS_enabled": False,
"gate_algo": None,
"mps_opts": None,
}
class QibotnBackend(NumpyBackend):