Skip to content

Commit

Permalink
Fix typing.
Browse files Browse the repository at this point in the history
  • Loading branch information
cqc-alec committed Nov 21, 2024
1 parent 56bb8b4 commit b16cfc0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pytket/extensions/qiskit/backends/aer.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ class _AerBaseBackend(Backend):

# Map from (job ID, circuit index) to (number of qubits, postprocessing circuit),
# i.e. from the first two components of the ResultHandle to the last two.
_circuit_data: dict[tuple[str, int], tuple[int, str]] = {}
_circuit_data: dict[
tuple[int | float | complex | str | bool | bytes, int], tuple[int, str]
] = {}

@property
def required_predicates(self) -> list[Predicate]:
Expand Down

0 comments on commit b16cfc0

Please sign in to comment.