The quantum sine-Gordon model with quantum circuits