Conversion of states of matter