Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
NoureldinYosri committed Jan 6, 2025
1 parent 623455d commit a52bbd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qualtran/bloqs/gf_arithmetic/gf2_multiplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from functools import cached_property
from typing import Dict, Set, TYPE_CHECKING, Union
from typing import Dict, Sequence, Set, TYPE_CHECKING, Union

import attrs
import numpy as np
Expand Down Expand Up @@ -306,7 +306,7 @@ def on_classical_vals(self, g) -> Dict[str, 'ClassicalValT']:
res = res[::-1]
return {'g': res}

def build_composite_bloq(self, bb: 'BloqBuilder', g: 'Soquet') -> Dict[str, 'Soquet']:
def build_composite_bloq(self, bb: 'BloqBuilder', g: Sequenc['Soquet']) -> Dict[str, 'Soquet']:
L, U, P = self.lup
if is_symbolic(self.n):
raise DecomposeTypeError(f"Symbolic decomposition isn't supported for {self}")
Expand Down

0 comments on commit a52bbd3

Please sign in to comment.