Progress in experimental cavity and circuit quantum electrodynamics has granted unprecedented access to the strong, ultrastrong and deep–strong light–matter coupling regimes1,2,3,4,5,6,7,8,9,10,11,12,13,14. Recently, circuit QED experiments involving a single LC-oscillator mode with frequency ω coupled to a flux qubit with transition frequency ωm have realised coupling g as large as g/ω ranging from 0.72 to 1.34, with \(g/{\omega} _{\mathrm{m}} \gg 1\)11. Such regimes offer a new testing ground for the foundations of quantum theory, and offer opportunities for the development of quantum technologies.

Our interest is in material systems that possess anharmonic spectra, and which are commonly truncated to two levels (qubits). In this case, conventional forms of light–matter interaction Hamiltonian yield the so-called quantum Rabi model (QRM) that consists of a linear interaction between the radiation mode and the qubit. Performing the rotating-wave approximation (RWA) then yields the celebrated Jaynes–Cummings model (JCM), which owing to its simple exact solution, has provided deep physical understanding in a wide range of contexts15,16,17,18. In the ultrastrong-coupling regime where 0.1 < g/ω < 1, the RWA is no longer valid3,5,11 and it is therefore widely believed that the JCM breaks down. For this reason, the QRM is considered indispensible and has found myriad applications in condensed matter, quantum optics and quantum information theory19,20,21,22,23,24. A disadvantage of the QRM when compared with the JCM is the lack of any simple solution, which makes its physical interpretation more difficult25. Despite this difficulty, the QRM is known to possess some markedly different physical features compared with the JCM. For example, the JCM predicts that there is no atom–photon entanglement within the ground state, while the ground state of the QRM is highly entangled within the ultrastrong-coupling regime26.

It was noted some time ago in the context of scattering theory that retaining only a subset of states raises the prospect of gauge non-invariance27,28,29,30,31,32,33,34,35. Yet, when the coupling is weak, it is possible to elicit gauge invariance through systematically accounting for the effects of the truncation36, and the choice of gauge has no practical implications for the qualitative physical conclusions. It has also been shown in the traditional setting of a single atom weakly coupled to a (multimode) radiation reservior, that number-conserving (JCM-type) light–matter interaction Hamiltonians can be obtained without recourse to the RWA37,38,39.

Very recently, the validity of two-level truncations performed in the Coulomb and multipolar gauges has been assessed40,41. The multipolar gauge was found to offer a more accurate QRM than the Coulomb gauge for the particular systems and regimes considered there. This was directly attributed to differences in the corresponding forms of coupling. Specifically, contributions of material levels above the first two were found to be suppressed for dipole-moment matrix elements that feature in the multipolar-gauge coupling, but not for canonical momentum matrix elements that feature in the Coulomb-gauge coupling.

While Refs. 40,41 provide valuable comparisons of the Coulomb and multipolar gauges, we employ a more general approach whereby gauge freedom is encoded into the value of a single real parameter. Our methods are applicable to arbitrary systems in QED, including both cavity and circuit QED implementations. We show that corresponding to a given unique light–matter Hamiltonian, there is a continuous infinity of non-equivalent two-level models, each of which corresponds to a different choice of gauge. We thereby obtain the most general possible Hermitian interaction operator that is bilinear in qubit and oscillator raising and lowering operators, and which is therefore more general than the JCM or QRM forms. We show that a specific choice of gauge, which we call the JC gauge, yields a JCM without any need for the RWA. There are also two gauges that yield distinct QRMs. To understand the implications of our approach within the ultrastrong-coupling regime, we consider in detail a fluxonium-LC-oscillator circuit QED system. We show that the breakdown of the RWA in strong and ultrastrong-coupling regimes does not imply a breakdown of the JCM.


Our key findings are as follows:

  1. (i)

    A finite-level truncation of the matter system ruins the gauge invariance of the theory. In the ultrastrong-coupling regime, the predictions relating to the same physical observable are generally significantly different within any two distinct two-level models. However, it remains meaningful to ask which truncation produces the best approximation of the unique physics. We are able to determine the accuracy of approximate two-level models by benchmarking against the unique predictions of the non-truncated (exact and gauge-invariant) theory.

  2. (ii)

    Each two-level model admits a RWA, which yields a corresponding JCM. The only exception to this occurs in the case of the two-level model associated with the JC gauge, wherein the counter-rotating terms are automatically absent. This JCM is valid far beyond the regime of validity of the RWA as applied to the QRM. It follows that Jaynes–Cummings physics is not necessarily restricted to the weak-coupling regime. In particular, independent of the coupling strength, the ground state is not entangled in the JC-gauge two-level model.

  3. (iii)

    When focusing on predictions that involve the lowest-lying energy eigenstates of the composite system, the JC-gauge two-level model nearly always outperforms the available QRMs within the regimes of interest. Thus, the JCM can and should be used in various situations previously thought to require use of the QRM.

Light–matter Hamiltonian

We first present our approach within the context of cavity QED. We consider a material system with charge e and mass m described by position and velocity variables r and \(\dot{\mathbf{r}}\), respectively, and with potential energy V(r). The material system interacts with an electromagnetic field described by the gauge-invariant transverse vector potential A and the associated transverse electric field \(- \,{\dot{\mathbf A}} = {\mathbf{E}}_{\mathrm{T}}\). The total vector potential is given by Atot = A + AL, where the longitudinal part \({\bf A}_{\mathrm{L}}\) determines the gauge. In the Coulomb gauge, AL = 0 so Atot = A. The scalar potential A0 that then accompanies A is, upto a factor of e, the Coulomb potential. As is well-known, the Maxwell–Lorentz equations are invariant under a gauge transformation taking the form A0 → A0 − ∂χt, A → A + χ, where AL = χ and χ is an arbitrary function. Here, we employ a formulation in which this gauge freedom is contained within a single real parameter α, which determines the gauge through the function χα. This function in turn defines a Lagrangian Lα (see Methods). The value α = 0 specifies the Coulomb gauge, while the Poincaré (multipolar) gauge also commonly used in atomic physics is obtained by choosing α = 1.

