Error-tolerant parity detector of cat-state qubits based on a topological quantum phase transition | Synapse