summaryrefslogtreecommitdiff
path: root/single_dequantify.py
diff options
context:
space:
mode:
Diffstat (limited to 'single_dequantify.py')
-rw-r--r--single_dequantify.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/single_dequantify.py b/single_dequantify.py
index 2a5e2bc..c7f6ade 100644
--- a/single_dequantify.py
+++ b/single_dequantify.py
@@ -31,9 +31,11 @@ def sphere2cart(phi, theta):
mth.cos(theta)
]
+historie = npy.array([bloch_map(state)])
for i in range(iterations):
state = time_evolution(state)
h = npy.dot(state, state)
+ historie = npy.vstack([historie,bloch_map(state)])
#print(f"{bloch_map(state)[0]}; {bloch_map(state)[1]}")
coords = bloch_map(state)
coords = sphere2cart(coords[0], coords[1])