Skip to content

Commit 2b52c1e

Browse files
committed
updated interface
1 parent de2b5cc commit 2b52c1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aer_plugin/interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
from abc import ABC, abstractmethod
66
import os
7-
from typing import List, Dict, Any
7+
from typing import List, Dict, Any, Literal
88
from .config import AVAILABLE_RESULT_TYPES
99

1010
Backend = str
1111
Backends = List[Backend]
1212
Metadata = Dict[Any, Any]
13-
ResultType = str
13+
ResultType = Literal["counts", "quasi_dist", "expval"]
1414
QasmFilePath = str
1515
Results = Dict[str | int, float] | List[float]
1616

0 commit comments

Comments
 (0)