levisim.physics.trap

Combined physics of a levitated free-space tweezer trap (Trap)

class levisim.physics.trap.Trap(**kwargs)[source]

Bases: object

Combined physics of a levitated free-space tweezer trap i.e. of an experimental setup of - a Bead instance, levitated by - a Tweezer instance, floating in - a Gas instance

This class also allows for: - Arbitrary values of feedback damping in x, y, z - Stochastic, directed force noise in x-y plane - Kicks at specified times (step-like impulses) in the x-y plane (to be used in Simulation, or deduced from Experiment) - Photon recoil (turned on or off) - Overriding the Tweezer potential’s natural frequencies

property info

Prints information on Trap instance

property info_str

A multi-line summary of the trap’s parameters

property drive_tweezer

cavity_drive_tweezer if given, otherwise the trapping tweezer

Type:

The Tweezer whose light the bead coherently scatters into a cavity

property cavity_drive_field

Amplitude of the light the bead scatters into a cavity, at the bead: cavity_drive_field_ratio × drive_tweezer.E0 (the trapping tweezer’s E0 by default) [V/m]

property Γth

Thermal gas mechanical damping rate [2π·Hz]

property Γth_2

(Alternative formula for) Thermal gas mechanical damping rate [2π·Hz]

property Γth_3

(Alternative formula for) Thermal gas mechanical damping rate [2π·Hz]

property fth

Thermal force noise due to gas damping [N/√Hz] a.k.a. thermal noise floor uses bead mass, but gas temperature and damping rate NOTE: https://en.wikipedia.org/wiki/Langevin_equation

property Sth

Thermal force spectral density due to gas damping [N²/Hz]

property fdir

Directed force noise [N/√Hz]

property Sdir

Directed force spectral density [N²/Hz]

property fdirx

Directed force noise in the x-axis [N/√Hz]

property fdiry

Directed force noise in the y-axis [N/√Hz]

property fdirz

Directed force noise in the z-axis [N/√Hz]

property fdirj

Dict of directed force noises in the (x, y, z)-axes [N/√Hz]

property Sdirx

Directed force spectral density for x-axis motion [N²/Hz]

property Sdiry

Directed force spectral density for y-axis motion [N²/Hz]

property Sdirz

Directed force spectral density for z-axis motion [N²/Hz]

property Sdirj

Dict of directed force spectral density for (x, y, z)-axis motion [N²/Hz]

property Sψψ

Angular force spectral density [N²/Hz]

property Γx

Total mechanical damping rate of (x, y, z)-motion oscillations [2π·Hz]

property Γy

Total mechanical damping rate of y-motion oscillations [2π·Hz]

property Γz

Total mechanical damping rate of z-motion oscillations [2π·Hz]

property Γj

Dict of total mechanical damping rates for (x, y, z)-motion oscillations [2π·Hz]

property τx

Autocorrelation / thermalisation time for x-motion oscillations [s]

property τy

Autocorrelation / thermalisation time for y-motion oscillations [s]

property τz

Autocorrelation / thermalisation time for z-motion oscillations [s]

property τj

Dict of Autocorrelation / thermalisation times for (x, y, z)-motion oscillations [s]

property kx

Spring constant of the restoring force in the x-axis due to the tweezer potential [N/m]

property ky

Spring constant of the restoring force in the y-axis due to the tweezer potential [N/m]

property kz

Spring constant of the restoring force in the z-axis due to the tweezer potential [N/m]

property kj

Dict of spring constants of the restoring forces in the (x, y, z)-axes due to the tweezer potential [N/m]

property Ωx

Resonant frequencies for x-axis oscillation [2π·Hz]

property Ωy

Resonant frequencies for y-axis oscillation [2π·Hz]

property Ωz

Resonant frequencies for z-axis oscillation [2π·Hz]

property Ωj

Resonant frequencies for y-axis oscillation [2π·Hz]

property Qx

Quality factor of the oscillation in the x-axis [·]

property Qy

Quality factor of the oscillation in the y-axis [·]

property Qz

Quality factor of the oscillation in the z-axis [·]

property Q

Dict of quality factors of the oscillations in (x, y, z)-axes [·]

property x_zpf

Zero-point fluctuation (ground-state rms displacement) of the x-motion, √(ħ/(2mΩx)) [m]

property y_zpf

Zero-point fluctuation (ground-state rms displacement) of the y-motion, √(ħ/(2mΩy)) [m]

property z_zpf

Zero-point fluctuation (ground-state rms displacement) of the z-motion, √(ħ/(2mΩz)) [m]

property j_zpf

Dict of zero-point fluctuations of the (x, y, z)-motions [m]

property x_SQL

Standard Quantum Limit displacements for x-motions [m]

property y_SQL

Standard Quantum Limit displacements for y-motions [m]

property z_SQL

Standard Quantum Limit displacements for z-motions [m]

property j_SQL

Standard Quantum Limit displacements for (x, y, z)-motions [m]

property Fx_SQL

