We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de2b5cc commit 2b52c1eCopy full SHA for 2b52c1e
aer_plugin/interface.py
@@ -4,13 +4,13 @@
4
5
from abc import ABC, abstractmethod
6
import os
7
-from typing import List, Dict, Any
+from typing import List, Dict, Any, Literal
8
from .config import AVAILABLE_RESULT_TYPES
9
10
Backend = str
11
Backends = List[Backend]
12
Metadata = Dict[Any, Any]
13
-ResultType = str
+ResultType = Literal["counts", "quasi_dist", "expval"]
14
QasmFilePath = str
15
Results = Dict[str | int, float] | List[float]
16
0 commit comments