Introduction

Non-classicality of mechanical motion has recently been a topic of great interest both theoretically and experimentally as it represents a test ground to address many important questions ranging from quantum-to-classical transition and collapse models1,2,3 to the interface between quantum mechanics and gravity.4,5 While we have extensive literature that has focused on the quantumness of microscopic objects, it is a challenge to deterministically isolate genuine quantum features that can be accessed in experiments, and few experiments with coherent superpositions of quantum objects with large mass exist.6,7

Massive mechanical oscillators have been intensively investigated in quantum optomechanics,8,9 and optomechanical cavities are regarded as an optimal framework to make clear comparisons between the predictions of classical theory and their quantum counterparts.10,11,12,13,14,15 Indeed, they were proven to exhibit a large degree of macroscopicity, μ, defined in terms of the robustness of a coherent superposition against decoherence.16 Optomechanical experiments have reached μ = 19 on a scale where the Mach–Zender interference of Cs17 and the Schrödinger gedanken experiment are attributed values of μ = 10.6 and μ ~ 55, respectively.16

Thanks to their peculiar properties, these systems have been historically studied in the context of force sensing18,19 and for the preparation of non-classical states of the mechanical motion, such as squeezed states,20,21,22,23,24 single phonon excitations25,26,27 or even Schrödinger cat states.11 Given the necessary interaction between optical and mechanical degrees of freedom, most control schemes result in the preparation of correlated states. The reduced state of the mechanical components is then strongly mixed, and a pure (or less strongly mixed) state can be obtained in terms of a measurement on the optical field.28,29 Since such a measurement has random outcomes, such a state preparation is intrinsically probabilistic. To the best of our knowledge, the only currently existing deterministic protocols rely on equilibration to a stationary state, being based on dissipative state preparation with the potential to prepare superpositions of two wave packets.30,31

In this paper, we consider the deterministic preparation of highly non-classical, motional states via coherent control. Such a deterministic protocol, that permits to prepare non-stationary states, first of all helps to avoid the additional element of a measurement which is likely to be affected by limited detection efficiencies and dark counts. Since targeting states with increasing macroscopicity typically implies lower success rates of probabilistic protocols, this shall be helpful, in particular, for the experimental realisation of non-classical states of macroscopic character. Explicitly, we show how the non-linear light–matter interaction between an electromagnetic field and a movable mirror in an optomechanical cavity can be exploited to deterministically prepare on demand quantum states of the mirror such as squeezed states and non-Gaussian coherent superpositions exhibiting sizeable negativity of the Wigner function. Our control scheme proves to be resilient to several experimental imperfections, permitting maximally non-classical states to be achieved, which makes it ideal for accurate tests of fundamental physics, e.g. decoherence models, and of the technical potential of coherent superpositions of massive objects.

Results

We consider an optomechanical cantilever modelled as harmonic oscillator of mass m, interacting with a light field through radiation pressure in the single mode approximation. This provides an accurate description for current experiments,9,21,26 though the techniques derived in the following also apply to optomechanical systems that are not based on cantilevers, or also more complex models including more degrees of freedom. The free evolution of the system is given by \(\omega _ca^\dagger a + \omega _mb^\dagger b\), where ωm (ωc) is the mechanical (cavity resonance) frequency and b and b (a and a) are, respectively, the annihilation and creation operator of the mirror (cavity field). The interaction couples the intensity of the light field with the position of the mechanical element and is described by \(H_{{\rm int}} = - ga^\dagger a(b + b^\dagger )\),32 where \(g = \omega _{\rm c}\frac{L}{{L_{\rm c}}} = k\omega _{\rm m}\) is the coupling constant, \(L = \sqrt {\hbar /(2m\omega _{\rm m})}\) the oscillator length scale, Lc the cavity length at equilibrium and k = g/ωm the rescaled coupling.

Adding external driving ξ(t) of the cavity, the complete Hamiltonian of the system reads H = H0 + Hint, with \(H_0 = \omega _{\rm c}a^\dagger a + \omega _{\rm m}b^\dagger b + i\left( {\xi (t)a^\dagger - \xi ^ \ast (t)a} \right)\). Generally the dynamics induces correlations between both subsystems. A correlated state, however, implies that a mixed quantum state needs to be attributed to each subsystem alone, or that the measurement on one of the subsystems results in the probabilistic preparation of the other.

