Obstacles to State Preparation and Variational Optimization from Symmetry Protection.