fixed ket generation with Qobj
Merge pull request #71 from stared/ket_generation

Fixed ket generation from a list with Qobj