Unified and Generalized Approach to Quantum Error Correction | Synapse