Resonator-mediated quantum gate between distant charge qubits | Synapse