levisim.multiphysics.two_tone

Two-tone coherent scattering: steady-state entanglement of the transverse motions of a particle

docs/two_tone_entanglement/README.md derives the scheme step by step; in brief:

  1. With one tweezer tone, making a pair of phonons in x and y costs ħ(Ω_x + Ω_y), which a single frequency cannot supply resonantly, so the cavity mediates (almost) only phonon EXCHANGE. Exchange plus thermal noise never entangles.

  2. A second tone, blue of the cavity by Ω̄ = (Ω_x + Ω_y)/2 while the first is red by Ω̄, supplies exactly that energy: blue photon → red photon + x phonon + y phonon is resonant.

  3. In the frame rotating at Ω̄ (rotating-wave approximation, RWA) the cavity couples to two Bogoliubov modes, β_1 ∝ G_-·G_x·b_x + G_+·G_y·b_y† and β_2 ∝ G_-·G_y·b_y + G_+·G_x·b_x†, sitting at ±(Ω_x - Ω_y)/2. For balanced couplings (G_x = G_y) these are b_x, b_y two-mode squeezed by tanh(r) = G_+/G_-.

  4. The cavity is a zero-temperature bath, so it cools β_1 and β_2 just as it cools x and y in ordinary 2D cooling. Their joint vacuum is the two-mode squeezed vacuum of x and y: E_N = 2r.

  5. The non-degeneracy Ω_x ≠ Ω_y that a tweezer provides naturally is essential: for Ω_x = Ω_y, β_1 - β_2 decouples (a dark Bogoliubov mode) and heats without bound.

  6. The price: thermal noise on x and y reaches the Bogoliubov modes amplified by cosh(2r), and (at fixed total power) the cooling rate drops by cosh(2r). Entanglement needs the quantum cooperativity C = 4G²/(κΓn) to beat that.

Everything here is a thin layer over MultiToneDrive (the exact, time-periodic model with all counter-rotating terms) plus a time-independent RWA model for insight and fast scans.

levisim.multiphysics.two_tone.deplano2025_multitrap(Γ_scale=1.0, coupling_scale=1.0, balanced=False, gx_over_gy=None, Ωx=None, Ωy=None, κ=None, Δ=None, T=300, **kwargs)[source]

A 1×2 toy MultiTrap with the Deplano et al. (2025) parameters

levisim’s thermal bath is gas damping Γ_j at temperature T, so the fitted decoherence rates are reproduced as Γ_j = Γ_decoherence,j / n_j(T): the heating rate Γ_j·n_j is the fitted one and the damping itself is negligible (~1e-4 Hz).

  • Γ_scale: multiplies both decoherence rates [·]

  • coupling_scale: multiplies both couplings g_x, g_y [·]

  • balanced: replace g_x, g_y by their RMS value, so G_x = G_y [bool]

  • gx_over_gy: impose this coupling ratio at the same RMS coupling (overrides balanced) [·]

  • Ωx, Ωy, κ, Δ: override the experimental values [2π·Hz]

Other kwargs go to MultiTrap (e.g. ω_range).

levisim.multiphysics.two_tone.two_tone_drive(mtrap, ratio, relative_phase=0.0, offset=0.0, labels=('x1', 'y1'), fixed_total_power=True, common_shift=0.0)[source]

A red tone at ω_c - ν + s and a blue tone at ω_c + ν + s, with ν = (Ω_x + Ω_y)/2 + offset

The scheme needs the tones’ DIFFERENCE 2ν to equal Ω_x + Ω_y, so offset (a mismatch of 2·offset in the difference) is critical, while common_shift s (both tones moved together, i.e. the cavity drifting relative to the laser) only moves the sidebands within the cavity line.

  • ratio: blue/red field amplitude ratio G_+/G_- (for balanced couplings, tanh r) [·]

  • relative_phase: optical phase of the blue tone relative to the red tone [rad]

  • offset: moves the tones apart (offset > 0) or together, symmetrically [2π·Hz]

  • common_shift: moves both tones by the same amount [2π·Hz]

  • fixed_total_power: if True the two amplitudes satisfy c_-² + c_+² = 1, so the total tweezer power (hence the trap) is unchanged and the red tone loses what the blue gains; if False the red tone keeps c_- = 1 and the blue tone is added on top

