S&P 500 rises 0.4% on IBM quantum win, Dow hits record high