From 65b3ed640aa210b45af498c3c841dd6ea7361de5 Mon Sep 17 00:00:00 2001 From: Marquess Valdez Date: Mon, 22 Jan 2024 13:00:17 -0800 Subject: [PATCH] fix type hint --- pyquil/quilbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyquil/quilbase.py b/pyquil/quilbase.py index cd414712e..6792b6880 100644 --- a/pyquil/quilbase.py +++ b/pyquil/quilbase.py @@ -623,7 +623,7 @@ def __new__(cls, qubit: Union[Qubit, QubitPlaceholder, FormalArgument]) -> Self: return super().__new__(cls, qubit) @classmethod - def _from_rs_reset(cls, reset: quil_rs.Reset) -> "Reset": + def _from_rs_reset(cls, reset: quil_rs.Reset) -> "ResetQubit": return super().__new__(cls, reset.qubit)