Browse Source

Fix VisibleDeprecationWarning in `graphstate.py`

master
Pete Shadbolt 8 years ago
parent
commit
6e500dc7b5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      abp/graphstate.py

+ 1
- 1
abp/graphstate.py View File

@@ -99,7 +99,7 @@ class GraphState():
self.remove_vop(b, a)
if self.ngbh[a] - {b}:
self.remove_vop(a, b)
edge = self.has_edge(a, b)
edge = int(self.has_edge(a, b))
new_edge, self.vops[a], self.vops[
b] = clifford.cz_table[edge, self.vops[a], self.vops[b]]
if new_edge != edge:


Loading…
Cancel
Save