qml.devices.default_gaussian.squeezing

squeezing(r, phi)[source]

Squeezing in the phase space.

Parameters
  • r (float) – squeezing magnitude

  • phi (float) – rotation parameter

Returns

symplectic transformation matrix

Return type

array

Contents

Using PennyLane

Release news

Development

API

Internals