We propose a device to realize quantum error correction by dissipation. The device generates Gottesman-Kitaev-Preskill (GKP) states as steady states in a single driven LC resonator. The resonator should have impedance above
h/2e2≈12.9kΩ, and should be driven across a Josephson junction with a high-amplitude voltage tone at frequency near-commensurate with the resonator frequency. In this regime, we show that GKP states emerge as steady-states of the resonator; these states encode a qubit protected against phase-space local noise. Low-lying excitations preserve the quantum information and increase the energy proportionally to a measure of the error degree. Thus, quantum error correction of both bit and phase errors can be achieved with dissipative cooling. Our calculations indicate an achievable coherence time of $ 1000 \times$ the resonator photon lifetime at operating temperatures above
100mK. Beyond steady-state quantum error correction, the device supports protected single-qubit Clifford gates and readout with exponential accuracy corrected by the same dissipative mechanism, as well as magic-state preparation above the distillation threshold.
We report a theoretical study of the ac response of superconducting quantum metamaterials (SQMs), i.e., an array of qubits (two-level systems) embedded in a low-dissipative resonator. By making use of a particular example of a SQM, namely the array of charge qubits capacitively coupled to the resonator, we obtain a second-order phase transition between an incoherent (the high-temperature phase) and coherent (the low-temperatures phase) state of photons. This phase transition in many aspects resembles the paramagnetic-ferromagnetic phase transition. The critical temperature of the phase transition, ${T}^{\ensuremath{\star}}$, is determined by the energy splitting of two-level systems $\ensuremath{\delta}$, number of qubits in the array
N, and the strength of the interaction $\ensuremath{\eta}$ between qubits and photons in the cavity. We obtain that the photon states manifest themselves by resonant drops in the frequency-dependent transmission $D(\ensuremath{\omega})$ of electromagnetic waves propagating through a transmission line weakly coupled to the SQM. At high temperatures the $D(\ensuremath{\omega})$ displays a single resonant drop, and at low temperatures a peculiar double-resonance response has to be observed. The physical origin of such a resonant splitting is the quantum oscillations between two coherent states of photons of different polarizations.