The goal of the present paper lies in finding driving patterns ξ(t) such that the cubic optomechanical interaction creates non-trivial states of the mirror without cavity–mirror correlations. In particular, the chosen driving profiles will also ensure that the cavity ends up in its initial state, which will significantly ease the readout subsequent to the state preparation. Indeed, most of the current state reconstruction techniques of mechanical motional states are achieved through homodyne tomography of a probe light field, i.e. the so called back-action-evading interaction.24,33,34 It is therefore an essential requirement that the cavity is in its well-defined initial state when the read out of the mechanics is performed.

In the limit of weak coupling \(k \ll 1\), which is in agreement with state-of-the-art experiments operating at \(k \lesssim 10^{ - 2}\),8,9 we can solve the dynamics in a perturbative expansion in powers of k. To this end, it is helpful to first find the time-evolution operator U0(t) induced by the non-interacting time-dependent Hamiltonian H0(t). Since H0(t) is harmonic, U0(t) is constructed exactly and it is subsequently used to extract the interaction Hamiltonian in the frame defined by the harmonic motion as \(H_{\rm I}\left( t \right) = U_0^\dagger \left( t \right)\) HintU0(t), which explicitly reads

$$H_{\rm I}(t) = - g\left( {n_{\rm c} - \left( {fa^\dagger + f^ \ast a} \right) + \left| f \right|^2} \right)X_{\rm m}(t),$$
(1)

with \(X_{\rm m}(t) = b^\dagger {\rm e}^{i\omega _{\rm m}t} + b{\rm e}^{ - i\omega _{\rm m}t}\), \(f = {\int}_0^t dt_1\xi (t_1){\rm e}^{i\omega _{\rm c}(t_1)}\) and \(n_{\rm c} = a^\dagger a\) the number operator of the cavity field.

Because of the cubic nature and the time-dependence, it is not possible to analytically solve the generator V(t, t0) induced by HI(t), but it can be obtained in the perturbative Magnus series35 \(V(t,t_0) = {\mathrm{exp}}\left( { - i\mathop {\sum}\nolimits_j {\cal M}_j(t,t_0)} \right)\), where \({\cal M}_1(t,t_0) = {\int}_{t_0}^t dt_1H_{\rm I}(t_1)\), \({\cal M}_2(t,t_0) = - \frac{i}{2}{\int}_{t_0}^t dt_1\left[ {H_{\rm I}(t_1),{\cal M}_1(t_1,t_0)} \right]\) and higher order terms \({\cal M}_j\) satisfy the proportionality \({\cal M}_j(t,t_0)\sim k^j\).

Given the explicit form of HI(t) in Eq. (1), the lowest order term \({\cal M}_1\) is an interaction that induces correlations between cavity and mirror. The higher order expansions \({\cal M}_j(j > 1)\) will generally also contain both interaction and single-particle terms of mirror or cavity alone. Since the central goal of our work is deterministic state preparation, we will require that \({\cal M}_1(t)\) and undesired terms in \({\cal M}_j(t)(j > 1)\) vanish at the final instance in time t = NT, after N periods T = 2π/ωm of the mechanical motion. We will design driving profiles ξ(t) such that all interaction terms and all operators acting on the cavity vanish at t = NT, but such that the single-particle terms acting solely on the mirror induce highly non-classical states.

Since for a general time-dependent driving ξ(t) it might be difficult to directly integrate the dynamics over N periods, it will prove useful to express the propagator V(TN, 0) as

$$V(TN,0) = \mathop {\prod}\limits_{s = 1}^N V(Ts,T(s - 1)) = \mathop {\prod}\limits_{s = 1}^N {\mathrm{exp}}( - i{\cal M}^{(s)}),$$

