From 92935fd5441c0acfea97cd8d8ccf34368fe2a39e Mon Sep 17 00:00:00 2001 From: Pete Shadbolt Date: Fri, 18 Nov 2016 18:54:51 -0800 Subject: [PATCH] Note on determinism --- doc/index.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/index.rst b/doc/index.rst index 081abc6..6a150bf 100644 --- a/doc/index.rst +++ b/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 ----------------------