-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Following errors were found while running the implementation
1. Argument backend="PY" is missing in the QCBackend
ImportError while loading conftest '/qtea/qibotn/tests/conftest.py'.
conftest.py:49: in
_backend = get_backend(backend_name)
conftest.py:27: in get_backend
return NAME2BACKENDbackend_name
../src/qibotn/backends/qmatchatea.py:28: in init
self._setup_backend_specifics()
../src/qibotn/backends/qmatchatea.py:89: in _setup_backend_specifics
self.qmatchatea_backend = qmatchatea.QCBackend(
E TypeError: QCBackend.init() got an unexpected keyword argument 'backend'
2. Errors with the implementation of probabilities in result.py
if self.prob_type == "U":
measured_probabilities = deepcopy(self.measured_probabilities)
for bitstring, prob in self.measured_probabilities[self.prob_type].items():
E AttributeError: 'tuple' object has no attribute 'items'
../src/qibotn/result.py:50: AttributeError
3. In tests/test_expectation, observable=ham in line 45 instead of ham_form
4. Example in the doc folder gives the following error
backend.configure_tn_simulation(
TypeError: QMatchaTeaBackend.configure_tn_simulation() got an unexpected keyword argument 'convergence_params'
as the convergence parameters has to be provided seperately.