quantum state verification