IBM and Advanced Micro Devices created tailwinds for the main indexes after scoring a major quantum-computing win.