where it is implied that terms are ordered with decreasing value of s in the product; the M(s) are defined via the relation \({\mathrm{exp}}( - i{\cal M}^{(s)}) = V(Ts,T(s - 1))\), and can be expanded in the Magnus series \({\cal M}^{(s)} = \mathop {\sum}\nolimits_j {\cal M}_j^{(s)}\). Conversely, using Baker–Campbell–Hausdorff relation, we can rearrange all terms at the same order in the coupling, i.e. \({\cal M}_1(NT,0) = \mathop {\sum}\nolimits_{s = 1}^N {\cal M}_1^{(s)}\) and similarly at higher orders. While there is no reason to expect light–matter correlations and cavity excitation terms to add up to zero at each order j in \({\cal M}_j(NT,0)\), we propose time-dependent driving profiles ξs(t) resulting in different interaction Hamiltonians \(H_{\rm I}^{(s)}(t)\) in each interval. With the specific choice \(H_{\rm I}^{(s)}(t) = W_s^\dagger H_{\rm I}^{(1)}(t)W_s\) (with W1 = 1), one obtains \(V(TN,0) = \mathop {\prod}\nolimits_{s = 1}^N W_s^\dagger V(T,0)W_s = \mathop {\prod}\nolimits_{s = 1}^N {\mathrm{exp}}( - i{\cal M}^{(s)})\) with \({\cal M}^{(s)} = W_s^\dagger {\cal M}^{(1)}W_s\). Since all terms now depend on the Ws, which can be chosen freely, we will benefit from this freedom to ensure that any undesired term in \({\cal M}_j\) vanishes or is modified as desired. As we will see in the following, there are clear physically motivated choices for the Ws that achieve the aim, and that translate into rather simple driving profiles.

Due to the large separation of the resonance frequencies of cavity and mirror \(\left( {\omega _{\rm c}/\omega _{\rm m}\sim O(10^7)} \right)\), it is essential to drive the former close to the sidebands with frequencies ωc ± ωm to enable the exchange of excitations between the two subsystems. We will hereafter find suitable profiles such that the mirror evolves into a strongly squeezed state as well as a state with pronounced non-Gaussian and non-classical features. Apart from an interest in its own, the discussion on strongly squeezed states shall help to exemplify the framework developed above, with simpler algebra than found in the preparation of non-classical states.

Mechanical squeezing is obtained via a bi-chromatic driving with detunings ±ωm with respect to the cavity resonance. The related driving profile \(\xi_\omega (t) = E{\rm{e}}^{ - i\omega _{\rm{c}}t}\left( {{\rm{e}}^{i\omega_{\rm m}t} + {\rm{e}}^{-i\omega _{\rm{m}}t}} \right)\) with amplitude \({\cal E}\) results in the lowest order contribution to the Magnus expansion after one period

$${\cal M}_1^{(1)} = - 2\pi k\eta X_{\rm c}P_{\rm m},$$
(2)

with the dimensionless amplitude \(\eta = {\cal E}/\omega _{\rm m}\). This suggests the particularly simple choice Ws = exp(−incφs), that rotates cavity operators in phase space by an angle φs. The corresponding required driving profiles

$$\xi _s(t) = {\cal E}{\rm e}^{i\varphi _s}{\rm e}^{ - i\omega _{\rm c}t}\left( {{\rm e}^{i\omega _{\rm m}t} + {\rm e}^{ - i\omega _{\rm m}t}} \right),$$
(3)

are obtained by reverse-engineering the derivation of the interaction Hamiltonian (see Eq. (1)) and are rather elementary to implement36 (see Supplementary Materials). In fact, different driving periods differ from each other merely by the phase shift φs, such that Eqs. (2) and (3) result in

$$\mathop {\sum}\limits_{s = 1}^N {\cal M}_1^{(s)} = - 2\pi \,k\eta \left( {\mathop {\sum}\limits_{s = 1}^N X_{\rm c}{\mathrm{cos}}\varphi _s + P_{\rm c}{\mathrm{sin}}\varphi _s} \right)P_{\rm m}.$$

Hence, undesired interaction terms in \({\cal M}_1\) cancel for any choice satisfying \(\mathop {\sum}\nolimits_s {\mathrm{exp}}(i\varphi _s) = 0\).

The second-order contribution reads \({\cal M}_2(NT,0) = \mathop {\sum}\nolimits_{s = 1}^N {\cal M}_2^{(s)} - \frac{i}{2}\mathop {\sum}\nolimits_{s > l = 1}^N \left[ {{\cal M}_1^{(s)},{\cal M}_1^{(l)}} \right]\) and contains correlations and single-particle excitation terms of the cavity that vanish upon the condition \(\mathop {\sum}\nolimits_s {\rm e}^{i2\varphi _s} = 0\), which eventually motivates the selection φs = 2π(s−1)/N (assuming N > 2).

