triqs::hilbert_space::make_zero_state
#include <triqs/hilbert_space/state.hpp>
Synopsis
template<typename HilbertSpace, typename ScalarType, bool BasedOnMap>state<HilbertSpace, ScalarType, BasedOnMap> make_zero_state (state<HilbertSpace, ScalarType, BasedOnMap> const & st)
Make a copy of a given state with all amplitudes set to 0
Template parameters
HilbertSpace Hilbert space type, one of [[hilbert_space]] and [[sub_hilbert_space]]
ScalarType Amplitude type, normally double or std::complex<double>
BasedOnMap Use the implementation based on a map
Parameters
st State object to copy