Returns (red Tone, blue Tone).

levisim.multiphysics.two_tone.to_rotating_frame(V_mechanical, ν, t)[source]

Removes the free rotation at ν from mechanical covariance matrices sampled at time t

The rotating-frame operators are b̃ = b·exp(iνt). In the RWA they are static, so this is the frame in which the two-mode squeezing correlation 〈b̃_x b̃_y〉 has a fixed phase.

levisim.multiphysics.two_tone.bogoliubov_coefficients(mtrap, ratio, relative_phase=0.0, labels=('x1', 'y1'), fixed_total_power=True)[source]

(u_1, v_1, u_2, v_2) with β_1 = u_1·b_x + v_1·b_y† and β_2 = u_2·b_y + v_2·b_x†

β_1 ∝ c_-·G_x·b_x + c̃_+·G_y·b_y† is the combination the cavity sees rotating with b_x in the RWA, and |u|² - |v|² = 1 normalises it. If |c_+·G_y| ≥ |c_-·G_x| that combination is not an annihilation operator: the cavity then AMPLIFIES it and there is no steady state, which is returned as NaN coefficients.

levisim.multiphysics.two_tone.bogoliubov_occupations(V_rotating, mtrap, ratio, relative_phase=0.0, labels=('x1', 'y1'), fixed_total_power=True)[source]

〈β_1†β_1〉, 〈β_2†β_2〉 from a ROTATING-frame x-y covariance matrix

