triqs::hilbert_space::project¶
#include <triqs/hilbert_space/state.hpp>
Synopsis
template<typename TargetState, typename OriginalState> template<typename TargetState, typename OriginalState>
Documentation
1) Construct a projection of a state to a Hilbert space
2) Construct a projection of a state to a Hilbert subspace
Template parameters¶
- TargetState Type of the result
- OriginalState Type of the state being projected
Parameters¶
- psi State to be projected
- proj_hs Target Hilbert space