Moving to the Hamiltonian description canonical momenta are defined in the usual way as \({\mathbf{p}}_{\alpha} = \partial L_{\alpha} /\partial \dot{\mathbf{r}}\) and \({{{\Pi}}}_{\alpha} = \delta L_{\alpha} /\delta \dot{{\mathbf{A}}}\). Quantisation of the system is carried out using Dirac’s method42, full details of which are given in Supplementary Note 1. As in conventional derivations of the QRM and JCM, we restrict our attention to a single-cavity mode. Recently, it was shown that the single-mode approximation can break down in the ultrastrong-coupling regime, and in particular that it eliminates the requisite spatio-temporal structure necessary to elicit causal signal propagation43. However, the single-mode approximation does not result in a breakdown of gauge invariance because gauge transformations remain unitary in the single-mode theory. The generalisation to the multimode case is straightforward36,39, but is not necessary for understanding the implications of gauge freedom within two-level models. Following conventional derivations, we also make the electric dipole approximation, which similarly does not affect the gauge invariance of the theory.

With these simplifications, the α-gauge canonical momenta pα, Πα are related to manifestly gauge-invariant observables by

$$m\dot{{\mathbf{r}}} = {\mathbf{p}}_{\alpha} + e(1 - \alpha ){\mathbf{A}},$$
$${\mathbf{E}}_{\mathrm{T}} = - {{{\Pi}}}_{\alpha} - \frac{{\alpha \varepsilon (\widehat {\mathbf{d}} \cdot \mathbf{\varepsilon} )}}{v},$$

where \(\widehat {\mathbf{d}} = - e{\mathbf{r}}\) is the material dipole moment, v denotes the cavity volume, ω denotes the cavity frequency and ε is a cavity unit polarisation vector. The Hamiltonian is the sum of material and cavity energies

$$H = E_{{\mathrm{matter}}} + E_{{\mathrm{cavity}}},$$

where \(E_{{\mathrm{matter}}} = m{\dot{\mathbf{r}}}^2/2 + V(\mathbf{r})\) and \(E_{{\mathrm{cavity}}} = v({\mathbf{E}}_{\mathrm{T}}^2 + \omega ^2{\mathbf{A}}^2)/2\). The Hamiltonian is expressible in terms of the α-gauge canonical operators using Eqs. (1) and (2), with the well-known Coulomb-gauge (α = 0) and Poincaré-gauge (α = 1) forms obtained as specific examples.

The energy is a particular example of a gauge-invariant observable, which in Eq. (3) has been expressed as a function of the elementary gauge-invariant observables \({\mathbf{x}} = \{ {\mathbf{r}}, {\dot{\mathbf{r}}} ,{\mathbf{A}},{\mathbf{E}}_{\mathrm{T}}\}\). More generally, when written in terms of x, any observable O possesses a unique functional form O ≡ O(x). The theory is gauge-invariant in that the predictions concerning any gauge-invariant observable can be calculated using any gauge, and these predictions are unique. The canonical momenta {pα, Πα} are, however, manifestly gauge-dependent in that for each different α, they constitute different functions of the gauge-invariant observables x. When written in terms of canonical operators \({\bf y}_{\alpha}\) = {r, pα, A, Πα}, an observable O generally possesses an α-dependent functional form O = oα(\({\bf y}_{\alpha}\)). The canonical operators belonging to fixed gauges α and α′ are related using the unitary gauge-fixing transformation \(R_{\alpha \alpha{\prime} } = {\mathrm{exp}}[{\mathrm{i}}(\alpha - \alpha{\prime} )\widehat {\mathbf{d}} \cdot {\mathbf{A}}]\). This implies that distinct functional forms oα and \(o^{\alpha{\prime}}\) of the observable O are related according to

$$O = o^{\alpha} ({\mathbf{y}}_{\alpha} ) = R_{\alpha \alpha\prime }o^{\alpha} ({\mathbf{y}}_{\alpha\prime })R_{\alpha \alpha\prime }^{ - 1} \equiv o^{\alpha\prime }({\mathbf{y}}_{\alpha\prime }).$$

This equation expresses the uniqueness of physical observables independent of the chosen gauge.

The unitarity of the gauge transformation Rαα also ensures that in all gauges, the canonical operators satisfy the canonical commutation relations [ri, pα,j] = iδij, \([A_i, {\Pi}_{\alpha ,j}] = {\mathrm{i}}{\mathbf{\varepsilon} }_i {\mathbf{\varepsilon}}_j/v\) with all the remaining commutators between canonical operators being zero. These relations allow us to decompose the state space \({\cal H}\) of the light–matter system into α-dependent matter and cavity state spaces \({\cal H}_{\mathrm{m}}^{\alpha}\) and \({\cal H}_{\mathrm{c}}^{\alpha}\) such that \({\cal H} = {\cal H}_{\mathrm{m}}^{\alpha} \otimes {\cal H}_{\mathrm{c}}^{\alpha}\). The eigenstates of the canonical operators r, pα provide a basis for the material space \({\cal H}_{\mathrm{m}}^{\alpha}\) while the eigenstates of the canonical operators A, Πα provide a basis for the cavity space \({\cal H}_{\mathrm{c}}^{\alpha}\). It is not possible to define gauge-invariant (α-independent) light and matter quantum subsystem state spaces directly in terms of the gauge-invariant observables x, because Eqs. (1) and (2) along with the canonical commutation relations imply that \([m{\dot{r}}_{i},E_{{\mathrm{T}},j}]\) = −ie εiεj/v ≠ 0.

The present theory yields unique physical predictions despite the α-dependence of the quantum subsystems. This is because the representation of an observable by operators is unique, as expressed by Eq. (4), which implies that the average of an observable O in the state \(\left|\psi\right\rangle\) is unambiguously \(\left\langle \psi \right| O \left|\psi\right\rangle\). The α-dependence of the quantum subsystems is, however, an important feature of the theory, which is made transparent within our formulation. An approximation performed on one of the quantum subsystems will constitute a different approximation in each gauge, and may ruin the gauge invariance of the theory.

Non-equivalent two-level models

