Skip to content

Commit d98ffb3

Browse files
committed
using arbitrary list for resultTypes Literal directive
1 parent 20cc632 commit d98ffb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example_plugin/interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Backend = str
1111
Backends = List[Backend]
1212
Metadata = Dict[Any, Any]
13-
ResultType = Literal['counts', 'quasi_dist', 'expval']
13+
ResultType = Literal[*AVAILABLE_RESULT_TYPES]
1414
QasmFilePath = str
1515
Results = Dict[str | int, float] | List[float]
1616

0 commit comments

Comments
 (0)