Mitigating errors in logical qubits | Synapse