On-chip quantum simulation with superconducting circuits