Standard Quantum Limit forces in x-axis (one-sided force noise on resonance, see the NOTE above x_zpf) [N/√Hz]

property Fy_SQL

Standard Quantum Limit forces in y-axis (one-sided force noise on resonance, see the NOTE above x_zpf) [N/√Hz]

property Fz_SQL

Standard Quantum Limit forces in z-axis (one-sided force noise on resonance, see the NOTE above x_zpf) [N/√Hz]

property Fj_SQL

Standard Quantum Limit forces in (x, y, z)-axes [N]

property F_gas

Gas pressure multiplied by the bead’s surface area [N]

property mean_free_path

The mean free path for a gas collision into the bead [m]

property collision_rate

Rate of gas collisions into the bead [Hz]

property collision_time

Average time between gas collisions into the bead [s]

property U_depth

Energy depth of the potential well [J]

property v_escape

Velocity the bead needs to escape the potential [m/s]

property p_escape

Momentum the bead needs to escape the potential [kg·m/s]

property max_Ftwx

Maximum force due to the tweezer potential (its steepest slope) in the x-axis [N]

property max_Ftwy

Maximum force due to the tweezer potential (its steepest slope) in the y-axis [N]

property max_Ftwz

Maximum force due to the tweezer potential (its steepest slope) in the z-axis [N]

property α_eff

Effective polarisability of the bead that accounts for the radiation reaction force [complex Fm²]

property photon_recoil_heating_rates

Γ_rec,x, …} [2π·Hz, phonons per second: d〈n_j〉/dt = Γ_rec,j]

Γ_rec,j = π/(15ħε0) · (α·E0/2π)² · k⁵ · c_j · x_zpf,j²,   (c_x, c_y, c_z) = (2, 1, 7)

i.e. (c_j/5)·R·k²·x_zpf,j² for a rate R = P_scat/ħω of scattered tweezer photons: c_j = 1 along the polarisation (levisim’s tweezer y axis), 2 perpendicular to it in the focal plane (x), and 7 along the beam (z), 2 from the dipole emission pattern plus 5 from the momentum of the absorbed tweezer photons. This is Eq. (4) of Piotrowski et al., Nat. Phys. 19, 1009 (2023), whose polarisation is along their x. Eq. (B33) of Gonzalez-Ballestero et al., Phys. Rev. A 100, 013805 (2019) has π/30 because its Γ(r) is the rate of the dissipator -Γ(r)·[q, [q, ρ]], which heats at 2Γ(r) phonons per second. α is Re(α_eff), as in the trap stiffness, and x_zpf uses the trap frequencies Ωj (override_Ω_dict if given).

These are used by MultiTrap(photon_recoil=True) (the default with physical parameters); the photon_recoil flag of this class is separate and switches on the recoil force in Simulation.

Type:

