We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7189295 commit bd3433cCopy full SHA for bd3433c
projectq/cengines/_optimize.py
@@ -241,7 +241,7 @@ def receive(self, command_list):
241
for cmd in command_list:
242
if cmd.gate == FlushGate(): # flush gate --> optimize and flush
243
# NB: self.optimize(i) modifies self._l
244
- for idx in self._l: # pylint: disable=consider-using-dict-items
+ for idx in self._l: # pylint: disable=consider-using-dict-items
245
self._optimize(idx)
246
self._send_qubit_pipeline(idx, len(self._l[idx]))
247
new_dict = {}
0 commit comments