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

qml.devices.default_gaussian.vacuum_state

vacuum_state(wires, hbar=2.0)[source]

Returns the vacuum state.

Parameters
  • wires (int) – the number of wires to initialize in the vacuum state

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

Returns

the vacuum state

Return type

array

Contents

Using PennyLane

Release news

Development

API

Internals