The most important term in \({\cal M}_2\) for the creation of a mechanical squeezed state originates from the commutator \([{\cal M}_1^{(s)},{\cal M}_1^{(l)}]\) and is proportional to \(\propto (k\eta )^2{\mathrm{sin}}(\varphi _s - \varphi _l)P_{\rm m}^2\). With the choice φs = 2π(s − 1)/N, the sum over all possible combinations s > l = 1 reads \(\mathop {\sum}\nolimits_{l < s} {\mathrm{sin}}\left( {\varphi _s - \varphi _l} \right) = \frac{N}{2}{\mathrm{cot}}\left( {\frac{\pi }{N}} \right)\), which scales ~N2 and thus becomes sizeable already after few periods of driving.

All-together, we have thus arrived at dynamics, such that no results of an interaction appear at the final instance in time and such that no excitations in the cavity have been created. Up to a global phase factor, which we will henceforth always neglect, the full propagator reads \(V_W(TN,0) = V_{\rm c}(N) \otimes V_{\rm m}^{(2)}(N)\) with

$$\begin{array}{*{20}{l}} {V_{\rm c}(N)} \hfill & = \hfill & {{\mathrm{exp}}\left( {2\pi i\,Nk^2\left( {n_{\rm c}^2 + 7\eta ^2n_{\rm c}} \right)} \right),{\mathrm{and}}} \hfill \\ {V_{\rm m}^{(2)}(N)} \hfill & = \hfill & {{\mathrm{exp}}\left( {2i\left( {\pi k\eta } \right)^2N\,{\mathrm{cot}}\left( {\frac{\pi }{N}} \right)P_{\rm m}^2} \right).} \hfill \end{array}$$
(4)

\(V_{\rm m}^{(2)}(N)\) acts on the mirror only, and can be recast in the form

$$V_{\rm m}^{(2)}(N) = {\rm e}^{i\delta b^\dagger b}{\rm e}^{\frac{1}{2}\left( {\zeta ^ \ast b^2 - \zeta b^{\dagger ^2}} \right)},$$
(5)

corresponding to a vacuum squeezing operation with parameter

$$\zeta = i\left( {2\pi k\eta } \right)^2N\,{\mathrm{cot}}\left( {\frac{\pi }{N}} \right){\rm e}^{i\delta },$$

and followed by a rotation with angle

$$\delta = {\mathrm{arctan}}\left( {\left( {2\pi k\eta } \right)^2N\,{\mathrm{cot}}\left( {\frac{\pi }{N}} \right)} \right).$$

The quadratic scaling with time (i.e. \(|\zeta |\sim N^2\)) allows substantial squeezing already after a few intervals. Besides, we should keep in mind that the perturbative regime requires reasonably short propagation times, i.e. small values of N, and the present analysis is valid in the limit \(k \ll 1\), as the neglected third-order term scales as \({\cal M}_3\sim k^3\eta ^2N\). For a relatively weak interaction, k = 1/400, and sufficiently strong driving, η = 10, one achieves a squeezing of the position quadrature resulting, after N = 11 periods, in \({\mathrm{\Delta }}P_{\rm m}^2 = 1.57\) and \({\mathrm{\Delta }}X_{\rm m}^2 \simeq 0.16\) (see Fig. 1).

Fig. 1
figure 1

Expected values for the quadratures of the mirror as a function of the total driving time expressed in terms of driving periods. Black circles represent ΔP2 and red triangles ΔX2, which is squeezed by the evolution operator up to ΔX2 = 0.16. Experimental parameters are set as: η = 10, k = 1/400

Let us now discuss the creation of non-Gaussian states, which requires to suppress not only interaction effects, but also Gaussian contributions to the dynamics, since these will tend to over-shadow non-Gaussian features. We will therefore double the detuning as compared to Eq. (3), but employ qualitatively similar driving profiles

$$\xi _s(t) = {\cal E}{\rm e}^{i\varphi _s}{\rm e}^{ - i\omega _{\rm c}t}\left( {{\rm e}^{i2\omega _{\rm m}t} + {\rm e}^{ - i2\omega _{\rm m}t}} \right),$$
(6)

with phase shifts φs whose form is to be determined.

