ソースを参照

Note on determinism

master
コミット
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
----------------------



読み込み中…
キャンセル
保存