spheres.oscillators.vacuum

spheres.oscillators.vacuum(n=2, cutoff_dim=3)[source]

Constructs vacuum state for a given number of oscillators with given cutoff dimension.

Parameters
  • n (int) – Number of oscillators.

  • cutoff_dim (int) – Cutoff for the Fock space of the oscillators.

Returns

vac – Vacuum state with the right tensor dimensions.

Return type

qt.Qobj