Thanks to the chosen detuning, the first-order Magnus term \({\cal M}_1\) vanishes irrespectively of the choice for the φs. The second- and third-order contribution to the generator of the dynamics over N periods read \({\cal M}_2 = \mathop {\sum}\nolimits_{s = 1}^N {\cal M}_2^{(s)}\) and \({\cal M}_3 = \mathop {\sum}\nolimits_{s = 1}^N {\cal M}_3^{(s)}\) —in general, there would be contributions resulting from non-commutativity of \({\cal M}_{1/2}^{(s)}\) and \({\cal M}_1^{(l)}\), but in the present case those do not exist because \({\cal M}_1^{(s)}\) vanishes.

Even though \({\cal M}_2^{(s)}\) and \({\cal M}_3^{(s)}\) display a rather complicated form reflecting the complex dynamics induced by the non-linear Hamiltonian, it is still possible to ensure the desired goals of a product state with an empty cavity and a non-classical state of the mirror. This is achieved requiring every undesired element in \(W_s^\dagger {\cal M}_jW_s\) (j = 2, 3) to be proportional to exp(±s) or exp(±i2φs), which would suggest to adopt the same set of phase shifts we proposed for the creation of squeezed states, i.e. φs = 2π(s − 1)/N. Some care, however, is in order since preparing non-classical states relies on the dynamics induced by third-order terms in the coupling and thus requires a fairly stronger coupling regime. This makes an experimental realisation more challenging than the creation of squeezed states which is a second-order effect. On the other hand, the final propagator is enhanced by a factor η2, so that strong driving can compensate for the weak interaction. Yet, in the strong driving regime special care needs to be taken in the perturbative expansion: so far we were only concerned with powers of k, but for sufficiently large values of η, a high power of η can make a term relevant despite its high order in k. A quantitative analysis of the algebra and the perturbative expansion is provided in the Methods section; here we only outline that the propagator contains terms k2η2nc which create neither cavity excitations nor light–matter correlations, but which induce a back-action on the dynamics, rotating the field operators at each period and spoiling the effect of the previously engineered phase shifts. To counteract this effect that undermines the achievement of a separable state at the end of the N driving periods, we should modify the phase shift to

$$\varphi _s = \left( {\frac{{2\pi }}{N} + \frac{{4\pi }}{3}(k\eta )^2} \right)(s - 1).$$

Making use of all the cancellations, we thus arrive at the desired separable propagator \(V(TN,0) = V_{\rm c}(N) \otimes V_{\rm m}^{(3)}(N)\) with

$$\begin{array}{*{20}{l}} {V_{\rm m}^{(3)}(N)} \hfill & = \hfill & {{\mathrm{exp}}\left( { - \frac{\pi }{3}i\,Nk^3\eta ^2\,Q_{\rm m}} \right),{\mathrm{and}}} \hfill \\ {V_{\rm c}(N)} \hfill & = \hfill & {{\mathrm{exp}}\left( {2\pi i\,k^2\left( {n_{\rm c}^2 + \frac{2}{3}\eta ^2n_{\rm c}} \right)N} \right),} \hfill \end{array}$$
(7)

defined in terms of the cubic operator

$$Q_{\rm m} = \left( {X_{\rm m} + i\frac{{P_{\rm m}}}{{\sqrt 3 }}} \right)^3 + \left( {X_{\rm m} - i\frac{{P_{\rm m}}}{{\sqrt 3 }}} \right)^3 + \frac{3}{2}X_{\rm m}.$$
(8)

In contrast to the well-characterised squeezed states discussed above, it is not clearly established what type of states are generated by Qm. Hence, we construct \(V_{\rm m}^{(3)}(N)\) numerically in a truncated Hilbert space including up to 80 × 103 excitations. As prototype for discussion, we consider the state \(\left| {\mathrm{\Psi }}(20) \right\rangle = V_{\rm m}^{(3)}(20)\left| 0 \right\rangle\) obtained after N = 20 periods of driving with the mirror initially in its ground state. As specific parameter values, we choose η = 20 and k = 1/60 consistently with the perturbative expansion and with up-to-date experimental achievements.8,9,37

Discussion

