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 \(\phi_r\)

  • hbar (float) – (default 2) the value of \(\hbar\) in the commutation relation \([\x,\p]=i\hbar\)

Returns

the squeezed coherent state

Return type

array

Contents

Using PennyLane

Development

API

Internals