Introduction

Versatile quantum simulation with bosonic systems requires a universal set of gates incorporating at least one, often experimentally demanding, nonlinear operation. One such gate set is composed of linear phase gates (alongside the Fourier transform) and at least one nonlinear phase gate, which together are central components of universal quantum information processing with continuous variables1,2. The lowest order nonlinear phase gate’s effect on the Wigner function is highly nontrivial, contrasting with the simple and analytically expressible transformation of the phase space operators associated with linear phase gates. Whereas linear phase gates merely displace and shear the Wigner function, even preserving Gaussianity, a nonlinear phase gate introduces complex oscillations, sub-Planck structures and negativity3. Such features appear as the outcome of quantum interference between the larger positive phase space structures associated with the classical approximation to the dynamics. This quantum interference, also associated with the nonlinear dynamics of fully continuous variable systems, creates Wigner functions fundamentally different from those generated by finite polynomials modulated by a Gaussian envelope such as Fock states or finite superpositions of them4, or the discrete and localised quantum interference of Gaussian states represented by the cat states5, compass states6 or even GKP states7. These states are typically inaccessible via unitary processes acting on localised (e.g. Gaussian) states. The quantum non-Gaussian states resulting from continuously nonlinear dynamics qualitatively show shallower interference fringes that are more broadly spread throughout phase space.

The classification of such states faces a further complication once non-pure states are involved. While pure states possess positive Gaussian Wigner functions, and are otherwise negative8,9, the classification breaks down for mixed states10,11. Instead, the set of Wigner positive states is found to be a proper superset of the convex hull of the Gaussian states, so that there are mixed non-Gaussian states with positive Wigner functions12. Therefore, understanding nonlinear gate operations on mixed states in terms of the Wigner function is essential. The method we describe below is independent of the purity of the initial state and thus facilitates investigations into such operations.

The prototypical nonlinear phase gate is the cubic phase gate, which comes with an associated set of cubic phase states resulting from its application to Gaussian states. It was recognised fairly early that the Wigner function of the cubic phase gate acting on the unphysical momentum eigenstate is in fact an Airy function of the canonical variables1. This continues to be the case when the unphysical momentum state is replaced by the physical harmonic oscillator ground state13 or even by an arbitrary Gaussian state14. However the cubic nonlinearity is unbounded from below, which provides another possible source of unphysicality15,16 or may provide resources inaccessible to lower-bounded Hamiltonians. In order to compensate for this the Hamiltonian must be bounded by a higher-order nonlinearity15,16. In this article we provide an analytic description of the effect of cubic or quartic phase gates acting on an arbitrary density operator in phase space in terms of Airy transforms of the Wigner function. This more general result allows universal gate sets for quantum computation to be in principle implemented fully analytically. Additionally, towards a deeper understanding of continuous nonlinear dynamics in the large mass regime (or, equivalently, in the short time regime), the combined effect of these gates allows examination of the quartic-bounded cubic phase gates and their critical comparison to unbounded cubic gates and tilted double-well gates. This opens a new road to investigate and simulate highly nonclassical phenomena through the Wigner function.

Results

Airy transforms of the Wigner function

The Wigner function in phase space is the best candidate to represent the nonclassical and quantum non-Gaussian aspects of states resulting from nonlinear dynamics in systems of bosonic continuous variables. Significantly, individual points of the Wigner function \(W(q,p)=\frac{1}{\pi \hslash }{\rm{Tr}}\left(D(q,p)\Pi {D}^{\dagger }(q,p)\rho \right)\), of the quantum state ρ, are directly measurable via interferometry via the parity operator \(\Pi =\int\,dx| -x\left.\right\rangle \left\langle \right.x| ={(-1)}^{{a}^{\dagger }a}\), where a is the bosonic annihilation operator17,18. The displacement \(D(q,p)={e}^{\frac{1}{\sqrt{2}\hslash }\left((q+ip){a}^{\dagger }-(q-ip)a\right)}\) scans over the phase space, similar to other interference experiments, to extract information on phase space superpositions. The Wigner function can be reformulated19 as the Fourier transform of the anti-diagonal of the density operator

$$W(q,p)=\frac{1}{\pi \hslash }\int\,{e}^{\frac{2ipt}{\hslash }}\langle q-t| \rho | q+t\rangle \,dt\,,$$
(1)

expressed in the coordinate basis corresponding to \(\hat{q}\)20. Note that this defines a convention for the Fourier transform, which will be adopted later in the discussion of Airy transforms. It follows that the inverse transform produces the anti-diagonal as a function of t from the Wigner function, that is

$$\langle q-t| \rho | q+t\rangle =\int\,{e}^{-\frac{2ipt}{\hslash }}W(q,p)\,dp$$
(2)

As is well known, the Wigner function forms a quasi-probability distribution for the phase space variables q and p, corresponding to the canonical operators satisfying the commutation relation \([\hat{q},\hat{p}]=i\hslash\).