〈β†β〉 = |u|²〈b†b〉 + |v|²(〈b'†b'〉 + 1) + 2Re(u·v*·〈b b'〉). Both are zero exactly when the state is the two-mode squeezed vacuum the scheme aims for.

class levisim.multiphysics.two_tone.TwoToneSteadyState(ratio, labels, ν, stable, floquet_multiplier, times=None, covariances=None, mechanical_covariances=None, rotating_covariances=None, log_negativities=None, ν_tildes=None, mean_phonons=None, thermal_occupations=None, bogoliubov=None)[source]

Bases: object

The periodic steady state of a two-tone drive, restricted to two mechanical dimensions

log_negativities are per sampled time. In the RWA E_N is constant over the period (the lab-frame state differs from the rotating-frame one by local rotations only); any variation comes from counter-rotating terms and from the trap modulation.

Parameters:
ratio: float
labels: tuple
ν: float
stable: bool
floquet_multiplier: float
times: ndarray = None
covariances: list = None
mechanical_covariances: list = None
rotating_covariances: list = None
log_negativities: ndarray = None
ν_tildes: ndarray = None
mean_phonons: ndarray = None
thermal_occupations: ndarray = None
bogoliubov: tuple = None
property E_N

Period-averaged logarithmic negativity (0 if unstable)

property E_N_min

Smallest logarithmic negativity over the sampled times, 0 if unstable [·]

property E_N_max

Largest logarithmic negativity over the sampled times, 0 if unstable [·]

property summary_str

E_N, phonon numbers, Bogoliubov occupations and Floquet multiplier, or UNSTABLE

Type:

One-line summary

levisim.multiphysics.two_tone.two_tone_steady_state(mtrap, ratio, labels=('x1', 'y1'), relative_phase=0.0, offset=0.0, beat_visibility=0.0, fixed_total_power=True, num_samples=16, common_shift=0.0)[source]

Exact (linearised, all counter-rotating terms kept) periodic steady state of the two-tone drive

levisim.multiphysics.two_tone.two_tone_rwa_steady_state(mtrap, ratio, labels=('x1', 'y1'), relative_phase=0.0, offset=0.0, beat_visibility=0.0, fixed_total_power=True, common_shift=0.0)[source]

Steady state of the rotating-wave model, in the frame rotating at ν for every dimension

H/ħ = -s·a†a + Σ_j (Ω_j - ν)·b̃_j†b̃_j - [a†·Σ_j G_j(c̃_-·b̃_j + c̃_+·b̃_j†) + h.c.]
      + Σ_j (Ω_j·v/4P)(c̃_-·c̃_+*·b̃_j² + h.c.)            (trap beat, visibility v)
      - Σ_pairs g_jk (b̃_j†b̃_k + h.c.)                    (exchange part of mech-mech terms)

(s = common_shift; the light is in the frame rotating at ω_c + s.) It is time independent, so one Lyapunov solve gives the state. Comparing it with two_tone_steady_state isolates what the counter-rotating terms do. Returns (stable, full rotating-frame covariance matrix or None, mechanical covariance or None).

levisim.multiphysics.two_tone.quantum_cooperativity(mtrap, labels=('x1', 'y1'), include_lorentzian=True)[source]

C = 4〈|G|²〉/(κ·〈Γn〉) for a pair of dimensions, optionally times L = 1/(1 + ((Ω_x - Ω_y)/κ)²)

4|G|²/κ is the resolved-sideband cooling rate a single red tone of the full power gives one dimension at Δ = -Ω, and Γ·n its thermal heating rate, so C is that dimension’s quantum cooperativity; the pair’s couplings and heating rates are averaged. In the two-tone scheme the Bogoliubov modes sit at ±(Ω_x - Ω_y)/2 from the cavity resonance, which the Lorentzian factor accounts for. [·]

levisim.multiphysics.two_tone.analytic_log_negativity(r, cooperativity, fixed_total_power=True)[source]

E_N ≈ max(0, -ln(exp(-2r) + 2·n_add)) with n_add = cosh(2r)/C (fixed total power)

Ideal limit of the scheme: balanced couplings, the RWA, equal heating Γn on both modes, and Bogoliubov modes spectrally resolved from each other but inside the cavity line. Then the cavity damps x and y at Γ_c(r) = 4G²(c_-² - c_+²)/κ = C·Γn/cosh(2r) (at fixed total power) TOWARDS the two-mode squeezed vacuum, i.e. each sees a two-mode squeezed reservoir, while the thermal bath adds n_add = Γn/Γ_c phonons to each. That gives n_x = n_y = sinh²(r) + n_add, |〈b_x b_y〉| = sinh(r)cosh(r), and ν̃_- = exp(-2r) + 2n_add.

NOTE: the Bogoliubov modes then hold n_β = n_add·cosh(2r) each, but they are CORRELATED (the image of uncorrelated x and y noise), so ν̃_- ≠ (2n_β + 1)exp(-2r); treating them as independent thermal modes overstates the entanglement. [·]

levisim.multiphysics.two_tone.analytic_optimum(cooperativity, fixed_total_power=True)[source]

(r*, E_N*) maximising analytic_log_negativity over the squeezing parameter r

Closed forms, found numerically here so that the noise model can be changed:

fixed total power:  exp(4r*) = 1 + C,   E_N* = ln[C / (2·sqrt(1 + C))]
fixed red tone:     exp(4r*) = 1 + 2C,  E_N* = ln[C / (1 + sqrt(1 + 2C))]

so E_N* ≈ ½·ln(C/4) for large C: each factor of e² ≈ 7.4 in C buys one nat.

levisim.multiphysics.two_tone.analytic_threshold_cooperativity(fixed_total_power=True)[source]

Smallest C for which the ideal scheme can entangle: min_r 2·n_add(r)·C/(1 - exp(-2r))

C = 2 + 2·sqrt(2) ≈ 4.83 (at r = ln(1 + C)/4 ≈ 0.44) at fixed total power, and exactly 4 (at r = ln(9)/4 ≈ 0.55) if the blue tone is added on top of a fixed red tone. [·]