levisim.multiphysics.two_tone_traps¶
Multi-tone coherent-scattering traps from their geometry: polarisations, cavity axis, node position
two_tone treats the two tones as copies of one field that differ only in amplitude and phase. In a real tweezer each tone also has a POLARISATION, and the particle sits at some phase Φ of the cavity standing wave. This module derives, for one or more tweezers each carrying several tones, everything MultiToneDrive needs:
THE TRAP. Light polarised at ψ (from the trap x axis) gives the stiffness K(ψ, ψ), and two tones k, l interfere with K(ψ_k, ψ_l) (levisim.physics.focal_expansion, in frequency² units)
K(ψ1, ψ2) = cos(ψ1 - ψ2)·[Ω̄²·1 + ½ΔΩ_s²·diag(1, -1)] + ½ΔΩ_p²·σ(ψ1 + ψ2) ⊕ cos(ψ1 - ψ2)·Ω_z² σ(Ψ) = [[-cos Ψ, -sin Ψ], [-sin Ψ, cos Ψ]]
ΔΩ_p² = f_pol·(Ω_⊥² - Ω_∥²) is the part of the anisotropy the polarisation causes (it turns with the polarisation), ΔΩ_s² = (1 - f_pol)·(Ω_⊥² - Ω_∥²) a fixed beam ellipticity. The trap is
m⁻¹·K(t) = Σ_k |c_k|²·K(ψ_k, ψ_k) + Σ_(k<l) 2Re(c_k c_l*·K(ψ_k, ψ_l)·exp(-i(Δ_k - Δ_l)t))
For CO-POLARISED tones the beat modulates the stiffnesses at the difference frequency. For ORTHOGONAL tones (ψ_l = ψ_k + 90°) cos(ψ_k - ψ_l) = 0: the beat has no diagonal part at all, only the x-y term -ΔΩ_p²·xy, and the static anisotropy is reduced to (c_k² - c_l²)·ΔΩ_p² + ΔΩ_s².
THE COUPLINGS. The cavity axis u_c lies in the focal plane at angle θ from the trap y axis (Deplano et al.’s θ), its mode polarisation ε_c in the focal plane perpendicular to it. Tone k induces a dipole along its polarisation e_k, which scatters into the mode with e_k·ε_c, so
G_jk = -ω_d·(e_k·ε_c)·sinΦ·k·zpf_j·(u_c·ê_j) (j along the trap's principal axes) G_zk = i·ω_d·(e_k·ε_c)·cosΦ·k_z·zpf_z (couples to the other quadrature)
ω_d is the coherent-scattering drive rate of a full-amplitude tone with the dipole parallel to ε_c. These are levisim’s Dimension.light_mech_coupling expressions, with sinθ there replaced by e_k·ε_c so that each tone has its own projection.
OFF A NODE (Φ ≠ π/2) the carrier of every tone scatters into the cavity, building a coherent intracavity field α_l = i·ω_d(e_l·ε_c)c_l·cosΦ/(κ/2 - iΔ_l). Its interference with the tweezer adds, with Z(t) = Σ_(k,l) D_k·α_l*·exp(-i(Δ_k - Δ_l)t) and D_k = 2ω_d(e_k·ε_c)c_k,
H/ħ ⊃ Re[Z(t)]·(½cosΦ·k²(u_c·r)² + ½cosΦ·k_z²z²) + Re[i·Z(t)]·k·k_z·sinΦ·z(u_c·r)
whose static (k = l) part is levisim’s mech-mech coupling (Dimension.mech_mech_coupling gives its xy entry, with A0 = 2Re α), together with frequency shifts of the same size, and whose k ≠ l part beats at the tones’ difference frequency. Interference with the tweezer’s own curvature is (k·w0)⁻² ≈ 3% of this and is neglected, as is the cavity field’s own dipole potential.
The x and y dimensions of the returned model are the principal axes of the full static potential, so a static x-y coupling shows up as a ROTATION of the modes (axes_angle) rather than as a coupling term.
- class levisim.multiphysics.two_tone_traps.TweezerOptics(Ω_perp, Ω_par, Ω_z=None, f_pol=1.0)[source]¶
Bases:
objectSingle-tone trap of one tweezer, used to build the multi-tone potential
Ω_perp, Ω_par: frequencies across and along the polarisation for ONE tone carrying the full power, polarised along the trap y axis [2π·Hz]
Ω_z: axial frequency, or None to leave z out [2π·Hz]
f_pol: fraction of Ω_perp² - Ω_par² that the polarisation causes; 1 for a round, aberration-free beam, where the vector focal field is the only source [·]
- property mean_square¶
Mean square transverse frequency, (Ω_perp² + Ω_par²)/2 [(2π·Hz)²]
- property anisotropy¶
Transverse anisotropy, Ω_perp² - Ω_par² [(2π·Hz)²]
- class levisim.multiphysics.two_tone_traps.CavityGeometry(θ, Φ=1.5707963267948966)[source]¶
Bases:
objectWhere the cavity is relative to one tweezer
θ: angle between the trap y axis (the reference polarisation) and the cavity axis [rad]
Φ: phase of the standing wave at the particle; π/2 is a node, where x, y couple most [rad]
- property axis¶
Cavity axis u_c in trap coordinates
- property polarisation¶
Cavity-mode polarisation ε_c (in the focal plane, perpendicular to u_c)
- class levisim.multiphysics.two_tone_traps.TweezerTone(Δ, amplitude, phase=0.0, ψ=1.5707963267948966, label='')[source]¶
Bases:
objectOne tone of one tweezer
Δ: detuning from the cavity resonance [2π·Hz]
amplitude: field amplitude, with Σ amplitude² = 1 for a tweezer’s full power [·]
phase: optical phase [rad]
ψ: polarisation angle from the trap x axis (π/2: along y, the reference) [rad]
- property complex_amplitude¶
Complex field amplitude, amplitude·exp(i·phase) [·]
- property polarisation¶
Polarisation unit vector e_k, in the focal plane at ψ from the trap x axis
- class levisim.multiphysics.two_tone_traps.TrapModel(index, labels, frequencies, axes, axes_angle, tones, potentials, coherent_amplitudes=None)[source]¶
Bases:
objectEverything one tweezer contributes to a MultiToneDrive (see tweezer_trap)
- Parameters:
- property info¶
Prints information on the trap model
- property info_str¶
A string with information on the trap model
- levisim.multiphysics.two_tone_traps.tweezer_trap(optics, tones, geometry, ω_d, m, index=1, κ=None, λ=1.064e-06, kz_over_k=0.936, coherent_field=True, extra_stiffness=None)[source]¶
Trap, couplings and quadratic potentials of one tweezer carrying several tones
optics: TweezerOptics of this tweezer
tones: list of TweezerTone (amplitudes normalised to this tweezer’s full power)
geometry: CavityGeometry of this tweezer
ω_d: coherent-scattering drive rate of a full-amplitude tone whose dipole is parallel to the cavity-mode polarisation [2π·Hz]
m: particle mass [kg]
index: trap number used in the labels (x1, y1, z1 for index 1)
κ: cavity linewidth, needed for the coherent intracavity field off a node [2π·Hz]
kz_over_k: effective axial wavenumber (k - 1/z_R)/k of the tweezer [·]
coherent_field: include the coherent-intracavity-field potentials off a node [bool]
extra_stiffness: any further static stiffness along the tweezer axes, e.g. a toy x-y coupling or a misaligned beam, in frequency² units (2×2, or 3×3 with z) [(2π·Hz)²]
Returns a TrapModel whose transverse labels are the principal axes of the full static potential.
- levisim.multiphysics.two_tone_traps.multitone_drive(traps, κ, heating_rates, T=300, frame_offset=0.0, period=None)[source]¶
A toy MultiTrap holding every trap’s dimensions, and the MultiToneDrive of all their tones
traps: list of TrapModel (indices 1, 2, …), all with or all without z
κ: cavity linewidth [2π·Hz]
heating_rates: {label: Γ_j·n_j}, the decoherence rate of each dimension [2π·Hz]
frame_offset, period: as for MultiToneDrive
Returns (mtrap, drive).
- levisim.multiphysics.two_tone_traps.deplano2025_tweezer(f_pol=1.0, include_z=False, radius=5.0000000000000004e-08, density=2200.0)[source]¶
TweezerOptics, CavityGeometry and (ω_d, m) reproducing Deplano et al. (2025)’s single tone
The published frequencies (Table 1) are taken as Ω_⊥ = Ω_X, Ω_∥ = Ω_Y (Y is the polarisation axis in the paper), and Ω_Z/2π = 21.4 kHz from the text. θ follows from g_X/g_Y = tanθ·(Ω_Y/Ω_X)^½, giving 55.2° (the paper quotes ‘~45°’), and ω_d from
|g_X|at the node with the dipole projection sinθ. The mass (a 100 nm diameter silica sphere) only matters off a node. Returns (optics, geometry, ω_d, m).
- levisim.multiphysics.two_tone_traps.two_tone_tones(ν, ratio, ψ_red=1.5707963267948966, ψ_blue=1.5707963267948966, projections=None, offset=0.0, common_shift=0.0, relative_phase=0.0, label='')[source]¶
Red and blue TweezerTones at ω_c ∓ ν(+offset) + common_shift, at fixed total power
ratio: the coupling ratio
G_+/G_-the tones should give [·]ψ_red, ψ_blue: their polarisations [rad]
projections: (e_red·ε_c, e_blue·ε_c), to convert the coupling ratio into an amplitude ratio when the polarisations project differently on the cavity mode
- levisim.multiphysics.two_tone_traps.subsystem_log_negativity(mtrap, V, labels_A, labels_B)[source]¶
Log-negativity between two groups of dimensions (e.g. [‘x1’, ‘y1’] vs [‘x2’, ‘y2’]) [·]
For one mode against one mode the PPT test is necessary and sufficient; for larger groups a positive value still proves entanglement, but zero does not prove separability.
- levisim.multiphysics.two_tone_traps.principal_axes_log_negativity(mtrap, V, trap, rotation=None)[source]¶
x-y log-negativity of one trap in a rotated pair of axes (default: back to the tweezer axes)
The model’s x, y are the principal axes of the full static potential; passing rotation=0 evaluates them, and the default -trap.axes_angle the tweezer’s own axes.