Unitary transformations of ρ, whether representing dynamics or quantum gates, can then be interpreted directly as transformations of the Wigner function. Unitary transformations that are bilinear in the operators q and p, called Gaussian unitaries, correspond to linear symplectic maps \({\mathcal{S}}\) of the phase space variables for the Wigner function21. The Wigner function is transformed by the applying the corresponding symplectic matrix S to these variables. Collecting the phase space variables into a vector \({\bf{x}}=\left({q \atop p}\right)\), we write

$$W({\bf{x}})\to W(S{\bf{x}})\,.$$
(3)

In particular, the phase gates take the operator form \({U}_{n}={e}^{-i\frac{\gamma }{n\hslash }{\hat{q}}^{n}}\) and implement the following unitary transformations on the quadrature operators

$${U}_{n}{\hat{qU}}_{n}^{\dagger }=\hat{q}$$
(4)
$${U}_{n}{\hat{pU}}_{n}^{\dagger }=\hat{p}+\gamma {\hat{q}}^{n-1}\equiv {{\mathcal{S}}}_{n}(\hat{p})\,.$$
(5)

Note that for later notational simplicity the ordering of the unitary operators is reversed compared to normal time evolution. By applying these phase gates directly to ρ in Eq. (1) the Wigner function is transformed into

$$W(q,p)=\frac{1}{\pi \hslash }\int\,{e}^{\frac{2ipt}{\hslash }}\left\langle q-t| {U}_{n}\rho {U}_{n}^{\dagger }| q+t\right\rangle \,dt$$
(6)
$$=\frac{1}{\pi \hslash }\int\,{e}^{\frac{2ipt}{\hslash }}{e}^{-i\frac{\gamma }{n\hslash }\left({(q-t)}^{n}-{(q+t)}^{n}\right)}\left\langle q-t| \rho | q+t\right\rangle \,dt\,.$$
(7)

This amounts to the addition of an extra phase term in the Wigner function integral. For n = 1, 2 the new exponential term is linear in t, and this amounts to a relabelling pp + γqn−1, corresponding to the symplectic map \({{\mathcal{S}}}_{n}\). Then the integral is still interpreted as a Wigner function, with a linear transformation \({{\mathcal{S}}}_{n}(p)\) of the momentum variable with respect to the original. That is, \(W(q,p)\mathop{\to }\limits^{{U}_{n}}W(q,{{\mathcal{S}}}_{n}(p))\) for n = 1, 2. However, for nonlinear phase gates (n > 2) the transformation of the Wigner function does not correspond to the nonlinear transformation \({{\mathcal{S}}}_{n}(p)\) for the phase space variables of the Wigner function. Furthermore attempting to apply the transformation in this way does not recover the Liouvillian density in the classical limit3.

To illustrate this difference concretely, consider the case n = 3 where an extra exponential term appears which is not linear in the integration variable t. That is,

$$\begin{array}{l}W(q,p)\mathop{\to }\limits^{{U}_{3}}\dfrac{1}{\pi \hslash }\displaystyle\int\,{e}^{i\frac{2\gamma }{3\hslash }{t}^{3}}{e}^{\frac{2i(p+\gamma {q}^{2})t}{\hslash }}\langle q-t| \rho | q+t\rangle \,dt\ne W(q,{{\mathcal{S}}}_{3}(p))\,.\end{array}$$
(8)

The extra phase \({e}^{i\frac{2\gamma }{3\hslash }{t}^{3}}\) prevents the interpretation of the integral as a Wigner function with a simple transformation of the phase space variables, unlike the case of Gaussian unitaries. Remarkably even in the case n = 4 the extra exponential term involves only the cube of the integration variable.

Indeed, for both n = 3, 4 it is possible to interpret this integral as the Airy transform of the original Wigner function, along with the nonlinear transformation of the momentum variable \({{\mathcal{S}}}_{n}(p)\). Let us first introduce the Airy transform.

The Airy transform22,23 is defined as the convolution product of a function f(x) with the family of Airy functions \(\,\text{Ai}\,(x;\alpha )=\frac{1}{2\pi | \alpha | }\int\,{e}^{i(\frac{{z}^{3}}{3}+\frac{xz}{\alpha })}dz\). For our purpose it is useful to let \(\alpha \to \frac{\hslash }{2}\alpha\) so that \(\,\text{Ai}\,(x;\alpha )=\frac{1}{\pi \hslash | \alpha | }\,\int\,{e}^{i(\frac{{z}^{3}}{3}+\frac{2xz}{\hslash \alpha })}dz\) and we may write the convolution product explicitly as

$${{\mathcal{A}}}_{\alpha }[f](x)=f* \,{\text{Ai}}\,(x;\alpha )$$
(9)
$$=\frac{1}{\pi \hslash | \alpha | }\int\int\,{e}^{i\left(\frac{{z}^{3}}{3}+\frac{2(x-\tau )z}{\hslash \alpha }\right)}f(\tau )dzd\tau$$
(10)
$$=\frac{1}{\pi \hslash | \alpha | }\int\,{e}^{i\left(\frac{{z}^{3}}{3}+\frac{2xz}{\hslash \alpha }\right)}\hat{f}\left(\frac{z}{\alpha }\right)dz\,,$$
(11)

where \(\hat{f}\) is the inverse Fourier transform of f using the aforementioned Wigner function convention.

