Quantum Encoding Atlas
The comprehensive library for quantum data encodings in machine learning
Documentation | Website | Tutorials | API Reference | PyPI
Overview
The Quantum Encoding Atlas is the definitive open-source resource for understanding, comparing, and selecting quantum data encodings for machine learning applications.
Features
- 📊 16 Encoding Methods — Comprehensive implementations of all major quantum data encodings
- 🔀 Multi-Framework Support — Works seamlessly with PennyLane, Qiskit, and Cirq
- 📈 Analysis Tools — Compute expressibility, entanglement capability, and trainability
- 🧪 Benchmarking Framework — Systematic comparison infrastructure
- 🧭 Decision Guide — Evidence-based encoding recommendations
- 📚 Extensive Documentation — Tutorials, API docs, and theoretical background
Installation
pip install encoding-atlas
With optional backends:
# With Qiskit support
pip install encoding-atlas[qiskit]
# With Cirq support
pip install encoding-atlas[cirq]
# With all backends
pip install encoding-atlas[all]
# Development installation
pip install encoding-atlas[dev]
Quick Start
from encoding_atlas import IQPEncoding, AngleEncoding
from encoding_atlas.analysis import compute_expressibility
import numpy as np
# Create encodings
iqp = IQPEncoding(n_features=4, reps=2)
angle = AngleEncoding(n_features=4, rotation='Y')
# Generate circuits (PennyLane by default)
X = np.random.randn(10, 4)
circuit = iqp.get_circuit(X[0])
# Analyze properties
print(f"IQP qubits: {iqp.n_qubits}")
print(f"IQP depth: {iqp.depth}")
print(f"IQP expressibility: {compute_expressibility(iqp, n_samples=500):.4f}")
# Get encoding recommendation
from encoding_atlas.guide import recommend_encoding
rec = recommend_encoding(
n_features=4,
n_samples=500,
task='classification',
hardware='simulator'
)
print(f"Recommended: {rec.encoding_name}")
print(f"Reason: {rec.explanation}")
Supported Encodings
| Category | Encodings |
|---|---|
| Amplitude-based | AmplitudeEncoding |
| Angle-based | AngleEncoding (RX/RY/RZ), HigherOrderAngleEncoding |
| Basis | BasisEncoding |
| Entangling | IQPEncoding, ZZFeatureMap, PauliFeatureMap |
| Advanced | DataReuploading, HardwareEfficientEncoding, QAOAEncoding, HamiltonianEncoding |
| Symmetry & Equivariant | SymmetryInspiredFeatureMap, SO2EquivariantFeatureMap, CyclicEquivariantFeatureMap, SwapEquivariantFeatureMap |
| Trainable | TrainableEncoding |
See the full encoding list for details.
Documentation
Citation
If you use this library in your research, please cite:
@software{Mishra2026encoding,
title={Quantum Encoding Atlas: A Comprehensive Library for Quantum Data Encodings},
author={Mishra, Ashutosh},
year={2026},
doi={10.5281/zenodo.18780936},
url={https://doi.org/10.5281/zenodo.18780936},
version={1.0.0}
}
Contributing
We welcome contributions! Please see our Contributing Guide for details.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for encoding-atlas 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| encoding_atlas-1.0.0.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| encoding_atlas-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.9 MB
Release files / encoding_atlas-1.0.0.tar.gz
| Download URL | encoding_atlas-1.0.0.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18a7ec704db5f03c1f9885d0956585a684d76e73fd4f9ab8e4bb213d390e4f2d
|
|
BLAKE2b-256 checksum How to use checksums |
3482fc5596b010d29138b312329a7644c4c07f237fe0cbce75e32dbd2dd2171c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 11, 2026.
Transparency logRelease files / encoding_atlas-1.0.0-py3-none-any.whl
| Download URL | encoding_atlas-1.0.0-py3-none-any.whl |
|---|---|
| Size | 399.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
edbd00c932793abbd261d612f52f4390ffc747f2f684227b38b0f51e4764a09b
|
|
BLAKE2b-256 checksum How to use checksums |
8d003698238cf9976e3bd741fde2db85ab8d886edf01d91339edb34de2cadb96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 11, 2026.
Transparency log