Ground-state degeneracy for Abelian anyons in the presence of gapped boundaries | Synapse