Electric and magnetic boundaries of the surface code (source code)

= Electric and magnetic boundaries of the surface code

An electric boundary of the <surface code> condenses electric anyons, while a magnetic boundary condenses magnetic anyons. A local boundary Pauli can create a single condensed excitation because its string may end at that boundary.