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

anti_heh_data = MolecularData(
        atoms=[
            ('He', np.array([0.0, 0.0, 0.0])),
            ('H', np.array([0.0, 0.0, 1.46]))  # ~1.46 Bohr ≈ 0.77 Å bond distance
        ],
        n_electrons=0,       # No electrons in antimatter system
        n_positrons=2,       # 2 positrons (equivalent to 2 electrons in normal HeH+)
        charge=0,            # Overall neutral (2 positrons balance -2 from anti-He, anti-H)
        name="Anti-HeH+",
        description="Anti-helium hydride ion (anti-HeH+) with exotic antimatter composition"
    )

print(f"Molecule: {anti_heh_data.name}")
print(f"Description: {anti_heh_data.description}")
print(f"Formula: {anti_heh_data.get_formula()}")
print(f"Number of positrons: {anti_heh_data.n_positrons}")
print(f"Nuclear repulsion energy: {anti_heh_data.get_nuclear_repulsion_energy():.8f} Hartree")

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.1.tar.gz (121.7 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.1-py3-none-any.whl (118.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for antinature-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c8f43903fb3a6989261a0216ebb73dbbd5969c1703ecea64eecf8781857117ce
MD5 5ce5bdbfc29da7ca6cccb603399e6636
BLAKE2b-256 b90024b1fbc00496f107fc2491d6af87b0dc2b41fff15a6e034fe10088b5a4f0

See more details on using hashes here.

Provenance

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

Publisher: workflow.yml on mk0dz/antinature

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

File details

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

File metadata

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

File hashes

Hashes for antinature-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b39b3f4c04a0168ff04bb6f4c437516badaf098a27f8d4b696d0daffe2ce0fa8
MD5 4076cd22d88eae65a3ccf3b71885e79b
BLAKE2b-256 4ade82eb91ed5f73b85710469ded7dbb62fcdf434dab82664f540697c384ad2c

See more details on using hashes here.

Provenance

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

Publisher: workflow.yml on mk0dz/antinature

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