Since non-linear Hamiltonians tend to generate highly non-classical states, it is instructive to analyse the states that are accessible with the present control scheme in terms of commonly employed measures of non-classicality. A particularly intuitive approach can be derived in terms of the Wigner function \(W(q,p) = \frac{1}{\pi }{\int}_{ - \infty }^\infty \left\langle {q + y|\rho |q - y} \right\rangle {\rm e}^{ - 2ipy}dy\), which is a quasi-probability distribution in phase space spanned by momentum and displacement variables p and q. Figure 2a depicts the Wigner function for the state \(\left| {{\mathrm{\Psi }}(20)} \right\rangle \left\langle {{\mathrm{\Psi }}(20)} \right|\). Quantumness can be characterised by oscillations of W(q, p), where high-amplitudes of short-wavelength oscillations including negative values imply deep quantum mechanical behaviour. As one can see, the Wigner function of \(\left| {{\mathrm{\Psi }}(20)} \right\rangle\) features short wavelength oscillations with large amplitudes. This is visible on a more quantitative level also in Fig. 2b, which shows the cut W(q, 0) through the Wigner function.

Fig. 2
figure 2

a 3D Wigner function of the mirror after 20 driving periods and b its profile when it is cut by the plane p = 0. The experimental parameters are set as η = 20, k = 1/60 and the resulting average population is \(\langle b^\dagger b\rangle \simeq 20\)

In order to provide a quantitative estimate of the quantumness, we resort to the measure of non-classicality38

$${\cal I} = - \frac{\pi }{2}{\int} dp\,dq\,W(q,p)\left( {\frac{{\partial ^2}}{{\partial q^2}} + \frac{{\partial ^2}}{{\partial p^2}} + 1} \right)W(q,p),$$
(9)

that quantifies fast oscillations of the Wigner function W(q, p). This non-classicality \({\cal I}\) lies in the interval \({\cal I}\, \in \,[0,\langle n\rangle ]\), where 〈n〉 is the average number of excitations in the system. The minimal value \({\cal I}_{{\rm min}} = 0\) is obtained for classical states like Gaussian or thermal states, while purely quantum states, such as for example Fock and cat states, yield the maximum value of \({\cal I}_{{\rm min}} = \left\langle n \right\rangle\). We deem I a more suitable figure of merit than macroscopicity, μ,16 discussed in the introduction, since μ depends on system parameters like the particle mass, and thus, to a large extent characterises the experimental achievement of a challenging experiment with a massive object. \({\cal I}\), however, reflects solely on the conceptual added value of the present control scheme.

Figure 3 depicts \({\cal I}\) as a function of the driving time expressed in units of mechanical periods (red triangles) together with the average population 〈n〉 (blue circles). Both quantities have an approximately exponential growth, so that highly excited, non-classical states can be prepared very quickly (we obtain \(\langle n\rangle \simeq 18\) after N = 20 periods). Moreover, quantumness nearly saturates the bound \({\cal I}_{\max }\) imposed by the population, which witnesses the rapid evolution towards states of macroscopic character as well as their close-to-maximal non-classicality.

Fig. 3
figure 3

Comparative plot of the non-classicality \({\cal I}\) (red triangles) and the average number of mechanical excitations 〈nm〉 (blue dots) as functions of the number of driving periods. The experimental parameters are set as η = 20, k = 1/60

So far, we have discussed an idealised situation with unitary dynamics and no experimental imperfections. An extensive analysis of the resilience against experimental errors can be found in the Supplementary Materials. In particular, we analytically show how the driving profiles ensure robustness against optical and mechanical damping, as well as we provide evidence of the small detrimental effect of decoherence by numerically solving the full Lindbladian master equation. We also demonstrate that there is no fundamental need to require ground-state cooling preparation of the mirror, obtaining significative negative values of the Wigner function for an initial state with \(\langle n_{\rm m}^{{\rm th}}\rangle = 1\), i.e. substantially above what is already achieved with sideband cooling. Importantly, also sizable deviations from the step-like phase shifts would not prevent the achievement of a highly non-classical state of the mirror and an empty cavity. Besides, we will argue that the proposed laser driving pattern can be accessed with state-of-the-art technology since phase shifts φs need to be implemented on long time scales that are of the order of 1/ωm.

Thanks to the resilience to experimental imperfections, the massive mirror could be potentially used as continuous variable quantum memory, as it has already been proposed in ref.39 or as probe for decoherence.3,31,40 The non-classicality \({\cal I}\) of the mirror is an extremely sensitive indicator of any type of mechanical decoherence and is thus ideally suited to probe fundamental physics such as gravitationally induced effects on the mechanical motion or continuous spontaneous localisation.41

