Skip to content

Commit

Permalink
fixing annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
weinbe58 committed Nov 11, 2023
1 parent 0c5e48a commit 0f09548
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/bloqade/ir/routine/bloqade.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from collections import OrderedDict, namedtuple
from decimal import Decimal

from bloqade.ir.routine.base import RoutineBase, __pydantic_dataclass_config__
from bloqade.builder.typing import LiteralType
from bloqade.task.batch import LocalBatch
from beartype import beartype
from beartype.typing import Optional, Tuple, Callable, Dict, Any, List
from beartype.typing import Optional, Tuple, Callable, Dict, Any, List, NamedTuple
from pydantic.dataclasses import dataclass
import numpy as np

Expand Down Expand Up @@ -208,9 +207,7 @@ def __call__(
@beartype
def run_callback(
self,
callback: Callable[
[StateVector, Dict[str, Decimal], RydbergHamiltonian, Any], Any
],
callback: Callable[[StateVector, NamedTuple, RydbergHamiltonian, Any], Any],
program_args: Tuple[LiteralType, ...] = (),
callback_args: Tuple = (),
ignore_exceptions: bool = False,
Expand Down

0 comments on commit 0f09548

Please sign in to comment.