Skip to content

ATLAS-Q v0.6.1

Choose a tag to compare

@followthesapper followthesapper released this 27 Oct 22:11
· 27 commits to ATLAS-Q since this release

ATLAS-Q v0.6.1 - Critical PyPI Package Fixes

Bug Fix Release - Resolves import errors affecting PyPI users

What's Fixed

🐛 Critical Import Errors:

  • Fixed NameError: name 'Tuple' is not defined in mpo_ops.py
  • Fixed NameError: name 'np' is not defined in mpo_ops.py
  • Added missing typing and numpy imports to core modules

📦 Triton Kernels Now Included:

  • Moved triton_kernels/ into package structure (src/triton_kernels/)
  • PyPI users now get custom Triton GPU kernels (1.5-3× speedup)
  • Simplified import paths - no more complex sys.path manipulation
  • Graceful fallback to PyTorch if Triton not installed

🔧 Additional Fixes:

  • Fixed all Ruff I001 import sorting violations
  • Updated Docker images to v0.6.1
  • Corrected PEP 8 import ordering across all files

Who Should Upgrade

CRITICAL for PyPI users: If you installed via pip install atlas-quantum, this fixes breaking import errors. Upgrade immediately:

pip install --upgrade atlas-quantum

Docker users: Automatically resolved in new image builds

Verification

This now works without errors:

from atlas_q import get_mpo_ops, get_vqe_qaoa, get_adaptive_mps
mpo_modules = get_mpo_ops()
MPOBuilder = mpo_modules['MPOBuilder']

✅ No more NameError!

Full Changelog: See https://github.com/followthesapper/ATLAS-Q/blob/main/CHANGELOG.md