qml.plugins.default_gaussian.vacuum_state

vacuum_state(wires, hbar=2.0)[source]

Returns the vacuum state.

Parameters
  • basis (str) – Returns the vector of means and the covariance matrix

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

Returns

the vacuum state

Return type

array

Contents

Using PennyLane

Development

API