We now return to the effect of the nonlinear phase gates U3 and U4 in phase space [see Eq. (6)]. It will be useful for what follows to make the substitution \(t=\frac{z}{\alpha }\) with \(\alpha \ne 0\in {\mathbb{R}}\), where we now write explicitly

$$\begin{array}{l}W(q,p)\mathop{\to }\limits^{{U}_{3}}\dfrac{1}{\pi \hslash | \alpha | }\displaystyle\int\,{e}^{\frac{2i{{\mathcal{S}}}_{3}(p)z}{\alpha \hslash }}{e}^{i\frac{2\gamma }{3{\alpha }^{3}\hslash }{z}^{3}}\left\langle q-\frac{z}{\alpha }| \rho | q+\frac{z}{\alpha }\right\rangle \,dz\\ W(q,p)\mathop{\to }\limits^{{U}_{4}}\dfrac{1}{\pi \hslash | \alpha | }\displaystyle\int\,{e}^{\frac{2i{{\mathcal{S}}}_{4}(p)z}{\alpha \hslash }}{e}^{i\frac{2\gamma q}{{\alpha }^{3}\hslash }{z}^{3}}\left\langle q-\frac{z}{\alpha }| \rho | q+\frac{z}{\alpha }\right\rangle \,dz\,,\end{array}$$
(12)

and we have used the symplectic map \({{\mathcal{S}}}_{n}\) notation introduced earlier. Note that if α < 0 then the integration limits swap in the sense \(\mathop{\int}\nolimits_{-\infty }^{\infty }\to \mathop{\int}\nolimits_{\infty }^{-\infty }\). To return to the standard order a minus sign is factored out, resulting in the absolute value α.

To interpret these transformations as Airy transforms, consider the Airy transform of the Wigner function W(q, p) with respect to \({{\mathcal{S}}}_{n}(p)\). We may write this as

$${{\mathcal{A}}}_{\alpha }[W]({{\mathcal{S}}}_{n}(p))=\int\,{e}^{i\left(\frac{{z}^{3}}{3}+\frac{2{{\mathcal{S}}}_{n}(p)z}{\hslash \alpha }\right)}\int\,{e}^{-i\frac{2\tau z}{\hslash \alpha }}W(q,\tau )\frac{dzd\tau }{\pi \hslash | \alpha | }$$
(13)
$$=\frac{1}{\pi \hslash | \alpha | }\int\,{e}^{i\left(\frac{{z}^{3}}{3}+\frac{2{{\mathcal{S}}}_{n}(p)z}{\hslash \alpha }\right)}\left\langle q+\frac{z}{\alpha }| \rho | q-\frac{z}{\alpha }\right\rangle dz\,,$$
(14)

where we have used the inverse Fourier transform to retrieve the anti-diagonal of the density operator from the Wigner function. It is immediate that an appropriate choice of α in the Wigner functions of Eqs. (12) results in identity with the Airy transform. Explicitly, we have \(\alpha ={\left(\frac{2\gamma }{\hslash }\right)}^{\frac{1}{3}}\) for n = 3 and \(\alpha ={\left(\frac{2\cdot 3q\gamma }{\hslash }\right)}^{\frac{1}{3}}\) for n = 4. That is, if ρ is a density operator and W(q, p) its corresponding Wigner function then the transformation of the density operator \(\rho \to {U}_{n}\rho {U}_{n}^{\dagger }\), n = 3, 4, corresponds to an Airy transform of W(q, p) with respect to p in the form

$$W(q,p)\to {{\mathcal{A}}}_{\frac{\hslash }{2}\alpha }[W]\left({{\mathcal{S}}}_{n}(p)\right)\,,$$
(15)

where we have written the Airy transform such that standard transform pairs can be immediately used23. This shows that the action of cubic and quartic phase gates can be explicitly calculated in phase space. In the case that an impure ρ is explicitly decomposed into a convex mixture of states, the linearity of the Wigner function still allows for the direct calculation of the effect of the cubic and quartic phase gates. For comparison with direct integration of the Wigner function see Appendix II. Note that for n > 4 the nonlinear phase gate exits the Airy form. This can be seen by considering the case n = 5. The new exponential terms in the Wigner integral (c.f. Eq. (8)) can then be expressed as

$${e}^{\frac{2i}{\hslash }\frac{\gamma {t}^{5}}{5}}{e}^{\frac{2i}{\hslash }2\gamma {q}^{2}{t}^{3}}{e}^{\frac{2it}{\hslash }{{\mathcal{S}}}_{4}(p)}\,.$$
(16)

The rightmost term is linear in the integration variable t and corresponds to a transformation of the phase space variables. The middle term, cubic in t, is an extra phase that prevents interpretation as a Wigner function, but that may be interpreted as an Airy transform, as for the cubic and quartic phase gates. However the leftmost term contains t5 which prevents any interpretation as an Airy transform. Despite this difficulty, many higher order operations can be decomposed into a universal gate set containing either cubic or quartic gates, each member of which corresponds either to the Airy transforms we have described or the well-known symplectic transformations associated with Gaussian operations24. Therefore the Wigner functions resulting from higher order operations can still be obtained, given that both the Airy transform exists and the decomposition into the cubic or quartic gates can be found.

