sf.utils.squeezed_cov¶
-
squeezed_cov
(r, phi, hbar=2)[source]¶ Returns the squeezed covariance matrix of a squeezed state
- Parameters
r (complex) – the squeezing magnitude
p (float) – the squeezing phase \(\phi\)
hbar (float) – (default 2) the value of \(\hbar\) in the commutation relation \([\x,\p]=i\hbar\)
- Returns
the squeezed state
- Return type
array
code/api/strawberryfields.utils.squeezed_cov
Download Python script
Download Notebook
View on GitHub