Loading [MathJax]/jax/output/HTML-CSS/jax.js

qml.devices.default_gaussian.squeezed_cov

squeezed_cov(r, phi, hbar=2)[source]

Returns the squeezed covariance matrix of a squeezed state.

Parameters
  • r (float) – the squeezing magnitude

  • p (float) – the squeezing phase ϕ

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

Returns

the squeezed state

Return type

array

Contents

Using PennyLane

Release news

Development

API

Internals