sf.ops.Vac¶
-
Vac
= <strawberryfields.ops.Vacuum object>¶ Prepare a mode in the vacuum state.
Can be accessed via the shortcut variable
Vac
.Note
By default, newly created modes in Strawberry Fields default to the vacuum state.
Details and Conventions
Definition
The vacuum state \(\ket{0}\) is a Gaussian state defined by
\[\ket{0} = \frac{1}{\sqrt[4]{\pi \hbar}} \int dx~e^{-x^2/(2 \hbar)}\ket{x} ~~\text{where}~~ \a\ket{0}=0\]Tip
Available in Strawberry Fields as a NumPy array by
strawberryfields.utils.vacuum_state()
In the Fock basis, it is represented by Fock state \(\ket{0}\), and in the Gaussian formulation, by \(\bar{\mathbf{r}}=(0,0)\) and \(\mathbf{V}= \frac{\hbar}{2} I\).
code/api/strawberryfields.ops.Vac
Download Python script
Download Notebook
View on GitHub