qml.devices.default_gaussian.displaced_squeezed_state¶
- displaced_squeezed_state(a, phi_a, r, phi_r, hbar=2.0)[source]¶
Returns a squeezed coherent state
- Parameters
a (real) – the displacement magnitude
phi_a (real) – the displacement phase
r (float) – the squeezing magnitude
phi_r (float) – the squeezing phase ϕr
hbar (float) – (default 2) the value of ℏ in the commutation relation [ˆx,ˆp]=iℏ
- Returns
the squeezed coherent state
- Return type
array