diff options
Diffstat (limited to 'single_dequantify.py')
-rw-r--r-- | single_dequantify.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/single_dequantify.py b/single_dequantify.py index a4a3021..8e801a1 100644 --- a/single_dequantify.py +++ b/single_dequantify.py @@ -5,7 +5,7 @@ import cmath as cmt import numpy as npy import scipy.linalg as sla -alpha = 1 +alpha = 3 beta = 1 norm = npy.linalg.norm([alpha, beta]) @@ -30,7 +30,7 @@ def sphere2cart(phi, theta): return [ mth.sin(theta) * mth.cos(phi), mth.sin(theta) * mth.sin(phi), - mth.cos(theta) + -1 * mth.cos(theta) ] historie = npy.array([bloch_map(state)]) |