qml.devices.default_gaussian.two_mode_squeezing

two_mode_squeezing(r, phi)[source]

Two-mode squeezing.

Parameters
  • r (float) – squeezing magnitude

  • phi (float) – rotation parameter

Returns

symplectic transformation matrix

Return type

array

Contents

Using PennyLane

Release news

Development

API

Internals