In conventional approaches, a gauge is chosen at the outset and the Hamiltonian is partitioned into matter and cavity bare energies plus an interaction part. Here, we follow this same procedure, but with the important exception that the gauge is left open rather than fixed. This is achieved through substitution of Eqs. (1) and (2) into Eq. (3), which casts the total Hamiltonian in the form \(H = H_{\mathrm{m}}^{\alpha} ({\mathbf{r}},{\mathbf{p}}_{\alpha} ) \otimes I_{\mathrm{c}}^{\alpha} + I_{\mathrm{m}}^{\alpha} \otimes H_{\mathrm{c}}^{\alpha} ({\mathbf{A}},{{{\Pi}}}_{\alpha} ) + V^{\alpha} ({\mathbf{y}}_{\alpha} )\). Here, \(I_{\mathrm{m}}^{\alpha}\) and \(I_{\mathrm{c}}^{\alpha}\) are the identity operators in \({\cal H}_{\mathrm{m}}^{\alpha}\) and \({\cal H}_{\mathrm{c}}^{\alpha}\), respectively, \(H_{\mathrm{m}}^{\alpha}\) and \(H_{\mathrm{c}}^{\alpha}\) are material and cavity bare energies in \({\cal H}_{\mathrm{m}}^{\alpha}\) and \({\cal H}_{\mathrm{c}}^{\alpha}\), respectively, and Vα denotes the interaction Hamiltonian. The explicit forms of \(H_{\mathrm{m}}^{\alpha} , H_{\mathrm{c}}^{\alpha}\) and Vα are given in Eqs. (9)–(11) in Methods.

One of the most useful and widespread approximations in light–matter theory is a two-level truncation of the material system, whereby only the first two eigenstates \(\left|\epsilon _0^{\alpha} \right\rangle ,\, \left| \epsilon _1^{\alpha} \right\rangle\) of the material bare energy \(H_{\mathrm{m}}^{\alpha}\) are retained. Our approach reveals that this procedure ruins the uniqueness of physical predictions that results from Eq. (4). Using the projection \(P^{\alpha} = \left|\epsilon _0^{\alpha} \right\rangle \left\langle \epsilon _0^{\alpha} \right| + \left|\epsilon _1^{\alpha} \right\rangle \left\langle \epsilon _1^{\alpha} \right|\), we obtain the α-gauge two-level model Hamiltonian

$$\begin{array}{*{20}{l}} {H_2^{\alpha} } \hfill & { = {\kern 1pt} } \hfill & {\omega _{\mathrm{m}}\sigma _{\alpha} ^ + \sigma _{\alpha} ^ - + \omega _{\alpha} \left( {c_{\alpha} ^\dagger c_{\alpha} + \frac{1}{2}} \right) + {\mathrm{\Delta }}_{\alpha} } \hfill \\ {} \hfill & {} \hfill & { +\; {\mathrm{i}}u_{\alpha} ^ - (\sigma _{\alpha} ^ + c_{\alpha} - \sigma _{\alpha} ^ - c_{\alpha} ^\dagger ) + {\mathrm{i}}u_{\alpha} ^ + (\sigma _{\alpha} ^ + c_{\alpha} ^\dagger - \sigma _{\alpha} ^ - c_{\alpha} )} \hfill \end{array}$$

where \(u_{\alpha} ^ \pm = \pm ({\mathbf{d}} \cdot {\mathbf{\varepsilon}} )[\omega _{\alpha} \alpha \mp \omega _{\mathrm{m}}(1 - \alpha )]/\sqrt {2\omega _{\alpha} v}\) and Δα = \(\epsilon_0\) + α2(dε)2/2v is an α-dependent zero-point shift. The transition dipole moment \({\mathbf{d}} = \left\langle \epsilon _1^{\alpha} \right| - e{\mathbf{r}}\left|\epsilon _0^{\alpha} \right\rangle\), which is assumed to be real, is α-independent, because r commutes with Rαα. The material Hamiltonian’s eigenvalues \({\epsilon}_0\) and  \({\epsilon}_1\) = ωm + \(\epsilon_0\) corresponding to material states \(\left| {\epsilon _0^{\alpha} } \right\rangle\) and \(\left| {\epsilon_1^{\alpha} } \right\rangle\), respectively, are also α-independent because \(H_{\mathrm{m}}^{\alpha} = R_{\alpha \alpha{\prime} }H_{\mathrm{m}}^{\alpha{\prime} }R_{\alpha \alpha{\prime} }^{ - 1}\). The complete derivation of Eq. (5) is given in Methods.

An important topic relating to two-level models and the choice of gauge in light–matter physics concerns the occurrence or otherwise of a superradiant phase transition in the Dicke model at strong coupling40,44,45,46,47,48. A precursor already occurs in the QRM, whereby beyond a critical coupling point, an exponential closure of the first transition energy occurs49,50,51. We note that in Eq. (5), counter-rotating and number-conserving interactions generally have different coupling strengths, and a strict bound cannot be given for either coupling independent of the material potential, except if α = 0. It follows that the standard “no-go theorem” concerning the ground-state instability of a single dipole, holds in general only in the Coulomb gauge41,44,45,46,47. An arbitrary-gauge analysis of this topic is important, but lies beyond the scope of this article and will be discussed elsewhere.

We are concerned with the α-dependence of predictions obtained when using the Hamiltonian in Eq. (5). This Hamiltonian has neither JC nor Rabi form, because \(|u_{\alpha} ^ + |\, \ne\, |u_{\alpha} ^ - |\) and \(u_{\alpha} ^ +\, \ne\, 0\) except when particular values of α are chosen. Specifically, two distinct QRMs are obtained for the choices α = 0 and α = 1, which are nothing but the Coulomb and Poincaré-gauge QRMs frequently encountered in quantum optics. On the other hand, by choosing α = αJC, which solves the coupled equations αJC(ωm + ωJC) = ωm and \(\omega _{{\mathrm{JC}}}^2 = \omega ^2 + e^2(1 - \alpha _{{\mathrm{JC}}})^2/mv\), we obtain \(u_{{\mathrm{JC}}}^ + \equiv 0\) and \(u_{{\mathrm{JC}}}^ - = - 2({\mathbf{d}} \cdot {\mathbf{\varepsilon}} )\omega _{\mathrm{m}}\sqrt {\omega _{{\mathrm{JC}}}} /[\sqrt {2v} (\omega _{{\mathrm{JC}}} + \omega _{\mathrm{m}})]\). This choice therefore yields a JC Hamiltonian without any need for the RWA. The JCM derived in this way possesses the same advantage of exact solvability as conventional JCMs obtained as RWAs of the Coulomb and Poincaré-gauge QRMs. However, the states \(\left|\epsilon_{\mathrm {JC}}\right\rangle\), operators \(\sigma _{{\mathrm{JC}}}^ {\pm}\) and parameters \(u_{{\mathrm{JC}}}^ -\), \(\omega_{\mathrm {JC}}\) are different from their counterparts within conventional JCMs. In particular, the renormalised cavity frequency \({\omega}_{\mathrm {JC}}\) together with the zero-point shift ΔJC yields a ground-state energy that is a non-constant function of the Coulomb-gauge and multipolar-gauge QRM coupling parameters.