The Wigner functions after the application of the nonlinear phase gates for some specific initial states now follow directly from standard Airy transforms23. Firstly, if the initial state is the ideal momentum eigenstate, then we have the Wigner function W(q, p) = δ(p). Using \({{\mathcal{A}}}_{\alpha }[\delta ](x)=\,\text{Ai}\,\left(x;\alpha \right)\) the Wigner function after the nonlinear phase gate is

$$W(q,p)=\,{\text{Ai}}\,\left({{\mathcal{S}}}_{n}(p);\alpha \right)\,,$$
(17)

which compares favourably with a direct calculation when α is selected as detailed above. The Airy transform of the Gaussian function \(f(x)=\frac{1}{\sqrt{2\pi }\sigma }{e}^{-\frac{{(x-\mu )}^{2}}{2{\sigma }^{2}}}\) is

$${{\mathcal{A}}}_{\alpha }[f](x)=\frac{1}{| \alpha | }{e}^{\frac{2{\sigma }^{2}}{4{\alpha }^{2}}\left(\frac{x+\mu }{\alpha }+\frac{{\sigma }^{4}}{6{\alpha }^{4}}\right)}\,\text{Ai}\,\left(\frac{x+\mu }{\alpha }+\frac{1}{4}{\left(\frac{\sigma }{\alpha }\right)}^{4}\right)\,.$$
(18)

That is, the Wigner function of any initial Gaussian state must be transformed by the cubic or quartic gates into an Airy function of the phase space variables. A full decomposition of any pure or mixed Gaussian state in terms of the mean values and covariance matrix elements is given in the methods section below (see also ref. 14).

Observation: It follows directly from the analytical form of the post-gate Gaussian states that the cubic or quartic phase gates produce negativity in the Wigner function regardless of the impurity of the initial Gaussian state, even if the negative volume is vanishingly small. This can be seen from the fact that the factors multiplying the Airy function are always positive, whereas the Airy function itself must always be negative at some point. This analytical result is striking as such extraordinary robustness is difficult to see numerically because negative values become close to zero quickly (see Appendix I), exemplifying the power of the analytical method. Note the contrast with the semiclassical squeezing effect of the Gaussian quadratic phase gate, which vanishes for some thermal distribution.

We now turn to the nonlinear phase gate acting on a multimode state. Suppose that we have an N-mode state ϱ and we wish to evaluate the action of Un on mode i. The Wigner function is expressed as

$$W({\bf{q}},{\bf{p}})={\int}_{{{\mathbb{R}}}^{N}}\frac{{e}^{\frac{2i}{\hslash }{\bf{p}}\cdot {\bf{t}}}}{{(\pi \hslash )}^{N}}{e}^{-i\frac{\gamma }{\hslash n}({({q}_{i}-{t}_{i})}^{n}-{({q}_{i}+{t}_{i})}^{n})}\left\langle {\bf{q}}-{\bf{t}}| \varrho | {\bf{q}}+{\bf{t}}\right\rangle d{\bf{t}}$$
(19)

where we have upgraded the phase space quantities to vectors in \({{\mathbb{R}}}^{N}\). For \({\bf{v}}\in {{\mathbb{R}}}^{N}\) let \({{\bf{v}}}^{i}\equiv {\bf{v}}\setminus \{{v}_{i}\}\in {{\mathbb{R}}}^{N-1}\). Then we may write

$$\begin{array}{l}W({\bf{q}},{\bf{p}})=\dfrac{1}{\pi \hslash }\displaystyle \int\,{e}^{\frac{2i}{\hslash }{p}_{i}{t}_{i}}{e}^{-i\frac{\gamma }{\hslash n}({({q}_{i}-{t}_{i})}^{n}-{({q}_{i}+{t}_{i})}^{n})} \left(\frac{1}{{(\pi \hslash )}^{N-1}}{\int_{{{\mathbb{R}}}^{N-1}}}{e}^{\frac{2i}{\hslash }{{\bf{p}}}^{i}\cdot {{\bf{t}}}^{i}}\left\langle {\bf{q}}-{\bf{t}}| \varrho | {\bf{q}}+{\bf{t}}\right\rangle d{{\bf{t}}}^{i}\right)d{t}_{i}\end{array}$$
(20)
$$={{\mathcal{A}}}_{\alpha }[W]({{\mathcal{S}}}_{n}({p}_{i}))\,,$$
(21)

where α must be chosen appropriately. That is, the action of the nonlinear phase gate corresponds to an Airy transform of the multimode Wigner function with respect to the target momentum variable. The only explicit example we know of is the cubic-phase entangled (CPE) state25, which we recalculate in Appendix IV using this method. Decomposition of the quartic phase gate U4 (involving an ancilla mode, and therefore requiring multimode analysis) and the continuous variable Toffoli gate \({e}^{i\frac{\gamma }{\hslash }{\hat{q}}_{1}{\hat{q}}_{2}{\hat{q}}_{3}}\) may be given in terms of a universal gate set involving the cubic phase gate, as well as many others24.

