Skip to content

Commit

Permalink
updated linter rc
Browse files Browse the repository at this point in the history
  • Loading branch information
josh146 committed Jun 20, 2018
1 parent dcfb73a commit 77da713
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ ignored-classes=numpy,tensorflow,scipy,networkx,strawberryfields,openfermion
# can either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once).
disable=line-too-long,invalid-name,too-many-lines,redefined-builtin,too-many-locals,duplicate-code
disable=line-too-long,invalid-name,too-many-lines,redefined-builtin,too-many-locals,duplicate-code,too-few-public-method
1 change: 1 addition & 0 deletions sfopenboson/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ def __init__(self, operator, t=1, mode='local', hbar=None):
self.d[:self.ns] = tmp[self.ns:]

def decompose(self, reg):
"""Return the decomposed commands"""
cmds = []
cmds += [Command(GaussianTransform(self.S, hbar=self.hbar), reg, decomp=True)]
if self.disp:
Expand Down

0 comments on commit 77da713

Please sign in to comment.