qml.devices.default_gaussian.beamsplitter

beamsplitter(theta, phi)[source]

Beamsplitter.

Parameters
  • theta (float) – transmittivity angle (\(t=\cos\theta\))

  • phi (float) – phase angle (\(r=e^{i\phi}\sin\theta\))

Returns

symplectic transformation matrix

Return type

array

Contents

Using PennyLane

Development

API