Antimatter Quantum Chemistry (antinature)
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.
Metadata
Release files for antinature 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| antinature-0.1.2.tar.gz | 141.4 kB | With provenance | Details for antinature-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| antinature-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for antinature-0.1.2-py3-none-any.whl |
Total release size: 263.3 kB
Release files / antinature-0.1.2.tar.gz
| Download URL | antinature-0.1.2.tar.gz |
|---|---|
| Size | 141.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c3f4463727c7bc9b588d00288d22c93e8070f05e75f8afe914263d4a39844cf
|
|
BLAKE2b-256 checksum How to use checksums |
848795d728c6f25b45bafe202299c5cdf5f1a2fc910e67c89902269c291fd282
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 11, 2025.
Transparency logRelease files / antinature-0.1.2-py3-none-any.whl
| Download URL | antinature-0.1.2-py3-none-any.whl |
|---|---|
| Size | 121.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2f7e1235fbeac691eb20426ca0e7f657d22326d2496c1f7ccfaa569fa3c2273
|
|
BLAKE2b-256 checksum How to use checksums |
8124b0dd7c4719a4f125716545f0dceef559a32a31db238d8c18a2599e836a88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 11, 2025.
Transparency logSecurity for antinature 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for antinature-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 11, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.