quantum phases