Practical computational advantage from the quantum switch on a generalized family of promise problems uri icon