Control and readout of a transmon using a compact superconducting resonator | Synapse