瀏覽代碼

Note on determinism

master
Pete Shadbolt 8 年之前
父節點
當前提交
92935fd544
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      doc/index.rst

+ 5
- 0
doc/index.rst 查看文件

@@ -145,6 +145,11 @@ But these operations will be very slow. Let's have a look at the stabilizer tabl
>>> print tab[0, 0]
3

Quantum mechanics is nondeterminstic. However, it's often useful to get determinstic behaviour for testing purposes. You can force ``abp`` to behave determinstically by setting::

>>> abp.DETERMINSTIC = True


Visualization
----------------------



Loading…
取消
儲存