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

qml.devices.default_gaussian.squeezed_state

squeezed_state(r, phi, hbar=2.0)[source]

Returns a squeezed state.

Parameters
  • r (float) – the squeezing magnitude

  • phi (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