Photon-recoil heating rates of the bead’s centre-of-mass motion, {‘x’

property σ_scattering

Scattering cross section for tweezer light hitting the bead [m²]

property z_eq

Equilibrium point between optical gradient and scattering forces, linearised in z/zR [m]

Balancing F_scattering (on axis, ∝ |E|² (k - 1/zR) at z = 0, the 1/zR being the Gouy-phase gradient) against the linearised gradient force -(Re α/2) E0² z / zR² gives z_eq = (Im α / Re α) k (zR² - zR/k). This agrees with Eq. (A4) of Toroš et al., arXiv:2012.15822, z0 = (εr-1)/(εr+2) (2k⁴zR²/3) R³, to leading order in the particle size (Im α ≈ k³|α|²/6πε0), apart from the factor (1 - 1/(k zR)), because Eq. (A2) uses the plane-wave scattering force without the Gouy phase. Since z_eq/zR is not tiny for 100 nm-scale beads (≈ 0.12 for the defaults), see z_eq_exact for the root of the full on-axis force.

property A

Scaling factor for the theoretical PSD fitting expression, without feedback cooling [m²(2π·Hz)²] = [m²/s²]

S(ω) = A Γ / ((Ω²-ω²)² + Γ²ω²)

Derived via

Sxx = |χ(ω)|² Sth
|χ(ω)|² = 1 / (m²((Ω²-ω²)² + Γ²ω²))
Sth = 2m kBT Γ

Hence

A = 2 kBT / m

Conventions: S is the two-sided displacement PSD per unit (linear) frequency [m²/Hz], written as a function of angular frequencies ω, Ω, Γ [2π·Hz]; Sth = fth² = 2 m kB T Γth is the two-sided force PSD, 〈F(t)F(t’)〉 = Sth δ(t - t’). Check: ∫ S df over all f = A Γ / (2 Γ Ω²) = kB T / (m Ω²), i.e. equipartition.

  • a one-sided PSD G = 2S has amplitude 2A

  • with feedback (Γ = Γth + Γfb) and the directed force, the amplitude is 2 kB T_eff / m, with T_eff given by self.T_eff (A itself uses the gas temperature)

  • for a fit done in Hz (f, Ω/2π, Γ/2π), as in SpectralDensityEstimate.fit_PSD, the amplitude is A / (2π)³, see A_Hz

property A_Hz

PSD fit amplitude A for a fit done in linear-frequency variables (f, Ω/2π, Γ/2π) [m²·Hz²]

S(f) = A_Hz (Γ/2π) / (((Ω/2π)² - f²)² + (Γ/2π)² f²)

The Lorentzian Γ/((Ω²-ω²)²+Γ²ω²) has dimensions of time³, so changing every frequency from 2π·Hz to Hz scales it by (2π)³ while the PSD value [m²/Hz] itself does not change:

A_Hz = A / (2π)³ (two-sided; double it for a one-sided PSD)
property A_rad

Scaling factor for the theoretical PSD fitting expression [m²(2π·Hz)²]

A_rad = A / 2π = kBT / π m
property T_eff

Dict of effective (motional) temperatures of the (x, y, z)-motions, from equipartition [K]

The total force PSD on axis j is Sth + Sdir,j = Sth (1 + β² cos²ψ) for x, (1 + β² sin²ψ) for y, (1) for z, and the total damping is Γj = Γth + Γfb,j, so

T_eff,j = T Γth (1 + Sdir,j / Sth) / Γj

which reduces to the cold-damping result T Γth / (Γth + Γfb,j) when β = 0.

property equipartition_factor

Conversion factor of position variance into temperature [kg.(2π·Hz)² / (J/K)] = [K.(2π/m)]

Equipartition theorem states

kinetic energy from oscillation = thermal energy
½mΩ²〈x²〉 = ½kB*T
Therefore expecting
T = (mΩ² / kB) * 〈x²〉
kinetic_energy(px, py, pz)[source]

Energy associated with the nanoparticle Hamiltonian

H_np = p² / 2m [J]

Utw(x, y, z)[source]

Energy of the tweezer-bead interaction Hamiltonian

H_tw = -α/2 * |Etw|² [J] i.e. energy of tweezer-bead dipole interaction

Ftwx(x, y, z)[source]

Gradient force due to the tweezer potential in the x-direction

Ftw,x = -dUtw/dx (derived manually) [N]

Ftwy(x, y, z)[source]

Gradient force due to the tweezer potential in the y-direction

Ftw,y = -dUtw/dy (derived manually) [N]

Ftwz(x, y, z)[source]

Gradient force due to the tweezer potential in the z-direction

Ftw,z = -dUtw/dz (derived manually) [N]

Ftw(x, y, z)[source]

Gradient force due to the tweezer potential, (Ftw,x, Ftw,y, Ftw,z) Identical expressions to Ftwx, Ftwy, Ftwz, but evaluating the potential Utw (and the beam profiles) only once - used in the Simulation loop, where it is ~3x cheaper than three calls. [N]

property σ_Rayleigh

Rayleigh scattering cross section of a small dielectric sphere (no radiation reaction)

σR = (8π/3) k⁴ (α/(4πε0))² = (8π/3) (π²V²/λ⁴) χ0², χ0 = 3(εr - 1)/(εr + 2) To leading order in the size it equals σ_scattering = k Im(α_eff)/ε0, which is what F_scattering uses. [m²]

F_scattering(x, y, z)[source]

Scattering (photon recoil, radiation pressure) force along the beam axis

F_scat,z = (Im α_eff / 2) |E(r)|² ∂z[kz - arctan(z/zR)]
         = σ_scattering I(r) / c × (1 - zR/(k(zR² + z²)))

with |E(r)|² = E_field_amplitude(x, y, z)², I = ε0 c |E|²/2 the local intensity, and the Gouy-phase gradient reducing the effective wavenumber near the focus. The tweezer light is taken to propagate along +z, so the force pushes the bead towards +z, consistent with z_eq > 0.

This is the dipole force’s dissipative part, in the same time-averaged convention as Utw/Ftwj (|E| is the complex amplitude, F_grad = (Re α/4)∇|E|²). It equals Marko Toroš’s F = (σR/σL)(2P/c)|u|² (σL = πw0², in the commented code it replaces) up to the Gouy factor and σR ≈ σ_scattering. Its transverse components (from the wavefront curvature, ∝ x/R(z)) and the associated recoil heating (momentum diffusion) are NOT included. [N]

F_photon_recoil(x, y, z)[source]

Photon recoil force used by Simulation: F_scattering if photon_recoil is enabled, else 0 [N]

property z_eq_exact

On-axis equilibrium point of the gradient + scattering forces, Ftw,z(0, 0, z) + F_scat(0, 0, z) = 0, found numerically in (0, zR) (no z/zR ≪ 1 assumption; compare z_eq) [m]

property Ωj_at_z_eq

Dict of harmonic frequencies about the shifted equilibrium (0, 0, z_eq_exact), from central differences of the total force: Ωj² = -∂Fj/∂j / m (including ∂F_scat/∂z for z). The default Ωj are evaluated at the focus; at z_eq_exact the beam is wider, so Ωx, Ωy are lower. [2π·Hz]