cfunctions
cf_wigner(psi, xvec, yvec)
Wigner function for a state vector or density matrix at points
xvec + i * yvec
.
Parameters
Qarray
A state vector or density matrix.
array_like
x-coordinates at which to calculate the Wigner function.
array_like
y-coordinates at which to calculate the Wigner function.
Returns
array
Values representing the Wigner function calculated over the specified range [xvec,yvec].
Source code in jaxquantum/core/cfunctions.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|