fix: probabilities method in result class
This commit is contained in:
@@ -76,7 +76,7 @@ class QMatchaTeaBackend(QibotnBackend):
|
||||
circuit,
|
||||
initial_state=None,
|
||||
nshots=None,
|
||||
prob_type="U",
|
||||
prob_type=None,
|
||||
return_array=False,
|
||||
**prob_kwargs,
|
||||
):
|
||||
@@ -123,6 +123,10 @@ class QMatchaTeaBackend(QibotnBackend):
|
||||
f"Backend {self.name}-{self.platform} currently does not support initial state.",
|
||||
)
|
||||
|
||||
if prob_type == None:
|
||||
prob_type = "U"
|
||||
prob_kwargs = {"num_samples": 500}
|
||||
|
||||
# To be sure the setup is correct and no modifications have been done
|
||||
self._setup_qmatchatea_backend()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user