We study the influence of topology on the quench dynamics of a system driven
across a quantum critical point. We show how the appearance of certain edge
states, which fully characterise the topology of the system, dramatically
modifies the process of defect production during the crossing of the critical
point. Interestingly enough, the density of defects is no longer described by
the Kibble-Zurek scaling, but determined instead by the non-universal
topological features of the system. Edge states are shown to be robust against
defect production, which highlights their topological nature.Comment: Phys. Rev. Lett. (to be published