Theory of quasi-exact fault-tolerant quantum computing and valence-bond-solid codes | Synapse