triqs::hilbert_space::state<HilbertSpace,ScalarType,true>::constructor

#include <triqs/hilbert_space/state.hpp>

Synopsis

  1. state ()
  2. state (HilbertSpace const & hs)
  3. state (HilbertSpace const & hs, fock_state_t st)

Documentation

1) Construct a new state object

The constructed state is dummy state not belonging to any Hilbert space. It should not be used in expressions!

2) Construct a new state object

3) Construct a new state object and set the st-th amplitude to 1.

Parameters

  • hs Hilbert space the new state belongs to

  • st Basis state with the unity amplitude