diff --git a/TODO.md b/TODO.md index 8a44fa1f..fcd37292 100644 --- a/TODO.md +++ b/TODO.md @@ -51,6 +51,7 @@ - [x] Builtin functions: max(), min(), len() - [x] Function call (to builtin) - [x] Int arithmetic: + +- [ ] Int: bitwise not - [ ] Int: shift right / left - [ ] Int: subtraction - [ ] Publish doc diff --git a/qlasskit/compiler/poccompiler2.py b/qlasskit/compiler/poccompiler2.py index a5f83f87..65c59947 100644 --- a/qlasskit/compiler/poccompiler2.py +++ b/qlasskit/compiler/poccompiler2.py @@ -78,7 +78,7 @@ def compile(self, name, args: Args, ret_size: int, exprs: BoolExpList) -> QCircu return qc - def compile_expr(self, qc: QCircuit, expr: Boolean) -> int: + def compile_expr(self, qc: QCircuit, expr: Boolean) -> int: # noqa: C901 if isinstance(expr, Symbol): return qc[expr.name]