It should be highlighted that the utilised approach to find optimal driving patterns can be easily extended to higher orders in the Magnus expansion and correspondingly longer propagation times and/or larger coupling k. There is indeed no theoretical restriction to an adaptive fine tuning of the laser profiles to cancel undesired coupling terms in the evolution. This would give rise to more highly excited states and hence to measurable quantum effects also in case of higher initial thermal noise, pushing the initial cooling condition beyond the requirement \(\langle n_{\rm m}^{{\rm th}}\rangle \lesssim 1\). The present control scheme is also not necessarily restricted to the mirror–cavity setup discussed here, but analogous techniques are suitable for a variety of systems that share similar non-linear hamiltonians such as atomic spin ensembles, trapped atoms or levitated nanoparticles.42,43,44,45

Methods

We provide full details on the reconstruction of the propagator induced by the Hamiltonian in Eq. (1) together with the driving profile in Eq. (5). Let us start by recalling the Magnus expansion for the propagator \(V(T,0) = {\mathrm{exp}}( - i\mathop {\sum}\nolimits_j {\cal M}_j^{(1)})\) over the first mechanical period. Thanks to the chosen detuning, the first-order Magnus term \({\cal M}_1\) vanishes irrespectively of the choice for the φs.

The second- and third-order terms are

$$\begin{array}{*{20}{l}} {{\cal M}_2^{(1)}} \hfill & = \hfill & {\pi k^2\left( {m_2^c + m_2^I - \frac{{29}}{{60}}\eta ^4} \right),\quad {\mathrm{with}}} \hfill \\ {m_2^c} \hfill & = \hfill & { - 2n_{\rm c}^2 + \frac{1}{3}\eta ^2\left( {X_{\rm c}^2 - 6n_{\rm c}} \right)\quad {\mathrm{and}}} \hfill \\ {m_2^I} \hfill & = \hfill & {\eta P_{\rm c}\left( {b^2 + b^{\dagger ^2}} \right);} \hfill \end{array}$$
(10)

as well as \({\cal M}_3^{(1)} = \frac{\pi }{3}k^3\eta \left( {m_3^m + m_3^I} \right)\), with

$$\begin{array}{*{20}{l}} {m_3^I = } \hfill & {\left[ {14i(a^\dagger n_{\rm c} - n_{\rm c}a) - \left( {\frac{{36}}{5}\eta ^2 + 4} \right)P_{\rm c}} \right]X_{\rm m}} \hfill \\ {} \hfill & { + \left[ {3X_{\rm c} + 6i\eta (a^2 - a^{\dagger ^2})} \right]P_{\rm m} - \frac{3}{4}P_{\rm c}Q_{\rm m}\;,} \hfill \end{array}$$
(11)

and \(m_3^m = \eta \,Q_{\rm m}\), with Qm defined in Eq. (8)).

Exploiting the composition property, we write the identity \(V(TN,0) = \mathop {\prod}\nolimits_{s = 1}^N W_s^\dagger V(T,0)W_s = \mathop {\prod}\nolimits_{s = 1}^N {\mathrm{exp}}\left( { - iM^{(s)}} \right)\) with \({\cal M}^{(s)} = W_s^\dagger {\cal M}^{(1)}W_s\) and Ws = exp(−incφs). Choosing the same set of phase shifts as for the creation of mechanical squeezed states, i.e. φs = 2π/N(s − 1), one obtains

$$\begin{array}{*{20}{l}} {V(TN,0)} \hfill & = \hfill & {V_{\rm c}(N) \otimes V_{\rm m}^{(3)}(N),\quad {\mathrm{with}}} \hfill \\ {V_{\rm c}(N)} \hfill & = \hfill & {{\mathrm{exp}}\left( {2\pi ik^2\left( {n_{\rm c}^2 + \frac{2}{3}\eta ^2n_{\rm c}} \right)N} \right),\quad {\mathrm{and}}} \hfill \\ {V_{\rm m}^{(3)}(N)} \hfill & = \hfill & {{\rm exp}\left( { - \frac{\pi }{3}i\,Nk^3\eta ^2\,Q_{\rm m}} \right)\;.} \hfill \end{array}$$
(12)

