template<typename HilbertSpace, typename ScalarType> class state<HilbertSpace,ScalarType,true>
State: implementation based on a map
This specialization can work well on huge Hilbert spaces, as long as there are not too many non-vanishing amplitudes in the state.
- HilbertSpace: Hilbert space type, one of [[hilbert_space]] and [[sub_hilbert_space]]
- ScalarType: Amplitude type, normally double or std::complex<double>