The universal gate set for continuous variable quantum computation can in principle now be implemented entirely in phase space, with the linear phase gates and the Fourier transform corresponding to linear symplectic transformations of the phase space variables and the cubic or quartic phase gates corresponding to Airy transforms of the Wigner function with respect to the nonlinear symplectic transformation of the phase space variables. We also note the connection that linear transformations can be implemented via convolution of the Wigner function with a Gaussian function, whereas for cubic and quartic phase gates the correct transformation is achieved via convolution with an Airy function.

Application: quartic-bounded cubic gates

Since the cubic and quartic phase gates commute it is possible to repeat this calculation for their combination, and find the transformation in phase space corresponding to the physical, lower-bounded, unitary transformation \({U}_{3,4}={e}^{-\frac{i}{\hslash }\left(\frac{{\gamma }_{3}}{3\hslash }{\hat{q}}^{3}+\frac{{\gamma }_{4}}{4\hslash }{\hat{q}}^{4}\right)}\), representing a realistic unitary cubic gate. In this case, we find that the Wigner function, in the form congruent with Eqs. (12), may be written

$$\begin{array}{lll}W(q,p)&\mathop{\to }\limits^{{U}_{3,4}}&\dfrac{1}{\pi \hslash | \alpha | }\displaystyle\int\,{e}^{\frac{2i{{\mathcal{S}}}_{3,4}(p)z}{\alpha \hslash }}{e}^{\frac{2i}{{\alpha }^{3}\hslash }\left(\frac{{\gamma }_{3}}{3}+{\gamma }_{4}q\right){z}^{3}} \left\langle q+\frac{z}{\alpha }| \rho | q-\frac{z}{\alpha }\right\rangle dz\,,\end{array}$$
(22)

where we identify \({{\mathcal{S}}}_{3,4}(p)=p+{\gamma }_{3}{q}^{2}+{\gamma }_{4}{q}^{3}\) as the transformation of \(\hat{p}\) associated with U3,4. This is indeed another Airy transform with \(\alpha ={\left[\left(\frac{3\cdot 2}{\hslash }\right)\left(\frac{{\gamma }_{3}}{3}+{\gamma }_{4}q\right)\right]}^{\frac{1}{3}}\). For γ4γ3 we obtain a quartic-bounded cubic phase gate, which represents a transformation in a physical lower-bounded potential15,16. That is, the transformation for a quartic-bounded cubic phase gate, including any lower order imperfections, for any input Wigner function can be obtained.

In Fig. 1 we examine the effect of this quartic bounding on the creation of the cubic phase state. We show that the parabolic shape induced by the cubic semi-classical dynamics, as well as the quantum interference and negative regions are preserved, while the diverging negative momentum and position due to the cubic nonlinearity are suppressed by the quartic one. In contrast, a tilted double well (TDW) gate (with the same γ4) designed to mimic the quartic-bounded cubic gate fails to generate anything like these features. This can be observed directly by the nonlinear squeezing26, which shows that the quartic-bounded cubic gate is a good approximation to the cubic gate, while the TDW is far above the quantum non-Gaussianity threshold.

Fig. 1: Application of Airy transforms to analyse physical bounded nonlinear phase gates.
figure 1

The upper row shows the cubic phase gate U3 with γ3 = 2, and the quartic-bounded cubic phase gate U3,4 with γ3 = 2 and γ4 = 0.2. The bottom row shows the TDW gate generated by the unitary operator \({U}_{{\rm{TDW}}}=\exp [-\frac{i}{\hslash }(-18+15\hat{q}-\frac{7}{2}{\hat{q}}^{2}+\frac{0.2}{4}{\hat{q}}^{4})]\) with the same γ4, approximating the quartic bounded cubic potential. The effect of lower bounding the cubic gate is to limit the dynamics for negative position and momentum. The TDW is a poor substitute for the cubic phase gate at the level of phase space representation, also reflected in the nonlinear squeezing. All gates take the harmonic oscillator ground state as the initial state with = 1 and the insets are the equivalent cubic, quartic and tilted double well potentials V(q) forming the gates. For the nonlinear squeezing the black dashed line is the threshold for quantum non-Gaussianity, solid black is the harmonic oscillator ground state, blue (orange) is the (quartic-bounded) cubic phase state and green is the TDW state.

While the major features of the cubic phase state are preserved when using the quartic-bounded cubic gate, errors due to the bounding can accumulate. A fixed unbounded cubic phase gate can be reversed (using our universal gate set) by applying a second gate sandwiched between a double Fourier transform, effectively generating the inverse cubic phase gate by changing the sign of γ. However the bounding quartic term does not change sign, and thus accumulates. The most natural way to solve this is to engineer the more difficult inverted quartic potential which itself must be bounded by higher order potentials. These will themselves accumulate, defining the principal limit of such gates and simulations in phase space.

An illustrative example is provided by considering a gate decomposition with the cubic phase gate realistically bounded by a weak quartic potential. One of the simplest such gate decompositions24 is the multimode gate

