Superconducting quantum simulator for topological order and the toric code