triqs::hilbert_space::hilbert_space::get_fock_state

#include <triqs/hilbert_space/hilbert_space.hpp>

Synopsis

  1. fock_state_t get_fock_state (int i) const
  2. fock_state_t get_fock_state (fundamental_operator_set const & fops,
    std::set<fundamental_operator_set::indices_t> const & indices) const

Documentation

1) Return the i-th basis element as a Fock state

2) Return the Fock state generated by a product of creation operators with given indices

Parameters

  • i Index of the basis state

  • fops Fundamental operator set used to construct this Hilbert space

  • indices An ordered set of index sequences (see indices_t in [[fundamental_operator_set]])

Returns

Fock state