Having derived an expression for the energy, most properties of practical interest can now be calculated using the two-level model associated with any gauge. This includes atomic populations and coherences, as well as various cavity properties, such as photon number. It is, however, possible to go further by defining the two-level representation of any additional observable of interest O as \(O_2^{\alpha} = P^{\alpha} OP^{\alpha}\). Restricting the state space \({\cal H}_{\mathrm{m}}^{\alpha}\) to the two-dimensional subspace spanned by the eigenstates \(\left| {\epsilon _0^{\alpha} } \right\rangle , \left| {\epsilon _1^{\alpha} } \right\rangle\) then completes the construction of the two-level model.

Two-level models corresponding to distinct gauges α and α′ must be distinguished, because when α ≠ α′, the projection Pα involves all eigenstates of \(H_{\mathrm{m}}^{\alpha{\prime}}\), and similarly Pα involves all eigenstates of \(H_{\mathrm{m}}^{\alpha}\). This is because the gauge transformation does not have product form; Rαα ≠ RmRc. A pictorial representation of the relationship between different gauges and their associated two-level models is given in Fig. 1. After a two-level truncation, the uniqueness of the representation of observables expressed by Eq. (4) no longer holds, that is, \(O_2^{\alpha}\, \ne\, O_2^{\alpha{\prime} }\) when α ≠ α′. Distinct two-level models will therefore give different predictions for the same physical quantity. An observable of particular importance is the energy represented by the Hamiltonian, which we focus on hereafter. There is generally no simple relation between distinct two-level model Hamiltonians \(H_2^{\alpha}\) and \(H_2^{\alpha{\prime} }\), when α ≠ α′. In fact, it was noted some time ago that two-level models associated with different gauges can give different results even in the weak-coupling regime52. However, provided that the two-level modification of the operator algebra is accounted for, it can be shown that certain two-level model predictions are gauge-invariant upto order d36. This is discussed in more detail in Supplementary Note 2. Regardless, one expects predictions of two-level models corresponding to different gauges to be significantly different when the coupling is sufficiently strong. We show how a comparison of the predictions of different two-level models can be achieved for an arbitrary observable in Methods. We show further that if the material system is a harmonic oscillator, then it is possible to derive a JCM that is necessarily more accurate than any derivable QRM for finding ground-state averages.

Fig. 1
figure 1

Three important gauges and their non-equivalent two-level models. Shown are the α = 0, α = αJC and α = 1 gauges, and their associated two-level truncations. The different gauges are associated with different unitarily related canonical operators \({\bf y}_0\), \({\bf y}_{\mathrm JC}\) and \({\bf y}_1\), respectively, which induce different subsystem decompositions of the light–matter Hilbert space. The composite Hilbert space and the Hamiltonian are unique, but a projection onto the first two levels of the material system results in distinct two-level models with Hamiltonians \(H_2^0\), \(H_2^{\mathrm{JC}}\) and \(H_2^1\) respectively. The α = 0 and α = 1 gauge two-level model interaction Hamiltonians both have Rabi form and therefore describe real processes represented by the solid green and orange arrows, as well as counter-rotating processes represented by the dashed arrows. The αJC-gauge two-level model interaction has Jaynes–Cummings form and therefore all processes it describes are real

Application to ultrastrong coupling in circuit QED

When considering less artificial systems than a material oscillator, the relative accuracies of two-level models is more difficult to determine. We now consider an experimentally relevant circuit QED setup consisting of a fluxonium atom coupled to an LC oscillator. The fluxonium is described by the flux variables ϕ, \(\dot \phi\) and the external flux ϕext, along with three energy parameters Ec, EJ and El that are the capacitive energy, tunnelling Josephson energy and inductive energy, respectively. The external flux ϕext = π2e specifies maximum frustration of the atom. The LC oscillator is described by analogous flux variables \(\theta , {\dot \theta}\), with inductance L and capacitance C defining the oscillator frequency \(\omega = 1/\sqrt {LC}\).

In terms of \({\mathbf{x}} = \{ \phi ,{\theta} ,{\dot \phi} ,{\dot \theta \}}\), the functional form of an observable O is unique \(O \equiv O(\mathbf{x})\). On the other hand, different canonical operators \({\mathbf{y}}_{\alpha} = \{ \phi ,\xi _{\alpha} ,\theta _{\alpha} ,\zeta \}\) are related by \(\theta _{\alpha} = R_{0\alpha }^{ - 1}\theta _0R_{0\alpha }\) and \(\xi _{\alpha} = R_{0\alpha }^{ - 1}\xi _0R_{0\alpha }\), where \(R_{0\alpha } = {\mathrm{e}}^{{\mathrm{i}}\alpha \zeta \phi }\) is a unitary gauge transformation with α real and dimensionless. Here, ξα and ζ are canonical momenta conjugate to ϕ and θα, respectively. The gauge choices α = 0 and α = 1 are called the charge gauge and flux gauge, respectively53. The Hamiltonian H describing the system is derived in Supplementary Note 3 and is given in Methods.

In exactly the same way as for the cavity QED Hamiltonian, the projection Pα onto the first two eigenstates \(\left| {\epsilon _0^{\alpha} } \right\rangle , \left| {\epsilon _1^{\alpha} } \right\rangle\) of the material bare energy \(H_{\mathrm{m}}^{\alpha}\) can be used to obtain an α-dependent two-level model Hamiltonian, which at maximal frustration reads

$$\begin{array}{*{20}{l}} {H_2^{\alpha} } \hfill & = \hfill & {\omega _{\mathrm{m}}\sigma _{\alpha} ^ + \sigma _{\alpha} ^ - + \omega _{\alpha} \left( {c_{\alpha} ^\dagger c_{\alpha} + \frac{1}{2}} \right) + {\mathrm{\Delta }}_{\alpha} } \hfill \\ {} \hfill & {} \hfill & { +\, u_{\alpha} ^ - (\sigma _{\alpha} ^ + c_{\alpha} + \sigma _{\alpha} ^ - c_{\alpha} ^\dagger ) + u_{\alpha} ^ + (\sigma _{\alpha} ^ + c_{\alpha} ^\dagger + \sigma _{\alpha} ^ - c_{\alpha} ),} \hfill \end{array}$$

