How vector space to be treated as hilbert space?