Skip to content

Commit

Permalink
Minor change for pep8.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashaener committed Jun 19, 2017
1 parent 967781a commit 5f97c63
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion projectq/backends/_sim/_pysim.py
Expand Up @@ -430,7 +430,6 @@ def collapse_wavefunction(self, ids, values):
pos = self._map[ids[i]]
mask |= (1 << pos)
val |= (int(values[i]) << pos)

nrm = 0.
for i in range(len(self._state)):
if (mask & i) == val:
Expand Down

0 comments on commit 5f97c63

Please sign in to comment.