diff --git a/src/bloqade/ir/routine/bloqade.py b/src/bloqade/ir/routine/bloqade.py index eccc7afaa..da87a5ec1 100644 --- a/src/bloqade/ir/routine/bloqade.py +++ b/src/bloqade/ir/routine/bloqade.py @@ -4,7 +4,7 @@ from bloqade.task.batch import LocalBatch from beartype import beartype from beartype.typing import Optional, Tuple -from dataclasses import dataclass +from pydantic.dataclasses import dataclass @dataclass(frozen=True, config=__pydantic_dataclass_config__) diff --git a/src/bloqade/ir/routine/braket.py b/src/bloqade/ir/routine/braket.py index c0b5f52ae..271d5c8ff 100644 --- a/src/bloqade/ir/routine/braket.py +++ b/src/bloqade/ir/routine/braket.py @@ -1,5 +1,5 @@ from collections import OrderedDict -from dataclasses import dataclass +from pydantic.dataclasses import dataclass from beartype import beartype from beartype.typing import Optional, Tuple from bloqade.builder.typing import LiteralType diff --git a/src/bloqade/ir/routine/quera.py b/src/bloqade/ir/routine/quera.py index 717b90b33..4ef8c1e71 100644 --- a/src/bloqade/ir/routine/quera.py +++ b/src/bloqade/ir/routine/quera.py @@ -1,5 +1,5 @@ from collections import OrderedDict -from dataclasses import dataclass +from pydantic.dataclasses import dataclass import json from bloqade.builder.typing import LiteralType