Make the X and Y operations get applied one basis state at a time. Modify the all label to make it more clear