Use the standard toric code convention
An open string anticommutes with at its endpoints and creates the electric particles there; an open dual-lattice string creates magnetic particles at its endpoint plaquettes. Joining two strings cancels every shared Pauli because . Bringing two identical endpoints together therefore annihilates them:
Taking around makes its closed string cross the string ending on once. At that crossing , so the state acquires . The same argument with the roles reversed gives
Identical strings commute with one another, as do identical strings. Their exchanges can be deformed without a crossing between anticommuting operators, so . Thus and are bosons and are mutual semions, as summarized by the surface-code anyon model.
For
the vectors and have
The K-matrix formula therefore gives bosonic self-exchange for and mutual full-braiding phase
Fusion adds vectors. Because
both double fusions lie in and braid trivially with every vector; hence they represent the vacuum in the anyon lattice of an Abelian Chern--Simons theory. Finally has , so its exchange phase is . These are exactly the fusion and braiding data of the surface-code anyon model.