Skip to main content

Quantum chemistry package for antimatter simulations

Project description

Antimatter Quantum Chemistry (antinature)

Python Version License

A high-performance quantum chemistry framework designed specifically for simulating antimatter systems, including positronium, anti-hydrogen, and other exotic matter-antinature configurations.

Features

  • Specialized antinature Physics: Dedicated algorithms for positrons and positron-electron interactions
  • Relativistic Corrections: Implementation of relativistic effects critical for accurate antinature modeling
  • Annihilation Processes: Modeling of electron-positron annihilation dynamics
  • Quantum Computing Integration: Built-in Qiskit integration for quantum simulations of antinature systems
  • Validation Tools: Framework for verifying results against known theoretical benchmarks

Installation

Basic Installation

pip install antinature

Installation with Quantum Computing Support

pip install antinature[qiskit]

Development Installation

For development purposes with testing tools:

# Clone the repository
git clone https://github.com/mk0dz/antinature.git
cd antinature

# Install in development mode with all dependencies
pip install -e .[all]

# Run tests
pytest

Dependencies

The package has the following optional dependency groups:

  • qiskit: Required for quantum computing features (Qiskit, Qiskit-Nature, Qiskit-Aer)
  • dev: Development tools (pytest, black, isort)
  • all: Installs all optional dependencies

If you encounter any test failures related to missing dependencies, please ensure you've installed the appropriate dependency group:

# For quantum computing features
pip install -e .[qiskit]

# For development tools
pip install -e .[dev]

# For all dependencies
pip install -e .[all]

Quick Start

import numpy as np
from antinature.core.molecular_data import MolecularData
from antinature.utils import create_antinature_calculation

# Create a positronium system (electron-positron bound state)
positronium = MolecularData.positronium()

# Configure and run the calculation
result = create_antinature_calculation(
    positronium,
    basis_options={'quality': 'positronium'},
    calculation_options={
        'include_annihilation': True,
        'include_relativistic': True
    }
)

# Print key results
print(f"Ground state energy: {result['energy']:.6f} Hartree")
print(f"Annihilation rate: {result['annihilation_rate']:.6e} s^-1")
print(f"Lifetime: {result['lifetime_ns']:.4f} ns")

Examples

The package includes several example scripts for common antinature research scenarios:

  • examples/positronium_example.py: Basic positronium energy calculation
  • examples/complex_molecule.py: Multi-particle antimatter system simulations
  • examples/anti_heh.py: Anti-hydrogen-helium molecule calculations
  • examples/lih_ion.py: Lithium hydride ion with positron calculations

Citing This Work

If you use this package in your research, please cite:

@software{antinature,
  author = {Mukul},
  title = {Antimatter Quantum Chemistry},
  url = {https://github.com/mk0dz/antinature},
  version = {0.1.0},
  year = {2025},
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

See CONTRIBUTING.md for detailed guidelines on how to set up a development environment and contribute to this project.

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

antinature-0.1.0.tar.gz (129.9 kB view details)

Uploaded Source

Built Distribution

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

antinature-0.1.0-py3-none-any.whl (118.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: antinature-0.1.0.tar.gz
  • Upload date:
  • Size: 129.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for antinature-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9203c52225c61453f6d8d34216617b763fc3a8285d503b79abbe938ac07c7261
MD5 8029f793de2db9927b7ea90b1e16d7c4
BLAKE2b-256 4cfabc5a976ef3f92fcc49af5be41a53c05786d77032833045d4b83840b6e445

See more details on using hashes here.

File details

Details for the file antinature-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: antinature-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 118.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for antinature-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 374977b824db877478ab5ffe1900ec639252245e2d0c2f3592260f2fbe7f3aca
MD5 7ec557513aff04b62b4539fe893b7fdb
BLAKE2b-256 960bc91ea643f598b78b2d258138632823000a2b682888fdc0bf91094d1b199b

See more details on using hashes here.

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