where \(u_{\alpha} ^ \pm = \varphi [\alpha \omega _{\alpha} \mp (1 - \alpha )\omega _{\mathrm{m}}]/\sqrt {2\omega _{\alpha} L}\) and Δα = \(\epsilon_0\) + α2φ2/2L, in which \(\varphi = \left\langle {\epsilon _1^{\alpha} } \right|\phi \left| {\epsilon _0^{\alpha} } \right\rangle = \varphi ^ \ast\) and \(\epsilon_0\) denotes the ground energy of \(H_{\mathrm{m}}^{\alpha}\). The two-level system parameters ωm, φ and \(\epsilon_0\) depend implicitly on Ec, EJ, El and ϕext. The renormalised cavity frequency is \(\omega _{\alpha} = \omega \sqrt {1 + 2E_{\mathrm{c}}(1 - \alpha )^2C/e^2}\). Away from the maximal frustration point, the flux ϕ possesses diagonal matrix elements in the basis \(\left\{ {\left| {\epsilon _0^{\alpha} } \right\rangle ,\,\left| {\epsilon _1^{\alpha} } \right\rangle } \right\}\), such that \(\sigma _{\alpha} ^ + \sigma _{\alpha} ^ -\) and \(\sigma _{\alpha} ^ - \sigma _{\alpha} ^ +\) are also linearly coupled to the mode operators \(c_{\alpha} , c_{\alpha} ^\dagger\). In analogy to the cavity QED case, the charge and flux gauges yield distinct Rabi Hamiltonians, but there also exists a value α = αJC = ωm/(ωm + ωJC) such that \(u_{\alpha} ^ + \equiv 0\), which casts the Hamiltonian in JC form.

The ratio δ = ω/ωm in which ωm is taken as the qubit transition at maximal frustration ϕext = π2e, specifies the relative qubit–oscillator detuning. To quantify the relative coupling strength, we use the ratio η = g/ω where \(g = \varphi \sqrt {\omega /2L}\). The parameters g and ω are the coupling strength and cavity frequency of the flux-gauge QRM, but we note that the corresponding parameters associated with any other two-level model could also be used. For different α, the α-dependent two-level truncation yields different predicted behaviour of physical observables as functions of the model parameters δ, η and ϕext. In contrast, the exact predictions resulting from the non-truncated model are α-independent (gauge-invariant).

We begin by determining how the ground energy G and first excited energy E vary with the detuning δ at maximal frustration ϕext = π2e and fixed coupling η = 1 (Fig. 2). Regimes with large δ are presently more experimentally relevant11,13,14, yet, unless δ is relatively small (δ < 1), we find that all two-level models become inaccurate in predicting eigenvalues \(E_{n} \, > \, E\) of the non-truncated Hamiltonian. This can be traced to the occurence of resonances in energy shifts, which occur for large δ (see Supplementary Note 4). Indeed, deviations from the predictions of the QRM have been observed experimentally for such En within the ultrastrong-coupling regime14.

Fig. 2
figure 2

Lowest energy levels as functions of detuning. a El = 0.33 μeV, EJ = 10El = Ec, ϕext = π/2e and η = 1. The ground energy is plotted with δ for the flux-gauge and charge-gauge QRMs, for the JC-gauge two-level model and for the exact model. b Same as (a) for the charge and flux-gauge JCMs obtained as RWAs of the corresponding QRMs. c Same as (a) for the first excited energy. d Same as (c) for the charge and flux-gauge JCMs

We focus primarily on the experimentally relevant large δ regime by choosing δ = 5. Other detunings may also be considered and various results for the cases δ = 1 (resonance) and δ = 1/5 are presented in Supplementary Note 5. In Fig. 3a, b, we compare the ground and first excited energies found using various two-level models with the corresponding gauge-invariant energies of the exact theory. The ground and excited-level shifts are obtained by subtracting the corresponding (bare) eigenenergies of the non-interacting system. At maximal frustration, the shift of the ground state can be identified as the Bloch–Siegert shift4. The first transition shift is the difference between the ground and excited shifts, and is commonly termed the Lamb shift by analogy with atomic hydrogen14. In the RWA, the coupling-dependent zero-point contribution ωα/2 + Δα in Eq. (6) gives the ground energy. For α ≠ \({\alpha}_{\mathrm {JC}}\), this results in an incorrect expression for the Lamb shift even for weak coupling36,54 (see also Supplementary Note 2). It is therefore unsurprising that the flux and charge-gauge JCMs are inaccurate in predicting the associated dressed energies within the ultrastrong-coupling regime, as illustrated in Fig. 3a, b. In contrast, for the two-level model of the JC gauge (α = \({\alpha}_{\mathrm{JC}}\)), the RWA is no longer an approximation. The ground energy \(\omega_{\mathrm{JC}}\)/2 + \(\Delta_{\mathrm{JC}}\), is different from the results of the RWA applied in the α = 0 and α = 1 gauges, and it does lead to the expected expression for the Lamb shift within the weak-coupling regime36 (see Supplementary Note 2). Thus, even though the Hamiltonian has Jaynes–Cummings form, it is not evident that like the charge and flux-gauge JCMs, the JC-gauge two-level model will necessarily be inaccurate in predicting dressed energies within the ultrastrong-coupling regime. Indeed, Fig. 3a, b shows that the JC-gauge two-level model is not only more accurate than the flux and charge-gauge JCMs, it is also more accurate than the flux and charge-gauge QRMs.

Fig. 3
figure 3

Lowest energies and eigenstate fidelities as functions of coupling strength. In all plots, El = 0.33 μeV, EJ = 10El = Ec, δ = 5 and ϕext = π/2e. a The ground energy is plotted with η for the flux-gauge and charge-gauge QRMs, for the JC-gauge two-level model, for the exact model and for the charge-gauge JCM obtained via the RWA. The flux-gauge JCM is extremely inaccurate in this regime and is not shown. b The ground-state fidelity \(F_G^{\alpha}\) is plotted with η for the flux-gauge α = 1 and charge-gauge α = 0 QRMs, for the JC gauge and for the charge-gauge JCM (c-JCM) that is obtained as the RWA of the corresponding Rabi model. c Same as (a) for the first excited energy. d Same as (b) for the first excited state. For the excited state, the RWA remains valid in the charge gauge