$$\displaystyle{e}^{i\frac{\gamma }{3}{({q}_{j}+{q}_{k})}^{3}}=\displaystyle{F}_{j}{e}^{2i{q}_{j}{q}_{k}}{F}_{j}^{\dagger }{e}^{i\frac{{\gamma }_{3}}{3}{q}_{j}^{3}}{e}^{-2i{q}_{j}{q}_{k}}\,.$$
(23)

The bounding quartic term in the Airy transform introduces extra terms that depend on q through both the parameter α and the nonlinear transformation of p. Then, subsequent linear gates act nontrivially on these extra terms. We will use ideal states to suppress unwieldy calculations and demonstrate the principle. Concretely, applying this gate to a pair of zero-mean ideal momentum eigenstates produces the Wigner function

$$\begin{array}{rcl}{W}_{{\rm{C}}}=\,{\text{Ai}}\,\left({p}_{j}-{\gamma }_{3}{({q}_{j}+2{q}_{k})}^{2}+2{q}_{k};\alpha \right) \delta \left({p}_{k}+2(2{q}_{k}+{q}_{j}-{p}_{j})\right)\,.\end{array}$$
(24)

In evaluating the effect of the quartic bounded cubic phase gate we write αα(q) in order keep track of the nontrivial q variable added by the quartic term. This then produces the Wigner function

$$\begin{array}{rcl}{W}_{{\rm{QBC}}}&=&\,{\text{Ai}}\,\left({p}_{j}-{\gamma }_{3}{Q}_{jk}+{\gamma }_{4}{Q}_{jk}^{3}+2{q}_{k};\alpha ({Q}_{jk})\right)\\ &&\times \delta \left({p}_{k}+2({Q}_{jk}-{p}_{j})\right)\,,\end{array}$$
(25)

where Qjk = qj + 2qk.

Despite this, repeated application of the quartic bounded cubic gate results in Wigner functions that are dominated by cubic rather than quartic effects. The gate \({({U}_{3,4})}^{k}\) simply accumulates cubic and quartic terms, so that γ3,4kγ3,4. Figure 2 shows the progression from k = 1 to k = 3. Even though at each step the cubic potential is bounded from below by the quartic potential, the cubic effects are enhanced by repeated application with diverging negative momentum and position reasserting themselves as k increases.

Fig. 2: Application of Airy transform to analyse nonlinearity accumulation with physical bounded gates.
figure 2

Action of the quartic bound cubic gate \({({U}_{3,4})}^{k}\) (top) for k = 1, 2, 3 left to right. Iteration of the gate increases the cubic effects, as seen by the re-emergence of the suppressed negative position and momentum region. This occurs even though at all stages the system is bounded from below by the quartic gate. The pure cubic phase states (bottom) have diverging momentum for both positive and negative momentum symmetrically. Initial states and parameters are as in Fig. 1. The effective potentials corresponding to the applied gates are shown below the Wigner functions (left) where quartic-bounded cubic potentials are solid, cubic potentials are dashed. Increasing k (blue, orange, green) leads to quartic-bounded cubic potentials that more closely approximate the cubic potential around the inflection point. However the increasing significance of the quartic term more strongly attenuates the nonlinear squeezing in absolute value in comparison with a cubic phase state (bottom right).

Unbounded dynamics

We note that our methodology can also be used to probe fully unbounded nonlinear dynamics such as the inverted quartic potential in the large mass limit. In the case where γ3 = 2 (as before) and γ4 = −0.2 the divergence into negative momentum and position from the cubic potential is no longer constrained by the hardening wall of the quartic potential. Instead, since this region of the potential now softens faster than the region including the hardening wall of the cubic potential, this divergence returns and the divergence on hard cubic side is suppressed. The corresponding Wigner functions are shown in Fig. 3.

Fig. 3: Application of Airy transform to analyse a realistic cubic nonlinearity softening.
figure 3

The bare cubic gate compared with the cubic gate softened for q > 0 by a weak inverted quartic nonlinearity. The diverging negative position and momentum due to the cubic gate are present in both examples. The effect of a weak inverted quartic gate is to suppress the positive position and negative momentum. The divergence is then faster in the region where both cubic and quartic potentials go to negative infinity together. Initial states and parameters are as in Fig. 1 of the main text.

Discussion

We have presented a general method for evaluating the effect of nonlinear phase gates in phase space. We add that the effect of the cubic phase gate on the momentum probability distribution can be directly evaluated without dealing with the rather troublesome marginal integrals of the Wigner function, and some details of this are provided in Appendix III. We intend to explore this connection in further work. The method focuses on phase gates built out of position operators, however as the Wigner function can be written in terms of momentum eigenstates, phase gates built out of momentum operators can also be accommodated by simply switching to this picture.

