Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 25, 2024
1 parent 33c3bf2 commit 384a029
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/qibolab/backends.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from collections import deque
from typing import Callable, Optional

import numpy as np
from qibo import __version__ as qibo_version
Expand Down Expand Up @@ -121,10 +120,7 @@ def execute_circuits(self, circuits, initial_state=None, nshots=1000):

# TODO: Maybe these loops can be parallelized
sequences, measurement_maps = zip(
*(
self.compiler.compile(circuit, self.platform)
for circuit in circuits
)
*(self.compiler.compile(circuit, self.platform) for circuit in circuits)
)

if not self.platform.is_connected:
Expand Down

0 comments on commit 384a029

Please sign in to comment.