We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec7f5fc commit 91c535fCopy full SHA for 91c535f
qualtran/bloqs/arithmetic/comparison.py
@@ -1372,8 +1372,9 @@ def build_composite_bloq(
1372
1373
def build_call_graph(self, ssa: 'SympySymbolAllocator') -> 'BloqCountDictT':
1374
dtype = attrs.evolve(self.dtype, bitsize=self.dtype.bitsize + 1)
1375
+ counts: 'BloqCountDictT'
1376
if isinstance(self.dtype, QUInt):
- counts: 'BloqCountDictT' = {BitwiseNot(dtype): 3}
1377
+ counts = {BitwiseNot(dtype): 3}
1378
else:
1379
counts = {BitwiseNot(dtype): 2, BitwiseNot(QUInt(dtype.bitsize)): 1}
1380
0 commit comments