Some elementary extensions of this method may become possible in the future. As noted, the higher order phase gates (n > 4) result in the integrand of the Wigner function possessing an exponential of polynomials of order greater than 3, which no longer conforms to the Airy transform structure. Higher order generalisations of Airy functions do exist but do not deal with the retention of the lower order terms in the polynomial27, and anyway would require a theory of generalised Airy transforms to be constructed. For multimode extensions similar challenges arise. A true multimode extension of the cubic or quartic phase gates involves a nondegenerate cubic or quartic interaction among multiple modes. For cubic gates the two possibilities are represented by the operators \({U}_{{\mathcal{C}}2}={e}^{i\gamma {q}_{1}{q}_{2}^{2}}\) and \({U}_{{\mathcal{C}}3}={e}^{i\gamma {q}_{1}{q}_{2}{q}_{3}}\), with the latter being the generator of the lowest order continuous variable quantum hypergraph states26 or the continuous variable Toffoli gate. The Wigner integrals involved in such calculations contain inhomogeneous forms of order 3. Such non-Gaussian integrals are notoriously difficult to solve, and yet progress has been made even in recent years for non-Gaussian integrals involving homogeneous forms28,29. Another major roadblock using these methods is the non-commutativity of the \(\hat{q}\) and \(\hat{p}\) operators, with one of the most important applications being nonlinear motion. The introduction of such noncommutative operators even at the level of phase rotation can bring significant complexity to the Airy transform, particular after gate sequences involving multiple nonlinear phase gates.

Recent experimental achievements demonstrate the importance of the theoretical advance presented here. Cubic phase states have been produced in optical30 and superconducting circuit18 settings. Alongside these achievements much effort has gone into theoretical proposals for the cubic phase states31,32,33,34,35,36 and detailed theoretical studies assess the properties and suitability of cubic phase states for various applications14,24,37,38,39,40. Clarifying the Wigner function for such states will help explore such properties and open paths to understand the unique forms of quantum interference they generate. Similarly, the quartic potential is an important and paradigmatic example of a nonlinear bounded potential, often appearing as a double well potential41,42, and can be used for quantum information tasks43. Remarkably, the aforementioned superconducting microwave circuit experiment18 producing cubic phase states also allows for the simultaneous presence of trilinear and Kerr-like nonlinearities, underlining the importance of understanding the simultaneous presence of cubic and quartic nonlinearities. While we have focused on nonlinear gates acting on Gaussian states, our method applies equally well to Fock states or finite superpositions thereof. Hence there is also an opportunity to investigate the interaction of two opposing forms of nonlinearity in bosonic systems.

Note: During the last stage of manuscript preparation an independent manuscript14 addressed a different problem of position delocalisation in open mechanical dynamics that complements our analytical results on cubic and quartic unitary gates.

Methods

Our application to quartic bounded cubic phase gates and our observation of the resilience of negativity to initial thermal noise rely on performing the required Airy transform on Gaussian states. Here we fully outline this method.

Wigner function of the cubic and quartic phase states

For ease of reference we will refer to the set of states generated by the nonlinear phase gates U3, U4 or U3,4 acting on an arbitrary Gaussian state ρG as the cubic, quartic or cubic and quartic phase states. Additionally, it will be useful to introduce the Fock basis through the annihilation operator a where \(\hat{q}=\sqrt{\frac{\hslash }{2}}(a+{a}^{\dagger })\) and \(\hat{p}=\sqrt{\frac{i\hslash }{2}}({a}^{\dagger }-a)\). This may be understood as establishing a reference oscillator with mass and frequency set to unity. Formally, these nonlinear phase states may be expressed as the sets of density operators

$${{\mathcal{G}}}_{A}=\left\{{U}_{A}{\rho }_{G}{U}_{A}^{\dagger }| \gamma \in {\mathbb{R}}\,\wedge \,{\rho }_{G}=D(\beta )S(z)\nu S{(z)}^{\dagger }D{(\beta )}^{\dagger }\right\}\,,$$
(26)

where A = 3, 4 or the pair (3, 4), \(D(\beta )={e}^{\beta {a}^{\dagger }-{\beta }^{* }a}\) is the displacement operator where \(\beta =\frac{\bar{q}+i\bar{p}}{\sqrt{2}\hslash }\) contains the mean values of \(\hat{q}\) and \(\hat{p}\), \(S(z)={e}^{\frac{1}{2}\left(z{({a}^{\dagger })}^{2}-{z}^{* }{a}^{2}\right)}\) is the squeezing operator with z = reiθ, and \(\nu =\frac{1}{1+\bar{n}}{\sum }_{k}{\left(\frac{\bar{n}}{1+\bar{n}}\right)}^{k}| k\left.\right\rangle \left\langle \right.k|\) is a Gaussian thermal state, characterised by a mean occupation \(\bar{n}\)44.

The Wigner function of \(\rho \in {{\mathcal{G}}}_{A}\) is the Airy transform of the Gaussian state ρG

$$W[\rho ](q,p)={{\mathcal{A}}}_{\frac{\hslash }{2}\alpha }[{W}_{G}]({{\mathcal{S}}}_{A}(p))\,.$$
(27)

From here, one may take the Wigner function of the thermal state \({W}_{{\rm{th}}}(q,p)=\frac{{e}^{-\frac{({q}^{2}+{p}^{2})}{\hslash (1+2\bar{n})}}}{(1+2\bar{n})\pi \hslash }\), perform the relevant symplectic transformations associated with displacement and squeezing, then perform the relevant Airy transform, bearing in mind the scaling and translation rules which state that state that if ϕα(x) is the Airy transform of f(x) then ϕαk(kx) is the Airy transform of f(kx) and ϕα(x + s) is the Airy transform of f(x + s).