To determine which two-level model yields the most accurate lowest energy eigenstates, we compute the ground- and first excited-state fidelities \(F_G^{\alpha} = \left| {\left\langle {G_2^{\alpha} {\big|}G} \right\rangle } \right|^2\) and \(F_E^{\alpha} = \left| {\left\langle {E_2^{\alpha} {\big|}E} \right\rangle } \right|^2\), where \(|G \rangle \,{\mathrm{and}}\, |E \rangle\) are the exact ground and first excited eigenstates of the non-truncated Hamiltonian H, while \(\left| {G_2^{\alpha} } \right\rangle\) and \(\left| {E_2^{\alpha} } \right\rangle\) are the corresponding eigenstates of \(H_2^{\alpha}\). Figure 3c, d shows that the JC-gauge model is more accurate than both QRMs, and much more accurate than conventional JCMs, especially in the case of the ground state. Since the JC-gauge two-level model tends to produce a more accurate representation of the lowest two energy states of the system, it is natural to suppose that it will generally be more accurate than the QRM in predicting observable averages in these states. This is verified for the cases of ground-state photon number averages in Supplementary Note 6.

To link with recent experiments in which circuit properties are measured for varying external flux ϕext, Fig. 4 shows the behaviour with ϕext of the lowest dressed energies when η = 1/2. The JC-gauge again yields the most accurate two-level model (Fig. 4a, b) despite the clear breakdown of the RWA (Fig. 4c, d). It follows that Jaynes–Cummings physics is not synonymous with the RWA, and that a departure from Jaynes–Cummings physics is not implied within the ultrastrong-coupling regime. For larger η, two-level models become increasingly inaccurate, though the JC gauge continues to give the best agreement with exact energies even within the deep–strong coupling regime (see Supplementary Note 5).

Fig. 4
figure 4

Lowest energies as functions of external flux. In all plots, El = 0.33 μeV, EJ = 10El = Ec, δ = 5 and η = 0.5. a The ground energy G is plotted with ϕext for the flux-gauge and charge-gauge QRMs, for the JC-gauge two-level model and for the exact model. b For the same range as (a) the ground energy is plotted for the flux-gauge and charge-gauge JCMs that are obtained as RWAs of the corresponding Rabi models, and for the exact model. c Same as (a) for the first transition energy E − G. The inset shows the corresponding first excited energy E. The JC gauge is generally the most accurate two-level model, but because the charge-gauge QRM overestimates both the ground and excited energy, it becomes relatively accurate in the transition E − G for fluxes away from the maximal frustration point. d Same as (b) for the first transition energy. The inset shows the corresponding excited energies over the same range as the inset in (c). We see that especially in the case of the charge gauge, the JCM is inaccurate for the ground and excited energies, but it is by comparison more accurate for the transition


The behaviour shown in Figs. 24 can be understood by deriving an effective Hamiltonian valid sufficiently far from resonance (dispersive regime)55, details of which are given in Supplementary Note 4. In this context, let us first consider the flux gauge, wherein the light and matter systems are coupled through the material position operator ϕ. The matrix elements of this operator between material states \(\left| {\epsilon _n^1} \right\rangle\) are largest between adjacent levels n, n ± 141 (see Supplementary Note 4). Thus, provided higher material levels are sufficiently separated from the lowest two, the coupling to them can be neglected, unless the light–matter coupling η is very large, or δ is large enough that several material energies lie within the first oscillator band ω. For such large δ, contributions of energy denominators in the effective Hamiltonian become large due to the occurence of resonances \(\epsilon _{ni}\sim \omega\), \(\epsilon_{ni} = \epsilon_{n}\, −\, \epsilon_{i}\), i = 0, 1, n > 1 (see Supplementary Note 4). The flux-gauge QRM is therefore qualitatively accurate if δ and η are sufficiently small. This includes accurately predicting higher system energy levels En > E as well as the first two levels G and E41 (see Supplementary Note 5).

In the charge gauge, the light–matter coupling occurs via the material canonical momentum ξ0, for which matrix elements involving higher levels are not suppressed (see Supplementary Note 4). Independent of δ, when the coupling is sufficiently large, they cannot generally be neglected even for highly anharmonic material spectra, so the charge-gauge QRM generally breaks down41. However, the ratio of the flux-gauge QRM-coupling strength g and the coupling strength \(\tilde g_0\) of the charge-gauge QRM, increases as δ increases (see Supplementary Note 4). For large enough δ, the charge-gauge coupling is significantly weaker than that of the flux gauge to the extent that for sufficiently large δ and provided η does not become too large, the charge-gauge QRM is qualitatively accurate for the ground level G, and occasionally for the first level E (Figs. 24).

In the general α-gauge, all flux-gauge coupling terms are weighted by α and all charge-gauge coupling terms by 1 − α. By tuning α, the α-gauge two-level model smoothly interpolates between the two available QRMs. In particular, the \({\alpha}_{\mathrm{JC}}\)-gauge JCM is defined such that the counter-rotating terms that give the dominant contribution to deviations between the exact and two-level model ground states are eliminated (see Supplementary Note 4). This allows us to understand why the \({\alpha}_{\mathrm{JC}}\)-gauge JCM accurately represents the ground state across all parameter regimes. As δ and η increase, the \({\alpha}_{\mathrm{JC}}\) gauge becomes predominantly charge-like (see Supplementary Note 4) and like the charge-gauge QRM becomes inaccurate for predicting levels En > E.

Quite generally, two-level models remain most accurate in predicting the first two system levels G and E. For the lowest such levels of certain circuit QED systems, spectroscopic experimental data have been matched to the predictions of the QRM defined by the Hamiltonian \(h = - ({\mathrm{\Delta }}\sigma ^z + \epsilon \sigma ^x)/2 + \omega a^\dagger a + g\prime \sigma ^x(a + a^\dagger )\), where Δ and \(\epsilon\) are tunnelling and bias parameters, respectively, and g′ denotes the coupling strength11,13,14. In Ref. 13 for example, the parameters Δ, g′ and ω are treated as constant fitting parameters, while \(\epsilon\) is externally variable. It is important to note, however, that fitting transitions between eigenenergies of h to experimental data does not preclude the possibility of fitting other models to experimental data.

It is possible to rotate the flux-gauge QRM \(H_2^1\) into the form of h, but upon doing so, each of Δ, \(\epsilon\) and g′ are found to be nontrivial functions of ϕext. In particular, for the fluxonium-LC system we consider, g′ and Δ do not remain constant while varying \(\epsilon\) by varying ϕext. Moreover, the α-gauge two-level model cannot be uniquely specified in terms of the parameters of h. Whenever ϕext ≠ π/2e, these properties obstruct meaningful comparison between our results and experimental results of the kind found for example in Ref. 13.

