浏览代码

measure_sequence now working, was not in develop mode :baby:

master
Sam Morley-Short 8 年前
父节点
当前提交
10860e2066
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. +0
    -2
      abp/graphstate.py

+ 0
- 2
abp/graphstate.py 查看文件

@@ -305,11 +305,9 @@ class GraphState(object):
"""
forces = forces if forces != None else [random.choice([0, 1]) for i in range(len(measurements))]
measurements = zip(measurements, forces)
print measurements
results = []
for (node, basis), force in measurements:
result = self.measure(node, basis, force, detail)
print result
results += [result]
return results


正在加载...
取消
保存