To rapidly gain access to a general expression for the phase states, it is useful to note that since WG is Gaussian it can be expressed in the matrix form

$${W}_{G}({\bf{x}})=\frac{1}{2\pi \sqrt{\,\text{Det}\,(\Sigma )}}{e}^{-\frac{1}{2}{({\bf{x}}-\mu )}^{\top }{\Sigma }^{-1}({\bf{x}}-\mu )}\,,$$
(28)

where the covariance matrix Σ and the mean values μ take the generic forms

$$\Sigma =\left(\begin{array}{cc}{\sigma }_{q}&{\sigma }_{qp}\\ {\sigma }_{qp}&{\sigma }_{p}\end{array}\right)$$
(29)
$$\mu =\left(\begin{array}{c}\bar{x}\\ \bar{p}\end{array}\right)\,.$$
(30)

WG can be expanded in terms of these generic forms and the terms depending on p factored, so that we have

$$\begin{array}{rcl}{W}_{G}(q,p)\displaystyle=\frac{{e}^{-\frac{{\bar{x}}^{2}{\sigma }_{p}+{\bar{p}}^{2}{\sigma }_{q}-2\bar{x}\bar{p}{\sigma }_{qp}}{2{\text{Det}}(\Sigma )}}}{2\pi \sqrt{{\text{Det}}\,(\Sigma )}}{e}^{-\frac{{\sigma }_{p}{q}^{2}+2(\bar{p}{\sigma }_{qp}-\bar{x}{\sigma }_{p}q)}{2{\text{Det}}(\Sigma )}}\displaystyle {e}^{-\frac{{\sigma }_{q}{p}^{2}+2(\bar{x}{\sigma }_{qp}-(\bar{p}{\sigma }_{q}+{\sigma }_{qp}q))p}{2{\text{Det}}(\Sigma )}}\,.\end{array}$$
(31)

In order to perform the Airy transform with respect to p, it is useful to complete the square for p, resulting in the expression

$$\begin{array}{r}{\left(\sqrt{\frac{{\sigma }_{q}}{2\text{Det}(\Sigma )}}p-\frac{(\bar{x}{\sigma }_{qp}-(\bar{p}{\sigma }_{q}+{\sigma }_{qp}q))}{\sqrt{2{\sigma }_{q}\text{Det}(\Sigma )}}\right)}^{2}-\frac{{\left(\bar{x}{\sigma }_{qp}-(\bar{p}{\sigma }_{q}+{\sigma }_{qp}q)\right)}^{2}}{2{\sigma }_{q}\,\text{Det}\,(\Sigma )}\end{array}$$
(32)

If \(f(x)=\frac{{e}^{-{x}^{2}}}{\sqrt{\pi }}\) is the normalised Gaussian function then

$${{\mathcal{A}}}_{\alpha }[f](x)=\frac{1}{| \alpha | }{e}^{\frac{1}{4{\alpha }^{3}}\left(x+\frac{1}{24{\alpha }^{3}}\right)}\,{\text{Ai}}\,\left(\frac{x}{\alpha }+\frac{1}{16{\alpha }^{4}}\right)\,.$$
(33)

The scaling and translation rules for Airy transforms state that if ϕα(x) is the Airy transform of f(x) then ϕαk(kx) is the Airy transform of f(kx) and ϕα(x + s) is the Airy transform of f(x + s), and thus combined ϕαk(kx + s) is the Airy transform of f(kx + s). Therefore selecting

$$k=\sqrt{\frac{{\sigma }_{q}}{2\,\text{Det}\,(\Sigma )}}$$
(34)
$$s=-\frac{(\bar{x}{\sigma }_{qp}-(\bar{p}{\sigma }_{q}+{\sigma }_{qp}q))}{\sqrt{2{\sigma }_{q}\,\text{Det}\,(\Sigma )}}\,,$$
(35)

and performing the Airy transform with respect to \({{\mathcal{S}}}_{A}(p)\) retrieves the Wigner function of the nonlinear phase states. The full expression for the Wigner function of an arbitrary Gaussian state following the nonlinear phase gate is

$${W}_{{{\mathcal{G}}}_{A}}(q,p)=\frac{{e}^{-\frac{{(q-\bar{x})}^{2}}{2{\sigma }_{q}}}}{2\sqrt{\pi \,\text{Det}\,(\Sigma )}}\frac{1}{| {\alpha }^{{\prime} }| }{e}^{\frac{1}{4{\alpha }^{{\prime} 3}}\left(k{{\mathcal{S}}}_{A}(p)+s+\frac{1}{24{\alpha }^{{\prime} 3}}\right)}\,{\text{Ai}}\,\left(\frac{k{{\mathcal{S}}}_{A}(p)+s}{{\alpha }^{{\prime} }}+\frac{1}{16{\alpha }^{{\prime} 4}}\right)\,,$$
(36)

where \({\alpha }^{{\prime} }=\frac{k\hslash }{2}\alpha\). Appropriate selections of A and α recover the various nonlinear phase states.