Skip to content

Commit ced54ca

Browse files
committed
adding warning to target
1 parent 7b66ca1 commit ced54ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/bloqade/pyqrack/target.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from typing import List, TypeVar, ParamSpec
2+
from warnings import warn
23
from dataclasses import field, dataclass
34

45
from kirin import ir
@@ -32,6 +33,10 @@ class PyQrack:
3233
"""Options to pass to the QrackSimulator object, node `qubitCount` will be overwritten."""
3334

3435
def __post_init__(self):
36+
warn(
37+
"The PyQrack target is deprecated and will be removed in a future release. Please use the DynamicMemorySimulaotr / StackMemorySimulator instead."
38+
)
39+
3540
self.pyqrack_options = PyQrackOptions(
3641
{**_default_pyqrack_args(), **self.pyqrack_options}
3742
)

0 commit comments

Comments
 (0)