Skip to content

Commit 90f4d72

Browse files
committed
Make lint helping
1 parent c0c5e99 commit 90f4d72

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

python/quantum-pecos/src/pecos/engines/cvm/binarray.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
1818
# specific language governing permissions and limitations under the License.
1919

20-
"""Binary array implementation for the PECOS classical virtual machine.
21-
22-
This module provides the BinArray class for efficient binary array operations
23-
within the classical virtual machine (CVM) framework. It supports various
24-
binary representations and operations needed for classical computations
25-
in quantum error correction simulations.
26-
"""
27-
2820
from __future__ import annotations
2921

3022
from typing import TYPE_CHECKING

python/quantum-pecos/src/pecos/reps/pypmir/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,4 @@
1414
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations under the License.
1616

17-
"""Python PMIR (Pecos Medium-level Intermediate Representation).
18-
19-
This package provides Python bindings and utilities for PMIR.
20-
"""
21-
2217
from pecos.reps.pypmir.pypmir import PyPMIR, signed_data_types, unsigned_data_types

python/quantum-pecos/src/pecos/slr/gen_codes/gen_qasm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ def generate_op(self, op):
181181
op_list = op_str.split("\n")
182182
op_new = []
183183
for o in op_list:
184-
o = o.strip() # noqa: PLW2901 - clean whitespace
184+
o = o.strip()
185185
if o != "" and not o.startswith("//"):
186186
for qi in o.split(";"):
187-
qi = qi.strip() # noqa: PLW2901 - clean whitespace
187+
qi = qi.strip()
188188
if qi != "" and not qi.startswith("//"):
189189
op_new.append(f"if({cond}) {qi};")
190190
else:

0 commit comments

Comments
 (0)