Skip to main content

Open-source toolkit for Lifshitz-Casimir force engineering in anisotropic and chiral dielectric heterostructures

Project description

casimir-tools

Open-source Python toolkit for Lifshitz-Casimir force engineering in anisotropic and chiral dielectric heterostructures.

Developed as part of the AI-driven Casimir Stiction Suppression project (KEC 2026, SERB CRG).

Installation

pip install casimir-tools

Quick Start

from casimir_tools import casimir_energy, casimir_energy_chiral, MATERIALS

# Standard Lifshitz energy: Te | vacuum | WTe2 at 10 nm
te   = MATERIALS["Te"]
wte2 = MATERIALS["WTe2_hex"]

E = casimir_energy(te["eps_static"], wte2["eps_static"], d=10e-9)
print(f"E = {E*1e3:.4f} mJ/m²")   # ~ -0.20 mJ/m²

# With chiral correction κ = 0.7 → near-zero Casimir
E_chiral = casimir_energy_chiral(te["eps_static"], wte2["eps_static"],
                                  d=10e-9, kappa=0.7)
print(f"E_chiral = {E_chiral*1e3:.4f} mJ/m²")

# Finite temperature (T = 300 K, Matsubara summation)
from casimir_tools import casimir_energy_finite_T
E_300K = casimir_energy_finite_T(te["eps_static"], wte2["eps_static"],
                                  d=10e-9, T=300.0)

# Anisotropic uniaxial Lifshitz (Te crystal tensor)
from casimir_tools import casimir_energy_aniso
E_aniso = casimir_energy_aniso(te["eps_perp"], te["eps_par"],
                                wte2["eps_perp"], wte2["eps_par"],
                                d=10e-9)

# 2-oscillator Sellmeier model
from casimir_tools import casimir_energy_2osc, TE_2OSC, WTE2_2OSC
E_2osc = casimir_energy_2osc(**TE_2OSC, **{f"{k}_2": v for k, v in WTE2_2OSC.items()},
                               d=10e-9)

Physics

The library implements the Lifshitz (1956) formula for Casimir energy between two planar dielectric half-spaces:

E(d) = (ħ/2π²c²) ∫₀^∞ ξ² dξ ∫₁^∞ p dp
         × Σ_pol ln(1 − r₁^pol r₂^pol e^{−2pξd/c})

Extensions:

  • Chiral correction (Zhao et al. 2009): E = E_Lifshitz + κ² × δE
  • Uniaxial anisotropy (Bimonte et al. 2009): separate ε_⊥, ε_∥ Fresnel coefficients
  • Finite temperature (Lifshitz/Pitaevskii): Matsubara sum at arbitrary T
  • 2-oscillator Sellmeier: resolves IR phonon + UV electronic contributions

Citation

@software{sevesh2026casimir,
  author  = {Sevesh SS},
  title   = {casimir-tools: Lifshitz-Casimir Force Engineering Toolkit},
  year    = {2026},
  url     = {https://github.com/seveshss/casimir-tools},
  version = {0.1.0},
}

License

MIT © Sevesh SS, KEC 2026

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

casimir_tools-0.1.1.tar.gz (110.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

casimir_tools-0.1.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file casimir_tools-0.1.1.tar.gz.

File metadata

  • Download URL: casimir_tools-0.1.1.tar.gz
  • Upload date:
  • Size: 110.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for casimir_tools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 91f23d6a43d31764b36c443725d954b6c976be2e40bd119bfab6cda4de022a20
MD5 6a62393be42dd211da982f6a37c340e1
BLAKE2b-256 565c9a70dde2e9496f2e8f98a60aea08ddc796a0c9462491ac03677220bf8b0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for casimir_tools-0.1.1.tar.gz:

Publisher: publish_casimir_tools.yml on ss-sevesh/spaceship_bubble

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file casimir_tools-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: casimir_tools-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for casimir_tools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aeadd9ad5e66fa7260f2f35df2668caf36668aefdf71bdb940b7dd174fe35c1e
MD5 e484b800028193ee315927650802331a
BLAKE2b-256 4e3bd7806fe9d637e3ed97f10003945623fe98f5aed8c01698efa4be571d7a90

See more details on using hashes here.

Provenance

The following attestation bundles were made for casimir_tools-0.1.1-py3-none-any.whl:

Publisher: publish_casimir_tools.yml on ss-sevesh/spaceship_bubble

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page