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.0.tar.gz (111.1 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.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: casimir_tools-0.1.0.tar.gz
  • Upload date:
  • Size: 111.1 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.0.tar.gz
Algorithm Hash digest
SHA256 825b44ad8fe3db1406363417f3f0c6c0c7ef6c4817b3cf2a2afb7fe76597b244
MD5 08da56131a55e8b82ab63be820ed95d0
BLAKE2b-256 4cb75054498ade1f78e531900c220f35cc22014613c0fb7255c708f16e26e913

See more details on using hashes here.

Provenance

The following attestation bundles were made for casimir_tools-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: casimir_tools-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a5133e90aeee138a64c7e43952b8c6683516d0f6cbd8e418350a919e16ec89d
MD5 43dff06bcedff48af4e3becb0b973454
BLAKE2b-256 6dfcaa9e19fd8d746cf5d6c2615a384b624b7a731ecb5ac4c1e1310323f872cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for casimir_tools-0.1.0-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