More relevant experimental results for the system we consider are given in Ref. 2, where spectroscopic data were found to agree well with the non-truncated fluxonium-LC Hamiltonian H of Eq. (13). There, the fluxonium energies Ec, El and EJ were treated as fitting parameters. Our results show that using such a fitting procedure, the JC-gauge two-level model would offer better agreement with experimental data than the QRM, at least for the lowest two levels G and E. This occurs over the full range of δ shown in Fig. 2 with only a few exceptions in the case of the excited state E when δ is small (see Supplementary Note 5).

The results presented here open up multiple avenues for further investigation. For example, our more general form of two-level model in which the gauge is left open is capable (albeit fortuitously) of exactly predicting a given energy value, but it remains to be understood in more detail. A comprehensive comparison of different methods for deriving two-level model descriptions is also yet to be performed.

An investigation of the implications of the arbitrary-gauge formalism for the occurence of phase transitions in multi-dipole systems constitutes further important work. The dependence on arbitrary-gauge parameters of weaker truncations such as three-level atomic models remains to be investigated as does the generalisation to multimode situations for structured photonic environments. We note that issues with the single-mode approximation have been recognised and discussed elsewhere5,43, but that this approximation does not result in a breakdown of gauge invariance and does not therefore affect the results reported here. Within exact (non-truncated) models determining the dependence on the gauge parameter of light–matter entanglement, as well as averages of local light and matter observables such as photon number, is of experimental relevance and is important for applications. This too will be investigated in further work.


Lagrangians in different gauges

The Coulomb-gauge Lagrangian is denoted L0 and is given in Supplementary Note 1. More generally, the α-gauge Lagrangian yielding the same correct equations of motion as L0 is Lα = L0 − α/dt, where the function χα is defined as

$$\chi _{\alpha} (t) = \alpha {\int} d^3x{\mathbf{A}} \cdot {\mathbf{P}}_{{\mathrm {mult}}},$$
$$P_{{\mathrm{mult}},i}({\mathbf{x}}) = - e{\int}_{\!\!\!0}^{1} d\lambda r_j\delta _{ij}^{\mathrm{T}}(\mathbf{x} - \lambda {\mathbf{r}}).$$

Here, Pmult denotes the usual multipolar transverse polarisation field. Latin indices denote spatial components and repeated indices are summed. This χα is the generator of the unitary Power–Zienau–Woolley transformation, multiplied by α. The α-dependence of the Lagrangian can be understood as the underlying cause of the α-dependence of the canonical momenta \({\mathbf{p}}_{\alpha} = \partial L_{\alpha} /\partial \dot{\mathbf{r}}\) and \({{{\Pi}}}_{\alpha} = \delta L_{\alpha} /\delta \dot{\mathbf{A}}\).

Derivation of cavity QED two-level model Hamiltonian

Substituting Eqs. (1) and (2) into Eq. (3) yields the Hamiltonian written in terms of canonical operators \({\bf y}_{\alpha}\) as \(H = H_{\mathrm{m}}^{\alpha} + H_{\mathrm{c}}^{\alpha} + V^{\alpha}\) where

$$H_{\mathrm{m}}^{\alpha} = \frac{{{\mathbf{p}}_{\alpha} ^2}}{{2m}} + V({\mathbf{r}}),$$
$$H_{\mathrm{c}}^{\alpha} = \frac{v}{2}\left( {{\mathbf{{\Pi}}}_{\alpha} ^2 + \omega ^2{\mathbf{A}}^2} \right),$$
$$\begin{array}{*{20}{l}} {V^{\alpha} } \hfill & = \hfill & {\frac{e}{m}(1 - \alpha ){\mathbf{p}}_{\alpha} \cdot {\mathbf{A}} + \alpha \widehat {\mathbf{d}} \cdot {{{\Pi}}}_{\alpha} } \hfill \\ {} \hfill & {} \hfill & { +\; \frac{{e^2}}{{2m}}(1 - \alpha )^2{\mathbf{A}}^2 + \frac{\alpha ^2}{2v}(\mathbf{\varepsilon} \cdot \widehat {\mathbf{d}})^2.} \hfill \end{array}$$

The Hamiltonian has a hybrid form between the Coulomb and multipolar gauges. Coulomb-gauge coupling terms are weighted by 1 − α while multipolar-gauge coupling terms are weighted by α. The interaction includes the quadratic “A2” and “\(\widehat {\mathbf{d}}^2\)” self-energy terms in addition to the linear coupling terms “pαA” and “\(\widehat {\mathbf{d}} \cdot {{{\Pi}}}_{\alpha}\)”. This approach is easily adapted to describe multimode fields and more than one dipole36.

The first two eigenstates of the material bare energy \(H_{\mathrm{m}}^{\alpha}\) are denoted \(\left| {\epsilon _0^{\alpha} } \right\rangle\) and \(\left| {\epsilon _1^{\alpha} } \right\rangle\), and the projection onto this subspace is \(P^{\alpha} = \left| {\epsilon _0^{\alpha} } \right\rangle \left\langle {\epsilon _0^{\alpha} } \right| + \left| {\epsilon _1^{\alpha} } \right\rangle \left\langle {\epsilon _1^{\alpha} } \right|\). The operator \(H_{\mathrm{m}}^{\alpha}\) admits the two-level truncation \(H_{{\mathrm{m}},2}^{\alpha} = P^{\alpha} H_{\mathrm{m}}^{\alpha} P^{\alpha} = \epsilon _0 + \omega _{\mathrm{m}}^{\alpha} \sigma _{\alpha} ^ + \sigma _{\alpha} ^ -\), where ωm = \(\epsilon_1\) − \(\epsilon_0\), \(\sigma _{\alpha} ^ + = \left| {\epsilon _1^{\alpha} } \right\rangle \left\langle {\epsilon _0^{\alpha} } \right|\) and \(\sigma _{\alpha} ^ - = \left| {\epsilon _0^{\alpha} } \right\rangle \left\langle {\epsilon _1^{\alpha} } \right|\). The eigenvalues \(\epsilon_0\) and \(\epsilon_1\) = ωm + \(\epsilon_0\) corresponding to \(\left| \epsilon _0^{\alpha}\right\rangle\) and \(\left| \epsilon _1^{\alpha} \right\rangle\), respectively, are α-independent because \(H_{\mathrm{m}}^{\alpha} = R_{\alpha \alpha\prime}H_{\mathrm{m}}^{\alpha\prime}R_{\alpha \alpha\prime}^{ - 1}\). In practice, two-level model Hamiltonians are found by first defining the interaction Hamiltonian as \(V_2^{\alpha} = V^{\alpha} (P^{\alpha} {\mathbf{y}}_{\alpha} P^{\alpha} )\) and then combining this interaction with the bare energies to obtain the total Hamiltonian

