Using PennyLane
Release news
Development
API
Internals
Returns a squeezed state.
r (float) – the squeezing magnitude
phi (float) – the squeezing phase \(\phi\)
hbar (float) – (default 2) the value of \(\hbar\) in the commutation relation \([\x,\p]=i\hbar\)
the squeezed state
array