mm.physics.gaussian.two_mode_squeezing_symplectic

mrmustard.physics.gaussian.two_mode_squeezing_symplectic(r, phi)[source]

Symplectic matrix of a two-mode squeezing gate.

The dimension is \(4\times 4\).

Parameters:
  • r (float) – squeezing magnitude

  • phi (float) – rotation parameter

Returns:

symplectic matrix of a two-mode squeezing gate

Return type:

Matrix