$$H_2^\alpha = P^\alpha H_{\mathrm{m}}^\alpha P^\alpha + H_{\mathrm{c}}^\alpha + V^\alpha (P^\alpha {\bf y}_\alpha P^\alpha ).$$

If the interaction Hamiltonian Vα is linear in r and \({\bf p}_{\alpha}\) then the two-level model Hamiltonian can also be written \(H_2^{\alpha} = P^{\alpha} HP^{\alpha}\). This is not the case for H in Eq. (11) due to the “\(\widehat {\mathbf{d}}^2\)” term, which demonstrates the availability of different methods for deriving truncated models. Here, we adopt the approach most frequently encountered in the literature, and outline other methods in Supplementary Note 2.

We can now define an arbitrary-gauge two-level model associated with the Hamiltonian H in Eq. (11) by using the definition (12). The projection Pα does not alter the “A2” and \(H_{\mathrm{c}}^{\alpha}\) terms of Eq. (11), because these terms depend on the cavity canonical operators only. Combining them gives the renormalised cavity energy \(H_{\mathrm{c}}^{\alpha} + e^2/2m(1 - \alpha )^2{\mathbf{A}}^2 = \omega _{\alpha} (c_{\alpha} ^\dagger c_{\alpha} + 1/2)\) with renormalised cavity frequency \(\omega _{\alpha} = \omega \sqrt {1 + e^2(1 - \alpha )^2/mv\omega ^2}\). The \(c_{\alpha} , c_{\alpha} ^\dagger\) are cavity ladder operators of the renormalised energy satisfying \([c_{\alpha} ,c_{\alpha} ^\dagger ] = 1\). In terms of these operators, the Hamiltonian \(H_2^{\alpha}\) defined by Eq. (12) is given by Eq. (5).

Method for comparing two-level model predictions

A comparison of the predictions that different two-level models yield for an arbitrary observable requires that we determine how a given physical state is represented within each two-level model. To this end, consider an observable A with the property that both the exact representation A and the two-level model representation \(A_2^{\alpha}\) possess non-degenerate discrete spectra. The eigenvalues an of A and \(a_{2,n}^{\alpha}\) of \(A_2^{\alpha}\) are in one-to-one correspondence such that the eigenstates \(\left|A_n\right\rangle\) and \(\left| {A_{2,n}^{\alpha} } \right\rangle\) can be assumed to represent the same physical state. An arbitrary physical state can then be constructed via linear combination; the physical state \(\left| \psi \right\rangle = \sum\nolimits_n \psi _n\left| {A_n} \right\rangle , \mathop {\sum}\nolimits_n \left|\psi _n\right|^2 = 1\) within the exact theory, is represented within the α-gauge two-level model by \(\left| {\psi _2^{\alpha} } \right\rangle = \mathop {\sum}\nolimits_n \psi _n\left| {A_{2,n}^{\alpha} } \right\rangle\). A natural choice of observable A for the purpose of representing states is the energy A = H, which we consider in Results.

The most accurate two-level model for the purpose of predicting the average \(\left\langle \psi \right| O \left|\psi\right\rangle\) of an arbitrary observable O, which may or may not equal A, is found by selecting the gauge α for which the difference between the exact and two-level model prediction, \(z^{\alpha} (O,\psi ) = \left| {\left\langle \psi \right|O\left| \psi \right\rangle - \left\langle {\psi _2^{\alpha} } \right|O_2^{\alpha} \left| {\psi _2^{\alpha} } \right\rangle } \right|\), is minimised. Since two-level models are indispensable practical tools within cavity and circuit QED, it is important to ascertain which two-level models yield the best approximations of physical averages that are of interest in applications. In Results, the energy is considered, both to represent states (A = H) and as the observable of interest (O = H). The averages \(\left\langle A_n\right| O \left|A_n\right\rangle\) are then nothing but the eigenvalues En of H.

As an example illustrating how the relative accuracies of two-level models can be determined, let us consider the quantities zα(O, G) where G denotes the ground state of a composite cavity-charge system. The charge is assumed to be confined in all directions except the direction ε of the cavity mode polarisation. In this direction, it oscillates harmonically with bare frequency ωm. In the gauge specified by choosing α = ωm/(ωm + ω), the matter oscillator can be described by ladder operators for which the interaction Hamiltonian takes number-conserving form37. The exact ground state G is then the vacuum state of these modes, and the projection \(P^{\mathrm{JC}}\) onto the first two material levels in this gauge defines a two-level JCM with ground state \(\left| {G_2^{{\mathrm{JC}}}} \right\rangle = P^{{\mathrm{JC}}}\left| G \right\rangle = \left| G \right\rangle\). It follows that zα(O, G) = 0 for all O with \(O_2^{\alpha} = P^{\alpha} OP^{\alpha}\). Thus, if the material system is a harmonic oscillator, it is possible to derive a JCM that is necessarily more accurate than any derivable QRM for finding ground-state averages.

Fluxonium-LC two-level model Hamiltonian

The derivation in Supplementary Note 3 yields the α-gauge fluxonium-LC Hamiltonian

$$\begin{array}{*{20}{l}} H \hfill & = \hfill & {\frac{{E_{\mathrm{c}}}}{{e^2}}[\xi _{\alpha} + (1 - \alpha )\zeta ]^2 + 2e^2E_{\mathrm{l}}\phi ^2} \hfill \\ {} \hfill & {} \hfill & { -\; E_{\mathrm{J}}{\mathrm{cos}}\left( {2e[\phi - \phi _{{\mathrm{ext}}}]} \right) + \frac{{\zeta ^2}}{{2C}} + \frac{1}{{2L}}[\theta _{\alpha} + \alpha \phi ]^2.} \hfill \end{array}$$

The fluxonium bare energy is defined as

$$H_{\mathrm{m}}^{\alpha} = \frac{{E_{\mathrm{c}}}}{{e^2}}\xi _{\alpha} ^2 + 2e^2E_{\mathrm{l}}\phi ^2 - E_{\mathrm{J}}{\mathrm{cos}}\left( {2e[\phi - \phi _{\mathrm{ext}}]} \right).$$

The projection onto the first two eigenstates of this operator is used along with H in Eq. (13) to define a two-level model Hamiltonian in precisely the same way as in the cavity QED case. The final result is given in Eq. (6).