I hereby claim:
- I am erwindassen on github.
- I am erwindassen (https://keybase.io/erwindassen) on keybase.
- I have a public key ASBLbP2FxBearWGn6KJm3vk8eyoTYbo9O4PSmyH6RPCo9Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# This snippet shows how to serialize one or more numpy arrays into a form fit for HTTP transport | |
# namely a JSON object | |
# Author: Erwin Dassen | |
from io import BytesIO | |
import numpy as np | |
import json | |
A = np.array([[1.+1.j, 1.j], [-1.j, 1.-1.j]], dtype=np.complex64) # dtype not necessary for np.complex128 |