Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dakk committed Oct 19, 2023
1 parent 3e3a5a0 commit ddb885a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion qlasskit/compiler/poccompiler2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit ddb885a

Please sign in to comment.