Since the propagator for the mirror \(V_{\rm m}^{(3)}\) scales as k3η2, the cubic dependence on k will make an experimental realisation more challenging than the creation of squeezed states which is a second-order effect. Given the quadratic dependence on η2, however, strong driving can compensate for the weak interaction. Yet, in the strong driving regime, special care needs to be taken in the perturbative expansion since a high power of η can make a term relevant despite its high order in k. In particular, \({\cal M}_2^{(1)}\) in Eq. (10) contains terms \(\sim (k\eta )^2n_{\rm c}\), and terms \(\sim (k\eta )^4\) resulting from the commutators \([{\cal M}_2^{(s)},{\cal M}_2^{(l)}]\). This is not directly a severe issue for the state preparation, since such terms describe neither an interaction between cavity and mirror nor non-interacting dynamics of the mirror. They do induce, however, a perturbative rotation of the cavity field. As a result of that, the propagator at the end of the driving time does not factorise into individual propagators of mirror and cavity. It thus becomes necessary to change the driving profile accordingly to compensate for this effect.

In order to do so, it is instructive to rewrite the propagator over the first interval, neglecting terms of order k4ηj with j < 4 and terms of order kj with j > 4, as

$$\begin{array}{*{20}{l}} {V(T,0)} \hfill & \simeq \hfill & {{\rm e}^{i\frac{4}{3}\pi k^2\eta ^2n_{\rm c}}{\rm e}^{ - i\tilde {\cal M}^{(1)}},{\mathrm{with}}} \hfill \\ {\tilde {\cal M}^{(1)}} \hfill & = \hfill & {\pi k^2\left( {\tilde m_2^c + m_2^I} \right) + {\cal M}_3^{(1)},{\mathrm{and}}} \hfill \\ {\tilde m_2^c} \hfill & = \hfill & { - 2n_{\rm c}^2 + \eta ^2\left( {a^{\dagger ^2} + a^2 + 1} \right)/3,} \hfill \\ {m_2^I} \hfill & = \hfill & {\eta P_{\rm c}\left( {b^2 + b^{\dagger ^2}} \right),} \hfill \end{array}$$
(13)

where the term \({\rm exp}\left( {i\frac{4}{3}\pi k^2\eta ^2n_{\rm c}} \right)\) in the expression for V(T, 0)—and similarly for V(sT,(s − 1)T)—is the undesired rotation. The propagator over N periods can be written as

$$V(TN,0) = W_{N + 1}^\dagger \left( {\mathop {\prod}\limits_{s = 1}^N W_{s + 1}W_s^\dagger V(T,0)} \right)W_1,$$

and we should choose the Ws such that the prefactors \(W_{s + 1}W_s^\dagger\) cancel the term \({\rm e}^{i\frac{4}{3}\pi k^2\eta ^2n_{\rm c}}\) in Eq. (13). This is achieved with the set of phases

$$\varphi _s = \left( {\frac{{2\pi }}{N} + \frac{{4\pi }}{3}(k\eta )^2} \right)(s - 1),$$

which counterbalances exactly the phase shift \({\mathrm{\Delta }} = \frac{{4\pi }}{3}k^2\eta ^2\) that the cavity experiences through the driving over each period as described in Eq. (13). With this, the propagator reads

$$V(TN,0) = \mathop {\prod}\limits_{s = 1}^N {\mathrm{exp}}\left( {{\rm e}^{\frac{{2\pi i}}{N}(s - 1)n_{\rm c}}M^{(1)}{\rm e}^{ - \frac{{2\pi i}}{N}(s - 1)n_{\rm c}}} \right),$$
(14)

and the basic principles discussed in main text for the cancellation of all the interaction and cavity excitation terms apply. Quite importantly, however, the terms \(\sim (k\eta )^2n_{\rm c}\) no longer appear, and the only remaining contribution scaling as \(\sim (k\eta )^2\) in \(m_2^c\) in Eq. (13) is the polynomial \(a^{\dagger ^2} + a^2 + 1\). Operators \(a^{\dagger ^2}\) and a2 cancel out exactly in the summation over the N periods, thanks to the specific set of phase shifts, and the ‘+ 1’ brings an irrelevant global phase. The terms \(\sim (k\eta )^4\) arising from the commutators \([{\cal M}_2^{(s)},{\cal M}_2^{(l)}]\) (which are of the form \(\left( {a^2,a^{\dagger ^2}} \right) = 4n_c + 2\)) contribute either to the global phase or to a global final rotation in Vc. Lastly, we will see that the only term \(\sim (k\eta )^4\) in \(M_4^{(1)}\) depends on Pc and averages out in the summation over the N periods. The explicit final form of Eq. (13) coincides with Eq. (12) and the one given in the main text.